0

We have a batchable Apex job (process) where we call an external web service for some Accounts. It starts and service is called. Then, for some records it we get the error : Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable". Then after some time it gets ok. Any ideas what could be the issue or how to troubleshoot?

2

This error happens if your firewall doesn’t allow access to your server where the web service is hosted. Making the firewall changes should fix this issue.

In general, when you see an issue, follow this checklist to troubleshoot the issue: Make sure you have the firewall settings in your enterprise is configured to allow the inbound web service call. Check whether the certificate is expired or not. Check if your chain of trust has valid certificates.

Also, refer to this link: https://help.salesforce.com/articleView?id=000321501&type=1&mode=1 (https://help.salesforce.com/articleView?id=000321501&type=1&mode=1)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.