+ Start a Discussion
NuDevNuDev 

Remoting - auto-timeout after 30 seconds?

Hi peoples, after a good deal of research it appears that a call in to an Apex method will be aborted after 30 seconds.   I'm not seeing any mention of this within the Salesforce documentation.   Has anyone else seen this behavior and, if so, did you find any way around it? 

cloudmaniacloudmania

What kind of method is this Apex Method?

Simple dml operation,page reference or a web service method?

NuDevNuDev

It's a 'RemoteAction' method ;)

 

The javascript executes the RemoteAction method, which compiles data and then calls a second method within the class which performs a callout to an external web service.  The callout response is then processed and ultimately displayed on the VF page.

cwall_sfdccwall_sfdc

There isn't a way around it.  If you think a greater timeout value makes more sense (I think Apex callouts max out at 120 secs and standard Visualforce pages around the same), please submit an idea to the Ideas Exchange and/or raise the issue with your support rep.

EJWEJW

I've created an idea for custom timeouts for javascript remoting calls.  Please vote for it here: https://sites.secure.force.com/success/ideaView?id=08730000000gLukAAE