Skip to content
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

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required #165

Open
PhamHuyThien opened this issue Oct 22, 2020 · 0 comments

Comments

@PhamHuyThien
Copy link

PhamHuyThien commented Oct 22, 2020

Hello everyone
I get error 407 when I request to google or other https sites that use basic proxy
for example here:

HttpRequest httpRequest = HttpRequest.post ("https://google.com");
httpRequest.useProxy ("proxyhost", 8888);
httpRequest.proxyBasic ("username", "password");
httpRequest.send (param);
System.out.println (httpRequest.body ());

So how to fix?
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant