Modify

Opened 12 years ago

Closed 12 years ago

#7871 closed defect (duplicate)

Authentication error closing a changeset

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Just had a similar issue then #5783.

  1. Edit a lot (all simple edits mostly adds)
  2. Sucessfully upload (with closing changeset set)
  3. changed tag of two object I had just created.
  4. try to upload through "unsaved layer dialog"
  5. -> failed due to rejection of OAuth token.

First of all upload worked only closing the changeset failed (wrong error message).
Restarting JOSM my token work again.

This is from the console:

Using /usr/lib/jvm/java-6-openjdk-amd64/bin/java to execute josm.
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-07-16 01:31:09
Last Changed Author: Don-vip
Revision: 5345
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-07-15 16:34:27 +0200 (Sun, 15 Jul 2012)
Last Changed Rev: 5345

loading plugin 'restart' (version 28438)
loading plugin 'PicLayer' (version 27883)
loading plugin 'mirrored_download' (version 28418)
loading plugin 'utilsplugin2' (version 28412)
loading plugin 'conflation' (version 0.1.6)
loading plugin 'jts' (version 28415)

POST http://api.openstreetmap.org/api/0.6/changeset/12274272/upload... OK
PUT http://api.openstreetmap.org/api/0.6/changeset/12274272/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.UploadLayerTask.run(UploadLayerTask.java:135)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
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.UploadLayerTask.run(UploadLayerTask.java:135)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)

Attachments (0)

Change History (1)

comment:1 by stoecker, 12 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #7804.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.