Bot failing with error randomly

Please find the error message at event viewer
Error Message: “System exception at initialization: The proxy tunnel request to proxy ‘http://****/’ failed with status code ‘500’.”

Hi @Subin

Could you please check below post and follow the docs for same?

The error “System exception at initialization: The proxy tunnel request to proxy ‘http://****/’ failed with status code ‘500’” from the Event Viewer indicates that a client attempted to connect through a proxy server, but the proxy itself encountered an internal server error (HTTP 500) while trying to establish the connection tunnel. This means the problem lies with the proxy server, not necessarily the client’s request. It suggests an issue on the proxy’s end preventing it from fulfilling the tunneling request.

Hi @Subin

Try switching to system default or bypass the proxy temporarily.

But from proxy end everything looks good. Also issue occurs randomly.

We already having UiPath Studio 2024.10.1 version.

Thanks for the update.

If the proxy configuration looks fine and the issue occurs randomly, it may point to one of the following causes:

  1. Intermittent Proxy Load or Timeout Issues

    • The proxy server might be experiencing temporary overload, resulting in occasional 500 errors. Check for spikes in traffic or resource usage during failure times.
  2. Network Instability

    • Fluctuations in the network connection between the client and the proxy could lead to failed tunnel requests. Try monitoring for packet loss or latency.
  3. Authentication or Session Expiry

    • If your proxy requires authentication, an expired or failed session/token could cause random 500 responses.
  4. Firewall or Security Software

    • Intermittent blocks or deep packet inspection might interfere with proxy tunneling. Review firewall or antivirus logs, if applicable.
  5. Client-Side Timeout/Delays

    • If the client takes too long to establish the tunnel, the proxy may return a 500 error. Increasing timeout settings slightly might help for testing.

To isolate the issue, try enabling detailed proxy logging (if supported), and cross-check timestamps with failure logs.

Let me know if you’d like help setting up a retry mechanism.

Stop copy pasting GPT replies please.
Forum guidelines do not forbid copying info from GPT, but you are requested to make it clear thats what you did. Try to add value, not just bump your post count.

Hi @Subin

Looks like you are on enterprise version, in that case, i would suggest creating a support ticket to UiPath regarding this issue.