Read ECONNRESET error during "Retrieving the source data"

Question.

The sObject I'm fetching has around 800k records and when this error occurs the command stays in progress, but doesn't do anything.

What's wrong?

Answer.

ECONNRESET typically can say 3 things:

  1. Internet connection suddenly interrupted.

  2. Remote server stopped to respond (Salesforce environment maitenance is in progress).

  3. Remote call timeout issue due large data and/or slow internet connection.
    The request timeout for the query is set to 4 min. For very large data and slow internet connection you may face variety of timeout issues.

    Try to reduce the amout of fetched records by using WHERE clause.

Last updated on Tu May 2022