Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Eric Retamero
, 1 year ago
via Stack Overflow by Enigma
, 2 years ago
Unexpected response code for CONNECT: 400
via Stack Overflow by Unknown author, 2 years ago
Unexpected response code for CONNECT: 400
via GitHub by Amab
, 2 years ago
java.io.IOException: Unexpected response code for CONNECT: 405	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeTunnel(HttpsURLConnectionImpl.java:517)	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:471)	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:433)	at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)	at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)	at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)	at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:205)	at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:281)