Skip to content

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

Description

@PhamHuyThien

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions