Exception in thread "main" java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(java.base@9-ea/HttpURLConnection.java:2077)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:183)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(java.base@9-ea/HttpURLConnection.java:1280)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(java.base@9-ea/HttpURLConnection.java:1255)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(java.base@9-ea/HttpsURLConnectionImpl.java:231)
at PostThruProxyWithAuth.doClientSide(PostThruProxyWithAuth.java:172)
at PostThruProxyWithAuth.main(PostThruProxyWithAuth.java:113)
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(java.base@9-ea/HttpURLConnection.java:2077)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:183)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(java.base@9-ea/HttpURLConnection.java:1280)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(java.base@9-ea/HttpURLConnection.java:1255)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(java.base@9-ea/HttpsURLConnectionImpl.java:231)
at PostThruProxyWithAuth.doClientSide(PostThruProxyWithAuth.java:172)
at PostThruProxyWithAuth.main(PostThruProxyWithAuth.java:113)
- duplicates
-
JDK-8224204 Replace wildcard address with loopback or local host in tests - part 10
- Resolved