Modify ↓
Opened 16 years ago
Closed 16 years ago
#3053 closed defect (fixed)
missing api handler for "Internal Server Error"
| Reported by: | phobie | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | api upload failed internal server error | Cc: |
Description
JOSM 1823
On a upload the osm-server replied with "Internal Server Error".
JOSM should handle this "in some way".
BTW. The changeset have been closed successful this time...
PUT http://api.openstreetmap.org/api/0.6/changeset/1919846/close... Internal Server Error
org.openstreetmap.josm.io.OsmTransferCancelledException
at org.openstreetmap.josm.io.OsmApi.sleepAndListen(OsmApi.java:360)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:424)
at org.openstreetmap.josm.io.OsmApi.stopChangeset(OsmApi.java:304)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:115)
at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.realRun(UploadAction.java:227)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2009-07-24 00:05:02 [com.innovant.josm.plugin.routing.gui.RoutingPreferenceDialog] DEBUG - Default preferences already exist.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
| Summary: | missong api handler for "Internal Server Error" → missing api handler for "Internal Server Error" |
|---|
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



JOSM already handles this case. It waits a short time (actually 10s which seems quite long) and tries again. It does so five times.
From the messages on the console this is not immediately clear. I therefore added some logging statements to OsmApi.
See r1859.