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

Recently I faced with this error.

Those links provide information how this possibly could be fixed:

https://developer.salesforce.com/releases/release/related/Configurable+Timeout+for+JavaScript+Remote+Requests

http://www.greytrix.com/blogs/salesforce/2014/01/14/transaction-aborted-timeout-error-in-salesforce/

So, solution is: increase timeout to 120 seconds.

One way:

{buffer: true, escape: true, timeout: 120000}

Another way:

<script type=”text/javascript”>

Visualforce.remoting.timeout = 120000; // Set timeout at page level

</script>

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Salesforce solution to: Visualforce Remoting Exception: Unable to connect to the server (transaction aborted: timeout).

  1. Hitesh says:

    Hi there,
    I have a query regarding his. How will you update it when migrating to lightning.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s