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 Geographic Information Systems by Stepi
, 1 year ago
via Geographic Information Systems by Magno C
, 1 year ago
Unable to read the state from the server.
via Stack Overflow by Magno C
, 8 months ago
Unable to read the state from the server.
via GitHub by kechap
, 5 days ago
Unable to read the state from the server.
java.io.IOException: Server returned HTTP response code: 407 for URL: http://planet.openstreetmap.org/replication/hour/state.txt	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:97)	at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:50)	at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:290)	at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:383)	at java.lang.Thread.run(Thread.java:745)