File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes java.io.IOException: Unable to tunnel through proxy. Proxy returns HTTP/1.1 407 Proxy Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java.io.IOException: Unable to tunnel through proxy. Proxy returns HTTP/1.1 407 Proxy Authentication" Watch "java.io.IOException: Unable to tunnel through proxy. Proxy returns HTTP/1.1 407 Proxy Authentication" New topic
Author

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

Ganesh Kannusamy
Ranch Hand

Joined: Sep 15, 2005
Posts: 35
We upgraded to JDK 5u22 OR JDK 1.5.0_34 JRE and we started getting the below error,

Proxy returns "HTTP/1.1 407 Proxy Authentication Required">
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1528)

Do I need to set any explicit settings for proxy to fix this, since the same was working fine in JDK 1.5_06, Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: Unable to tunnel through proxy. Proxy returns HTTP/1.1 407 Proxy Authentication