Opened 13 years ago
Closed 8 years ago
#7804 closed defect (irreproducible)
Useless(?) OAuth error
Reported by: | malenki | Owned by: | malenki |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
I keep getting occasionally an error message that OAuth didn't work after my edits were uploaded and the changeset got closed.
Following edits and uploads work fine, too.
What is the point in this?
The cli output starting with creating the changeset:
PUT http://api.openstreetmap.org/api/0.6/changeset/create... OK POST http://api.openstreetmap.org/api/0.6/changeset/11970277/upload... OK PUT http://api.openstreetmap.org/api/0.6/changeset/11970277/close... Authorization Required Error body: Couldn't authenticate you org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you> at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:661) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:534) at org.openstreetmap.josm.io.OsmApi.closeChangeset(OsmApi.java:448) at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:295) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145) 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)
Attachments (1)
Change History (9)
by , 13 years ago
Attachment: | 2012-06-21_180829_scr_josm_auth_error_anon.jpg added |
---|
comment:1 by , 13 years ago
Priority: | normal → minor |
---|
comment:2 by , 13 years ago
Description: | modified (diff) |
---|
comment:3 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:4 by , 13 years ago
Hmm. Same OAuth works next time?
Yes
Do you have a proxy in between?
No
Can you try to get a wireshark log of such a failing session?
That is less likely. This message shows up ~each 3 days. So I'd have to monitor all JOSM sessions until this error shows up once more...
comment:6 by , 13 years ago
Resolution: | → irreproducible |
---|---|
Status: | needinfo → closed |
comment:7 by , 13 years ago
Resolution: | irreproducible |
---|---|
Status: | closed → reopened |
Just got it when uploading changeset 13341592.
It's very disturbing as you may think the changeset has not been uploaded !
PUT http://api.openstreetmap.org/api/0.6/changeset/create... OK POST http://api.openstreetmap.org/api/0.6/changeset/13341592/upload... OK PUT http://api.openstreetmap.org/api/0.6/changeset/13341592/close... Authorization Required Error body: Couldn't authenticate you org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you> at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:680) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:557) at org.openstreetmap.josm.io.OsmApi.closeChangeset(OsmApi.java:471) at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:296) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
comment:8 by , 8 years ago
Resolution: | → irreproducible |
---|---|
Status: | reopened → closed |
Didn't reproduce it in the last 5 years, must be gone.
Hmm. Same OAuth works next time?
I remember another case, where also the close request was different. Compared to the others, the close request is very short, so there is a difference.
Do you have a proxy in between?
Can you try to get a wireshark log of such a failing session?