This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

osmosis failing

0

Please suggest why process is failing

Sep 07, 2020 3:41:10 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Osmosis Version 0.47.4 Sep 07, 2020 3:41:11 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Preparing pipeline. Sep 07, 2020 3:41:11 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Launching pipeline execution. Sep 07, 2020 3:41:11 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Pipeline executing, waiting for completion. Sep 07, 2020 4:23:43 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion SEVERE: Thread for task 1-read-replication-interval failed org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to read the changeset file 004/182/814.osc.gz from the server. at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.downloadReplicationFile(BaseReplicationDownloader.java:119) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.download(BaseReplicationDownloader.java:232) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:271) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:350) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.downloadReplicationFile(BaseReplicationDownloader.java:102) ... 4 more

Sep 07, 2020 4:23:43 AM org.openstreetmap.osmosis.core.Osmosis main SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed. at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146) at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92) at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:47)

asked 07 Sep '20, 13:06

augustusj's gravatar image

augustusj
46679
accept rate: 0%

edited 07 Sep '20, 13:09

Without any useful information about how you have set replication up, any answers here will be guesswork (like "is it using https").

Please explain exactly what have you done to get to this point. What set of instructions were you following?

(07 Sep '20, 13:19) SomeoneElse ♦

we already have this Tile server running since more than a year but today the daily update suddenly failed ... let me get more details

(07 Sep '20, 13:21) augustusj

For info, I'm running osmosis for updates (based on OSM minutely diffs every 5 minutes), haven't changed anything locally and have not seen any problems recently.

(07 Sep '20, 14:54) SomeoneElse ♦

One Answer:

0

seems like it was an intermittent issue because today it starting working as usual.

answered 08 Sep '20, 13:14

augustusj's gravatar image

augustusj
46679
accept rate: 0%

If you look through the stack trace you will see that the issue was simply the network connection timing out, with other words the issue was due to a network issue.

(11 Sep '20, 09:09) SimonPoole ♦

Source code available on GitHub .