cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

Failed to connect to any resolved proxy endpoint, error code: 56

Open glukacsy opened this issue 10 years ago • 4 comments

Hi,

Seems to be getting this (http_client_asio.cpp) when re-using the same http_client object across multiple requests and trying to understand what am I doing wrong. Any insight into when this error is thrown? I verified that the web_proxy object is correctly set on the (shared) http_client object.

Regards, Gergely

glukacsy avatar Apr 09 '16 17:04 glukacsy

Hey, I am facing the same issue on mac os. On windows platforms the same client code works without any problems. Have you found the solution for this?

Thanks, Tomas

tzemaitis avatar Jun 01 '16 10:06 tzemaitis

We are also experiencing the exact same issue when re-using a http_client on other platforms than Windows using a proxy in-between.

Any help with insight would be greatly appreciated.

leetal avatar Aug 14 '17 11:08 leetal

Just curious if anyone has found a workaround for this? This is an intermittent issue I run into when I'm trying to connect to a test instance on our local network. In my case, I'm using an iPhone on the local network to reach the server. It will work for a few minutes. Then will stop working for a few minutes.

Interestingly I can go into mobile Safari and type in an endpoint and it will hit the server and then after that, the app will be able to hit the server again.

Although I my case, a proxy is not in use.

mobileben avatar Dec 04 '18 03:12 mobileben

I have found that this seems time dependent. I was debugging a service endpoint and was using a 10 second period between calls. This caused that. If I increased the duration to 30, it went away...

Strange.

mobileben avatar Dec 11 '18 08:12 mobileben