+ Start a Discussion
IP Admin UserIP Admin User 

WebService First error: IO Exception: Connection reset

Hello,
We have a SOAP webservice that sometimes returns this error:
System.CalloutException: IO Exception: Connection reset
Is it happen to someone? It does not return more info.
Greetings
Khan AnasKhan Anas (Salesforce Developers) 
Hi, 

Greetings to you!

The platform will do this sometimes due to load or other hiccups. You can check a few things:
To check the server side performance of the SOQL query:
  • Open the developer console
  • Debug > Open Execute Anonymous Window
  • Enter your SOQL query along the lines of List accounts = [Select Id from Account];
  • Execute the Apex and select to open the log.
  • Then open the corresponding debug log. This should include the SOQL execution events. You can read the timing from there, or switch to the timeline view to see the duration.

Reference: https://salesforce.stackexchange.com/questions/107673/connection-reset-exception-using-soap-integration

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas