java.io.IOException: Server returned HTTP response code: 401 for URL: https:/localhost:9443/opensso/identity/authenticate

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

,
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 322268, 1 year ago
Server returned HTTP response code: 401 for URL: https:/localhost:9443/opensso/identity/authenticate
via gauravmantri.com by Unknown author, 1 year ago
via GitHub by thomashannestad
, 2 years ago
Server returned HTTP response code: 400 for URL: https://eksamen-tst2.udir.no/api/ekstern/innlogging
via Stack Overflow by Unknown author, 2 years ago
Server returned HTTP response code: 403 for URL: https://www.googleapis.com/language/translate/v2? key=AIsdfabCSW_HEREplZ7vfUwaC34YmVT_F1m9Ps&q=Anger&target=ur&source=en
via Oracle Community by 666705, 1 year ago
Server returned HTTP response code: 500 for URL: http://usplsonst235:8009/manager/jobmanager?method=run&scriptcallingindicator=scriptcalling&jobname=Cv oAutomationTask&
via oracle.com by Unknown author, 1 year ago
Server returned HTTP response code: 500 for URL: http://usplsonst235:8009/manager/jobmanager?method=run&scriptcallingindicator=scriptcalling&jobname=Cv oAutomationTask&
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 undefined.TestIdentityService.main(TestIdentityService.java:37)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
47 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.