More info:

local merkaator installed on the same machine as rails works fine
local josm - fails
merkaartor or josm on a remote machine connected via ssh-tunnel and port forward fail

http-headers are the same in all cases, all of the get the number of the created changeset, but local merkator uploads and other do not.

Whre shall i dig futher???

K.

On 22.04.2011 14:15, Shaun McDonald wrote:
The problem is to do with OAuth. Have you setup a new OAuth application in your rails port install and entered those settings into JOSM?

Shaun

On 22 Apr 2011, at 11:11, Kirill Bestoujev wrote:

I just tried to edit the data with Poltach - it works ok...

Is Poltach interacting with the api in a different way then josm does?

Kirill

2011/4/22 Kirill Bestoujev <[email protected] <mailto:[email protected]>>

    Hi everybody!

    I have a problem with rails port.

    Ubuntu 10.04, x64.
    I installed the rails port according to the wiki, uploaded the
    data into it. Activated the users.\

    All looks fine, I can download data with Josm, but I fail to
    upload anything.

    In josm I get Internal server error 500.
    In rails log I have

    [2011-04-22 09:32:45.814749 #13100] Processing
    ChangesetController#close (for 127.0.0.1 at 2011-04-22 09:32:45)
    [PUT]
    [2011-04-22 09:32:45.814877 #13100]   Parameters:
    {"action"=>"close", "id"=>"4575187", "controller"=>"changeset"}
    [2011-04-22 09:32:45.815438 #13100]
    ERROROAuth::Signature::UnknownSignatureMethod

    In apache error.log I get:

    [Thu Apr 21 17:38:14 2011] [error] [client 127.0.0.1] Premature
    end of script headers: 0.6
    [ pid=21761 thr=139954888980288 file=ext/apache2/Hooks.cpp:822
    time=2011-04-21 17:38:14.321 ]: The backend application (process
    22666) did not send a valid HTTP response; instead, it sent
    nothing at all. It is possible that it has crashed; please check
    whether there are crashing bugs in this application.
    /home/kirill/fork/rails/app/models/node.rb:82: [BUG] Segmentation
    fault
    ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]


    I tried different version of josm, the problem is always there.

    What can it be?

    Kirill


_______________________________________________
dev mailing list
[email protected] <mailto:[email protected]>
http://lists.openstreetmap.org/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to