-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout when I try to use PROXY #897
Comments
@alexvrv i use the final WebClient webClient = new WebClient(BrowserVersion.CHROME, "x.xx.xxx.xxx", 8080); approach from time to time to do some wire inspection using the Charles Web Proxy as local running proxy. Had no problems so far. Does your proxy requires authentication? |
No, it's without authentification. Just an IP and a PORT. JSOUP and HttpURLConnection works fine with just "System.setProperty("java.net.useSystemProxies", "true");". They take the Proxy settings from Windows. |
Wild guess - does the proxy support http or only http/2? |
Uff I really don't know xD but it works with every website (even old ones, government ones) so I guess it supports both. |
maybe you can try to capture a wire log (see https://hc.apache.org/httpcomponents-client-5.4.x/logging.html) Hopefully this might give a glue what is going on |
Hi, I'm trying to use a proxy server but I only get "org.apache.http.conn.ConnectTimeoutException". This is the code I'm using. I've tried 3 methods for setting the PROXY server xD
and this is the error
Am I missing something? ...
The text was updated successfully, but these errors were encountered: