Skip to main content
Hi,

I have a couple of jobs using REST API and every couple of days I get:

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')).

According to library documentation this indicated that Salesforce closed the connection without giving a (complete) response. This baffles me because this does not contain an error message (such as going over any of the limits).

So far I have not been able to reproduce this error with a set of deliberate steps, it just happens once in a while and I see it in my application logs. I get it mostly with various SOQL queries but I've also seen a bulk update failing so it's not related to a single query. Most of the time it fail when running from Google Cloud but I've also seen it failing running on my laptop (which would indicate it's not a proxy issue).

I use "simple-salesforce" python library and this error comes from an underlying "requests" module.

I apologise for the vagueness of my description but this is how much sense I've been able to make out of this so far.

Today I set up a finer Debug Log for Platform Integration and I'll see if it comes up with anything valuable.
1 件の回答
  1. 2022年6月20日 13:59
    The question is: has anybody experienced this error? Or, do you have any suggestions how to pinpoint the specific reason for it?
0/9000