You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a proxy with a simple HTTP client, but I'm getting a ProxyConnectException that indicates that the proxy is attempting to connect to localhost rather than the actual target host.
The text was updated successfully, but these errors were encountered:
simonbasle
changed the title
Proxy attempts to connect to localhost:80 instead of set proxy address
Client attempts to connect to localhost:80 instead of set target host when using proxy
Jul 6, 2017
This commit fixes the HttpClientOptions to correctly derive relative
urls from the base url, even when a proxy is configured. It would
previously wrongly replace the hostname with `localhost`.
This commit fixes the HttpClientOptions to correctly derive relative
urls from the base url, even when a proxy is configured. It would
previously wrongly replace the hostname with `localhost`.
This commit fixes the HttpClientOptions to correctly derive relative
urls from the base url, even when a proxy is configured. It would
previously wrongly replace the hostname with `localhost`.
I'm trying to use a proxy with a simple HTTP client, but I'm getting a ProxyConnectException that indicates that the proxy is attempting to connect to localhost rather than the actual target host.
The code:
The exception:
The text was updated successfully, but these errors were encountered: