How to resolve Salesforce too many requests waiting for connections

How to resolve Salesforce too many requests waiting for connections

Why am I getting a SERVER_UNAVAILABLE error message when sending a request to Salesforce?

Many salesforce customers are complaining about this error , so if you have this error  :

com.salesforce.soap.partner.UnexpectedErrorFault: SERVER_UNAVAILABLE: Too many requests waiting for connections

or an error similar to

Exception in component tSalesforceConnection_1
com.salesforce.soap.partner.UnexpectedErrorFault: SERVER_UNAVAILABLE: Too many requests waiting for connections

This error comes when you have many jobs connected to a Salesforce instance or many request via Force.com / Dataloader etc and the reason is that the server ( on the cloud ) doesn’t have enough resources to accept new connections.

It started appearing from the release 13 , and salesforce hasn’t fixed it yet but they are aware about it.

Description of the error in SF : https://help.salesforce.com/apex/HTViewSolution?id=000205947&language=en_US

 

 

Solution  :

At the same time, customers are suggested to investigate how to implement retry logic that can handle these errors should they occur as to minimize any potential impact. The retry logic should use the binary exponential backoff algorithm, e.g. retry after 1 second; if it fails, retry after 2 seconds; if it fails, retry after 4 seconds, etc.

Implement the retry process

 

See retry process implementation example below

SalesforceRetryLogic

 

for more info contact@talendexpert.com or download a free template from our library

1 Hour Virtual Assistance Services by a Talend Expert

 

 

 

 

Post Tagged with ,

Leave a Reply