cancel
Showing results for 
Search instead for 
Did you mean: 

SFDC Communication error

Former Member
0 Kudos

Hi,

we are facing the following error intermittently while connecting to SalesForce.com.

'<There was a communication error when talking to Salesforce.com: Connection timed out: connect>' and

'<Cannot start session.

com.acta.adapter.salesforce.exceptions.UnexpectedErrorException: There was an unexpected error. Salesforce.com message is Too many requests waiting for connections...>'

the job runs fine when we re-run it after some time.

Kindly help if anyone knows what actually is causing this error and how could we solve this issue.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

this error is coming from SFDC, you are running out of connections on the SFDC side, looks like too many users from your Organization are logging to SFDC using same id

Former Member
0 Kudos

Hi Manoj,

Can we increase the no of connections? How to check the allowed no of connections? Will increasing AdapterTimeout in DSConfig help here.

Thanks in advance.

Former Member
0 Kudos

Increase the timeout in DSConfig.txt file.

I think AdapterTimeout or some thing like that, search in this forum you will get it.

Also did you check the logs what it says.

Former Member
0 Kudos

Hi Arun,

Below is the log :

There was an unexpected error. Salesforce.com message is Too many requests waiting for connections

Cannot start session. com.acta.adapter.salesforce.exceptions.UnexpectedErrorException: There was an unexpected error. Salesforce.com message is Too many requests waiting for connections

        at com.acta.adapter.salesforce.SForceSession.loginHelper(SForceSession.java:156)

        at com.acta.adapter.salesforce.SForceSession.login(SForceSession.java:95)

        at com.acta.adapter.salesforce.SForceSession.start(SForceSession.java:184)

        at com.acta.adapter.sdk.AdapterRunnerImpl.processStartSession(AdapterRunnerImpl.java:1649)

        at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:84)

        at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:448)

        at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)

        at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1600)

        at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)