function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anas AlamourAnas Alamour 

Connection errors

Hi All, 

We migrated our salesforce instance to new instacne on HyperForce in the last month , we have integration with FormTitan platform. with starting our working on the new instance , we sometimes ( not all the times ) getting intergation errors as follwoing : 

  1. connect ETIMEDOUT
  2.  connect ECONNREFUSED
  3. read ECONNRESET
  4. Contact Error: socket hang up
  5. ERROR_HTTP_503: upstream connect error or disconnect/reset before headers. reset reason: connection termination: upstream connect error or disconnect/reset before headers. reset reason: connection termination.
We opened case with FormTitan support.They reviewd these errors and confirmed that these are all coming from salesforce side  - trying to connect to SF and not getting response. We opened case with salesforce support , but we did not get any result.

Any advise pelase? 

Thanks. 
Best Answer chosen by Anas Alamour
PriyaPriya (Salesforce Developers) 

Hey Anas,

This is a Temporary issue when the Salesforce API is timed out. ETIMEDOUT comes from the Node.js engine and the error implies

"ETIMEDOUT (Operation timed out): A connect or send request failed because the connected party did not properly respond after a period of time. Usually encountered by HTTP or net. Often a sign that a socket.end() was not properly called".

Since this is a network issue there is not a lot you can do and wait for the network to be up. If you are not able to resolve it, then make sure your network connections are fine.

To know about error ECONNREFUSED , refer this 

https://community.progress.com/s/article/Connection-Error-ECONNREFUSED-Connection-refused-by-the-server#:~:text=The%20ECONNREFUSED%20Connection%20refused%20by,to%20connect%20to%20the%20port.

Kindly mark it as the best answer if the above information helps you.

Thank you,

Priya Ranjan

All Answers

PriyaPriya (Salesforce Developers) 

Hey Anas,

This is a Temporary issue when the Salesforce API is timed out. ETIMEDOUT comes from the Node.js engine and the error implies

"ETIMEDOUT (Operation timed out): A connect or send request failed because the connected party did not properly respond after a period of time. Usually encountered by HTTP or net. Often a sign that a socket.end() was not properly called".

Since this is a network issue there is not a lot you can do and wait for the network to be up. If you are not able to resolve it, then make sure your network connections are fine.

To know about error ECONNREFUSED , refer this 

https://community.progress.com/s/article/Connection-Error-ECONNREFUSED-Connection-refused-by-the-server#:~:text=The%20ECONNREFUSED%20Connection%20refused%20by,to%20connect%20to%20the%20port.

Kindly mark it as the best answer if the above information helps you.

Thank you,

Priya Ranjan

This was selected as the best answer
Assunta NewellAssunta Newell
Connection Errors. Connection errors can occur for a variety of reasons. For example, a failure in any of the internal connections described in How Connection Between the Application and DBMS Server Is Established results in a connection error. How connection errors are reported depends on where the failure occurs.  https://www.arise-portal.com/