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

Samebug tips

  1. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Oracle Community by 843797, 1 year ago
Server returned HTTP response code: 401 for URL: https://ww3.mydomain.com/
via Oracle Community by 807594, 1 year ago
Server returned HTTP response code: 401 for URL: https://ww3.mydomain.com/
via Oracle Community by 843805, 1 year ago
Server returned HTTP response code: 403 for URL: http://www.google.com/
via Oracle Community by 807597, 1 year ago
Server returned HTTP response code: 403 for URL: http://www.google.com/
via Oracle Community by 843810, 1 year ago
Server returned HTTP response code: 403 for URL: http://www.google.com/
via Oracle Community by 807603, 3 months ago
Server returned HTTP response code: 500 for URL:
java.io.IOException: Server returned HTTP response code: 401 for URL: https://ww3.mydomain.com/	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)	at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:304)	at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getResponseMessage(DashoA6275)	at SASa.doHTTPTransaction(SASa.java:443)	at SASa.main(SASa.java:79)