java.io.IOException

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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • OpenSSO identity/authenticate returns 401
    via by 322268,
  • HTTP response code 401 in Google GCM
    via Stack Overflow by chako
    ,
  • Javaeksempel
    via GitHub by thomashannestad
    ,
  • Google page rank java api
    via Stack Overflow by ashu
    ,
  • Reading from an https-URL in java
    via Stack Overflow by njcasdewdwas
    ,
    • java.io.IOException: Server returned HTTP response code: 401 for URL: https:/localhost:9443/opensso/identity/authenticate at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at java.net.URLConnection.getContent(URLConnection.java:688) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContent(HttpsURLConnectionImpl.java:406) at TestIdentityService.main(TestIdentityService.java:37)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rprp
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    46 more bugmates