[OpenStreetMap] #5118: Cannot upload in HTTPS with OAuth

OpenStreetMap trac at noreply.openstreetmap.org
Wed Feb 12 23:06:06 UTC 2014


#5118: Cannot upload in HTTPS with OAuth
-------------------------+-------------------------
 Reporter:  don-vip      |      Owner:  rails-dev@…
     Type:  defect       |     Status:  new
 Priority:  major        |  Milestone:
Component:  api          |    Version:
 Keywords:  oauth https  |
-------------------------+-------------------------
 Hi,

 We have enabled HTTS support towards OSM API in latest JOSM (see
 #josm9710).

 It works great with basic authentication, bur for some reason it fails
 with OAuth with HTTP 401:
 {{{
 INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/create...
 INFO: OK
 INFO: POST
 https://api.openstreetmap.org/api/0.6/changeset/20532333/upload...
 INFO: Authorization Required
 ERROR: Error body: Couldn't authenticate you
 ERROR: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error
 Body=<Couldnt authenticate you>
 }}}
 It looks like there's a problem on server side ?

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/5118>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list