[OSM-talk] JOSM connection problems downloading/uploading data?

Vincent Privat vincent.privat at gmail.com
Fri Aug 29 15:13:47 UTC 2014


No, it seems there's a problem with upload (authentication works fine for
changeset creation):

INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/create...
DEBUG: REQUEST: {User-Agent=[JOSM/1.5 (7459 SVN en) Windows 8.1 64-Bit
Java/1.7.0_65], Connection=[close]}
INFO: OK
DEBUG: RESPONSE: {null=[HTTP/1.1 200 OK], X-Runtime=[0.049391], ETag=[xxx],
Content-Length=[8], X-XSS-Protection=[1; mode=block], X-Request-Id=[xxx],
Connection=[close], Server=[Apache/2.4.7 (Ubuntu)], X-Powered-By=[Phusion
Passenger 4.0.50], Cache-Control=[max-age=0, private, must-revalidate],
X-Content-Type-Options=[nosniff], X-Frame-Options=[SAMEORIGIN], Status=[200
OK], Date=[Fri, 29 Aug 2014 15:06:11 GMT], Content-Type=[text/plain;
charset=utf-8]}

INFO: POST https://api.openstreetmap.org/api/0.6/changeset/25099130/upload.
..
DEBUG: REQUEST: {User-Agent=[JOSM/1.5 (7459 SVN en) Windows 8.1 64-Bit
Java/1.7.0_65], Connection=[close]}
INFO: Unauthorized
WARNING: java.io.IOException: Server returned HTTP response code: 401 for
URL: https://api.openstreetmap.org/api/0.6/changeset/25099130/upload.
Cause: java.io.IOException: Server returned HTTP response code: 401 for
URL: https://api.openstreetmap.org/api/0.6/changeset/25099130/upload
java.io.IOException: Server returned HTTP response code: 401 for URL:
https://api.openstreetmap.org/api/0.6/changeset/25099130/upload
ERROR: Error body: Couldn't authenticate you
DEBUG: RESPONSE: {null=[HTTP/1.1 401 Unauthorized], X-Runtime=[0.024400],
WWW-Authenticate=[Basic realm="Web Password"], X-XSS-Protection=[1;
mode=block], X-Request-Id=[xxx], Connection=[close], Server=[Apache/2.4.7
(Ubuntu)], X-Powered-By=[Phusion Passenger 4.0.50],
Cache-Control=[no-cache], X-Content-Type-Options=[nosniff], Status=[401
Unauthorized], X-Frame-Options=[SAMEORIGIN], Transfer-Encoding=[chunked],
Date=[Fri, 29 Aug 2014 15:06:11 GMT], Content-Type=[text/html;
charset=utf-8]}



2014-08-29 16:59 GMT+02:00 Tom Hughes <tom at compton.nu>:

> On 29/08/14 15:57, Andy Street wrote:
>
>  FWIW I'm seeing a different error in JOSM:
>>
>> "WARNING: java.io.IOException: Server returned HTTP response code: 401
>> for URL:
>> https://api.openstreetmap.org/api/0.6/changeset/25098566/upload."
>>
>> The upload succeeds if HTTP is used instead of HTTPS.
>>
>
> 401 is just it telling you to enter your password.
>
>
> Tom
>
> --
> Tom Hughes (tom at compton.nu)
> http://compton.nu/
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20140829/9b2c50fc/attachment-0001.html>


More information about the talk mailing list