+ Start a Discussion
aj2taylo2aj2taylo2 

Visualforce Remoting Exception: Unable to connect to the server (transaction aborted: timeout).

I have HTML5 page that pulling data for multiple accounts in concurrent batches. 

 

I'm getting the following error in my Javascript console:

 

Visualforce Remoting Exception: Unable to connect to the server (transaction aborted: timeout).

 

Would this be from Salesforce refusing the request due to too many requests?  Is there a limit to multiple concurrent Remoting requests?

 

 

bob_buzzardbob_buzzard

All you can really tell from this is that the server didn't respond within the alloted time.  It does happen and could be for a variety of reasons.

 

Is it possible that the server can't respond in 30 seconds (the default)?  You can increase the timeout up to 120 seconds as detailed in the following blog post (not mine!):

 

http://developer.force.com/releases/release/Summer13/Configurable+Timeout+for+JavaScript+Remote+Requests

aj2taylo2aj2taylo2

Thanks, will give that a try and see if it helps.

Rocks_SFDCRocks_SFDC

Hi,

 

please let me know if this helps out.

 

Thanks,

Anil