Collapse Submit a Service Request Contact Information for Technical SupportMy Service Notifications Support Suggestion Box
Connection reset by peer
Answer ID 10210 | Last Review Date 03/18/2019
Why do we get the error "Connection reset by peer" during a web service call?
Oracle B2C Service (OSvC) Public APIs
Connect Web Services for SOAP (CWS), Connect REST API, Knowledge Foundation API
The error message "Connection reset by peer" appears, if the web services client was waiting for a SOAP response from the remote web services provider and the connection was closed prematurely.
One of the most common causes for this error is a firewall in the middle closing the connection. In this case you could increase the connection timeout in the firewall. You can find the component that closes the connection by capturing and analyzing an IP trace. Other possible causes are e.g.:
• resource limitations on the server side like out of memory server
• process killed
• overload on the server due to a high amount of traffic
To determine if a problem is caused by these other possible causes the site error logs should be evaluated on the interface associated with the errors. For information on how and where to access these logs see
System integrations are required to follow API best practices in order to avoid overloading the B2C Service site/instance. For information on best practices that are specific to Connect Web Services for SOAP (CWS), but generally apply to all public APIs, see
If errors indicating database connection issues etc. are not found for the time frame identified this is a fair indication that the issue should first be looked at as likely a client-side network problem. For information on how to diagnose client-side network problems see