java.io.IOException: Server returned HTTP response code: 401 for URL: https://xyz.sdjhf.com:443/scripts/fortecgi.exe/ert

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 807551, 1 year ago
Server returned HTTP response code: 401 for URL: https://xyz.sdjhf.com:443/scripts/fortecgi.exe/ert
via Stack Overflow by SimpleJack
, 2 years ago
Server returned HTTP response code: 400 for URL: http://imgur.com/api/upload.xml
via Stack Overflow by supershnee
, 2 years ago
Server returned HTTP response code: 400 for URL: http://localhost:5984/smile/_changes?feed=continuous&include_docs=true&heartbeat=10000&filter=%7B%7D
via GitHub by Omertron
, 2 years ago
Server returned HTTP response code: 502 for URL: http://www.imdb.com/title/tt0824747/
via Stack Overflow by abhig
, 2 years ago
Server returned HTTP response code: 401 for URL: http://internalsite
via Oracle Community by 644532, 1 year ago
Server returned HTTP response code: 401 for URL: http://...
java.io.IOException: Server returned HTTP response code: 401 for URL: https://xyz.sdjhf.com:443/scripts/fortecgi.exe/ert
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:704)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1146)
at undefined.httpsurl.main(httpsurl.java:34)

Users with the same issue

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
2 times, 1 year ago

Write tip

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