function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Moran AssaMoran Assa 

Apex callout not getting return value.

Hello,
We a using apex callouts to apply changes to our remote site from salesforce.

This works great most of the time...

sometimes, about 1 out of 10 calls our apex code doesn't get a response and we receive a:

Read timed out error.

When I check our server I see that the process triggered by the apex callout finished successfully  (All of the changes happened), and should have returned a response.

What can be the cause of this issue?

Any help with this issue will be much appreciated.

 

Anil  SavaliyaAnil Savaliya
Hey Moran,

Seem to be issue with time out after call out happen through APEX class.

Hope below document helpfull to reslove your problem.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_timeouts.htm