IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

  • 1.  Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Thu December 15, 2016 12:22 AM

    I call some Web Service thru https without attachments in SoapUI, the web service response successfully. However, once adding attachment, not matter would be used or not in the request body, an error “ERROR:java.net.SocketException: Connection reset by peer: socket write error” will occur. May I know what is wrong with it? And how to resolve it?



    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Thu December 15, 2016 04:04 AM

    Is it related to some IS webservice setting?


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Wed December 21, 2016 04:03 AM

    Any one could help on it?


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Mon December 26, 2016 06:31 AM

    Hi Aaron,

    Not sure why you are getting Socket error.
    Tested the same and its working. Try updating the setting from the attachment, hope it may help you.


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Mon December 26, 2016 06:37 AM

    Can you check if any timeout is specified from SOAP UI which is closing the connection.


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Mon December 26, 2016 07:03 AM

    Hi,

    Adding to Rakesh advice.
    Not sure how big the file size is, the one i tried was a basic txt file, try running the same.


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Wed January 04, 2017 04:25 AM

    @Khan
    The same issue occurs even with the mini size file.


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Wed January 04, 2017 05:51 AM

    Hi Aaron,

    Have you implemented attachment accepting in the webservice that you have expose?
    also please cross verify if you have enabled the attachment enabled property to true?

    I know this should not be impacting the behavior but at least try to check if you have implemented the first thing.

    Regards,
    Syed Faraz Ahmed


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Wm HTTPS "ERROR:java.net.SocketException: Connection reset by peer: socket write error"

    Posted Wed January 04, 2017 04:38 PM

    Error like: “Connection reset by peer: socket write error” can be caused by the server rejecting client’s authentication info.
    Check if you have the right username/password or cert configured (both the client side and server side)


    #webMethods
    #Integration-Server-and-ESB