Over the past week, I've been getting intermittent "Connection reset by peer" errors while querying contacts.
2004-04-13 15:42:46,002 INFO CaIntegration.CaIntegration doIntegration (CaIntegration.java:777) - Found a total of 12017 records in contact
2004-04-13 15:42:55,241 INFO CaIntegration.CaIntegration manageInsertOrUpdate (CaIntegration.java:621) - About to query sforce for more info about records#0 to 199(200)
2004-04-13 15:43:32,639 INFO CaIntegration.CaIntegration manageInsertOrUpdate (CaIntegration.java:633) - Adding data to the DB
2004-04-13 15:44:13,486 INFO CaIntegration.CaIntegration manageInsertOrUpdate (CaIntegration.java:621) - About to query sforce for more info about records#600 to 799(200)
2004-04-13 15:44:13,862 ERROR CaIntegration.CaIntegration doIntegration (CaIntegration.java:820) - Failed to transfer data for entity contact because of error:
com.salesforce.common.exceptions.IntegrationException: Failed to query sforce records: com.salesforce.common.exceptions.SforceException: Cannot retrieve data from contact because java.net.SocketException: Connection reset by peer: Connection reset by peer
Attempting to recover...
2004-04-13 15:44:13,968 INFO CaIntegration.CaIntegration cleanup (CaIntegration.java:137) - Connection to sforce closed
The line which throws this exception is:
sobjects = binding.retrieve(fieldList, entityName, idList);
Similiar queries to account doesn't result in any issues. I'm using Java 1.3 (for deployment compliance reasons) with SOAP API 2.5.
Has anyone else seen this?