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

APEX CallOut Error, System.CalloutException: IO Exception: Read timed out



When i make a call to an external web service from an apex class, i got the following error:


System.CalloutException: IO Exception: Read timed out 


The call works fine with the test environnement where the web service is exposed. However wiht their production environment, the error above is thrown. Is it a problem of mass data or security (proxy) ?


Could you help please ?


All the best,




Check to see if your web service on production has any security settings on it and make sure its available in browser when you enter your service url.




Rajasree JayarajRajasree Jayaraj

Hi Anzar,

Even I'm facing the same issue. It works well in Sandboxes, but tend to throw this erro in production-IO Exception: Read timed out

Where you able to figure out the issue? Would be great if you could share on how you resolved the same issue.

Thanks in advance.

Awaiting your response.