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. ,

    401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

Solutions on the web

via GitHub by dynamiccast
, 1 year ago
Server returned HTTP response code: 401 for URL: http://backend:1337/api/histories
via GitHub by endian0A
, 1 year ago
Server returned HTTP response code: 503 for URL: http://www.exploitpack.com/changelog/appversion
via Stack Overflow by Unknown author, 2 years ago
Server returned HTTP response code: 400 for URL: https://api.xxxxx.com/v1/webhooks
via Stack Overflow by Dominik Mack
, 2 years ago
Server returned HTTP response code: 400 for URL: --
via GitHub by ErkePannekake
, 1 year ago
Server returned HTTP response code: 403 for URL: http://hastebin.com/documents
via GitHub by kayc01
, 7 months ago
Server returned HTTP response code: 504 for URL: http://tmi.twitch.tv/group/user/abkayckay/chatters
java.io.IOException: Server returned HTTP response code: 401 for URL: http://backend:1337/api/histories	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at com.nanocloud.auth.noauthlogged.connection.LoggedConnection.logStartConnection(LoggedConnection.java:117)	at com.nanocloud.auth.noauthlogged.connection.LoggedConnection.connect(LoggedConnection.java:287)	at org.glyptodon.guacamole.net.basic.TunnelRequestService.createConnectedTunnel(TunnelRequestService.java:173)	at org.glyptodon.guacamole.net.basic.TunnelRequestService.createTunnel(TunnelRequestService.java:338)	at org.glyptodon.guacamole.net.basic.websocket.BasicGuacamoleWebSocketTunnelEndpoint.createTunnel(BasicGuacamoleWebSocketTunnelEndpoint.java:116)	at org.glyptodon.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onOpen(GuacamoleWebSocketTunnelEndpoint.java:114)	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:133)	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:827)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)