Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12580 closed defect (fixed)

Upload failure with Oauth - HTTP 401 Unauthorized

Reported by: achimbeckerstgt@… Owned by: achimbeckerstgt@…
Priority: normal Milestone: 16.02
Component: Core Version: latest
Keywords: template_report oauth http 401 upload jnlp webstart windows Cc: simon04

Description

What steps will reproduce the problem?

i tried to upload modifications of the map

What is the expected result?

What happens instead?

I always get an error message "stream closed"

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-28 14:07:49 +0100 (Sun, 28 Feb 2016)
Build-Date:2016-02-28 22:44:23
Revision:9900
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9900 de) Windows 7 64-Bit
Memory Usage: 136 MB / 247 MB (32 MB allocated, but free)
Java version: 1.8.0_74-b02, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre1.8.0_74\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Achim\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-210ff38f, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=49380, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]
Dataset consistency test: No problems found

Plugins:
- turnrestrictions (31895)

Last errors/warnings:
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401
- E: org.openstreetmap.josm.io.OsmTransferException: java.io.IOException: Stream closed. Ursache: java.io.IOException: Stream closed
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401

Attachments (2)

screenshot uploading-problems.JPG (30.8 KB ) - added by achimbeckerstgt@… 9 years ago.
screenshot
screenshot uploading-problems.2.JPG (30.8 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (12)

by achimbeckerstgt@…, 9 years ago

screenshot

comment:1 by anonymous, 9 years ago

perhaps I found a solution: I changed from "OAuth" to "Basislegitimierung" now it works as usuall, but I honestly I do not understand exactly why

comment:2 by Don-vip, 9 years ago

Cc: simon04 added
Keywords: oauth http 401 upload added
Summary: problems with uploadUpload failure with Oauth - HTTP 401 Unauthorized

comment:3 by simon04, 9 years ago

Owner: changed from team to achimbeckerstgt@…
Status: newneedinfo
  • Have you previously entered+saved your OSM credentials?
  • Does the problem also occur with new/empty preference directory? See Help/ResetPreferences how to locate the preferences.
  • Can you run JOSM from the commandline and post the console output after the error occurred?

comment:4 by Don-vip, 9 years ago

Keywords: jnlp webstart windows added

by anonymous, 9 years ago

comment:5 by anonymous, 9 years ago

Have you previously entered+saved your OSM credentials? - yes oaut asked me to do so, but afterwards Josm did not run any longer I had to cancel with the task manager and to restart, afterwords the error-message occured
Does the problem also occur with new/empty preference directory? See Help/ResetPreferences how to locate the preferences. - I renaimed the preferences now I get another error-message (see (annex)
Can you run JOSM from the commandline and post the console output after the error occurred? - I'm sorry but I dont what and how to do

comment:6 by Don-vip, 9 years ago

Owner: changed from achimbeckerstgt@… to team
Status: needinfonew

comment:7 by Don-vip, 9 years ago

Owner: changed from team to achimbeckerstgt@…
Status: newneedinfo

oauth bug has been fixed in new release 9979, did it solve your problem?

comment:8 by anonymous, 9 years ago

yes, uploads are working also with oauth, thanks for your help

comment:9 by stoecker, 9 years ago

Resolution: fixed
Status: needinfoclosed

comment:10 by Don-vip, 9 years ago

Milestone: 16.02

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain achimbeckerstgt@….
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.