Read ECONNRESET error during source retrieval.
Question
I'm attempting to fetch around 800k records for an sObject, but I encounter an error, and the command remains in progress without completing any actions. What could be the issue?
Answer
The ECONNRESET
error typically indicates one of three issues:
- Your internet connection was suddenly interrupted.
- The remote server has stopped responding, possibly due to maintenance in the Salesforce environment.
- The remote call timed out due to the large data size or a slow internet connection. The request timeout for queries is set to 4 minutes, which can lead to various timeout issues under these conditions.
To mitigate this, consider reducing the number of records fetched by incorporating a WHERE
clause in your query.