Opened 13 years ago
Closed 13 years ago
#7305 closed defect (fixed)
Upload failed for big changeset
Reported by: | Owned by: | bastiK | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | upload | Cc: |
Description (last modified by )
In :
Identification: JOSM/1.5 (4857 fr)
a big changeset (10 x 500) failed with Read time error :
PUT http://api.openstreetmap.org/api/0.6/changeset/create... OK POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... POST http://api.openstreetmap.org/api/0.6/changeset/10473575/upload... org.openstreetmap.josm.io.OsmTransferException: java.net.SocketTimeoutException: Read timed out at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:665) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:534) at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:484) at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:172) at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:214) at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:233) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:137) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at java.net.HttpURLConnection.getResponseMessage(Unknown Source) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:596) ... 10 more
With version r4842 the same data are upload fine.
Attachments (1)
Change History (8)
by , 13 years ago
Attachment: | 4857 - 4842 JOSM.txt added |
---|
follow-up: 3 comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Timeout means that connection was broken or delayed too much. Either network or server issues. Also this is self-healing.
comment:3 by , 13 years ago
Replying to stoecker:
Timeout means that connection was broken or delayed too much. Either network or server issues. Also this is self-healing.
Ok, I will edit with 4857. When the upload will crash, I record the data, and I will upload with 4842 ... till the "self-healing" bug disappear .
comment:4 by , 13 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
comment:5 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
@bastiK:
You changed OsmAPI-Read-Timout. In case API processes data, the 15 seconds are probably too low. So for data upload (and download?) we need another timeout in the order of minutes.
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
State of 4857 and 4842 + historic of upload