Re: [OSM-talk] Authorisation problems uploading changes from JOSM

2010-04-19 Thread Richard George
On 19/04/2010 20:05, Richard George wrote:
> On 19/04/2010 12:51, colliar wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> Richard George schrieb:
>>
>>  
>>> Sebastian Klein wrote:
>>>
>>>
>>>> Richard George wrote:
>>>>
>>>>  
>>>>> I just mapped a bunch of back-roads&   footpaths I walked along on
>>>>> holiday last week (near Agen, France) in JOSM, but I'm not able to
>>>>> upload it. Every time I try I get an error message of:
>>>>>
>>>>> "Authorisation at the OSM server with the OAuth token '{redacted}' failed.
>>>>> This token is not authorised to access the protected resource
>>>>> 'http://api.openstreetmap.org/api/0.6/changeset/create'.
>>>>> Please launch the preferences dialog and retrieve another OAuth token.
>>>>>
>>>>>
>>>
>>>
>>>> The tested version does not work with OAuth any more, because the server
>>>> has switched from http to https.
>>>>
>>>> So you either have to use latest (>= 3188) or send the credentials in
>>>> plain text. Unfortunately the protocol is not configurable in the tested
>>>> version.
>>>>
>>>>  
>> The semi-automatical method works though, only the automatical is broken. 
>> That
>> is the way you to use ssl-encryption.
>>
>>  
> None of those methods seem to help, unfortunately. Version 3191 seems to
> behave exactly the same as the tested version; an oauth token can be
> generated, and the upload insists on using oauth for upload (it names
> 'oauth token "null"' in the above error if basic auth is specified). I
> also can't see anywhere to set anything to HTTPS.
>
Ah! You have to enable " Public editing" in your account page 
(https://www.openstreetmap.org/user/parsingphase/account) to be able to 
upload changes from the app.

I have to say that's a little unintuitive!

Thanks,
 Richard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Authorisation problems uploading changes from JOSM

2010-04-19 Thread Richard George
On 19/04/2010 12:51, colliar wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Richard George schrieb:
>
>> Sebastian Klein wrote:
>>  
>>> Richard George wrote:
>>>
>>>> I just mapped a bunch of back-roads&  footpaths I walked along on
>>>> holiday last week (near Agen, France) in JOSM, but I'm not able to
>>>> upload it. Every time I try I get an error message of:
>>>>
>>>> "Authorisation at the OSM server with the OAuth token '{redacted}' failed.
>>>> This token is not authorised to access the protected resource
>>>> 'http://api.openstreetmap.org/api/0.6/changeset/create'.
>>>> Please launch the preferences dialog and retrieve another OAuth token.
>>>>  
>>  
>>> The tested version does not work with OAuth any more, because the server
>>> has switched from http to https.
>>>
>>> So you either have to use latest (>= 3188) or send the credentials in
>>> plain text. Unfortunately the protocol is not configurable in the tested
>>> version.
>>>
> The semi-automatical method works though, only the automatical is broken. That
> is the way you to use ssl-encryption.
>
None of those methods seem to help, unfortunately. Version 3191 seems to 
behave exactly the same as the tested version; an oauth token can be 
generated, and the upload insists on using oauth for upload (it names 
'oauth token "null"' in the above error if basic auth is specified). I 
also can't see anywhere to set anything to HTTPS.

Any ideas?

 Thanks,
 Richard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Authorisation problems uploading changes from JOSM

2010-04-19 Thread Richard George
Sebastian Klein wrote:
> Richard George wrote:
>> I just mapped a bunch of back-roads & footpaths I walked along on 
>> holiday last week (near Agen, France) in JOSM, but I'm not able to 
>> upload it. Every time I try I get an error message of:
>>
>> "Authorisation at the OSM server with the OAuth token '{redacted}' failed.
>> This token is not authorised to access the protected resource
>> 'http://api.openstreetmap.org/api/0.6/changeset/create'.
>> Please launch the preferences dialog and retrieve another OAuth token.

> The tested version does not work with OAuth any more, because the server 
> has switched from http to https.
> 
> So you either have to use latest (>= 3188) or send the credentials in 
> plain text. Unfortunately the protocol is not configurable in the tested 
> version.

Thanks Sebastian - I'll try the latest build tonight.

-- 
Blog: http://phase.org/
Twitter: @parsingphase

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Authorisation problems uploading changes from JOSM

2010-04-18 Thread Richard George
I just mapped a bunch of back-roads & footpaths I walked along on 
holiday last week (near Agen, France) in JOSM, but I'm not able to 
upload it. Every time I try I get an error message of:

"Authorisation at the OSM server with the OAuth token '{redacted}' failed.
This token is not authorised to access the protected resource
'http://api.openstreetmap.org/api/0.6/changeset/create'.
Please launch the preferences dialog and retrieve another OAuth token.

I've tried creating a new token but the problem persists. Is there 
something special I need to do to be authorised for uploads? Or is this 
an issue on the server?

(This is a 'safe' version of JOSM downloaded last night)

Thanks in advance,
 Richard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk