<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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?<div><br></div><div>Shaun</div><div><br><div><div>On 22 Apr 2011, at 11:11, Kirill Bestoujev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I just tried to edit the data with Poltach - it works ok... <br><br>Is Poltach interacting with the api in a different way then josm does?<br><br>Kirill<br><br><div class="gmail_quote">2011/4/22 Kirill Bestoujev <span dir="ltr"><<a href="mailto:bestoujev@gmail.com">bestoujev@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everybody!<br>
<br>
I have a problem with rails port.<br>
<br>
Ubuntu 10.04, x64.<br>
I installed the rails port according to the wiki, uploaded the data into it. Activated the users.\<br>
<br>
All looks fine, I can download data with Josm, but I fail to upload anything.<br>
<br>
In josm I get Internal server error 500.<br>
In rails log I have<br>
<br>
[2011-04-22 09:32:45.814749 #13100] Processing ChangesetController#close (for 127.0.0.1 at 2011-04-22 09:32:45) [PUT]<br>
[2011-04-22 09:32:45.814877 #13100] Parameters: {"action"=>"close", "id"=>"4575187", "controller"=>"changeset"}<br>
[2011-04-22 09:32:45.815438 #13100] ERROROAuth::Signature::UnknownSignatureMethod<br>
<br>
In apache error.log I get:<br>
<br>
[Thu Apr 21 17:38:14 2011] [error] [client 127.0.0.1] Premature end of script headers: 0.6<br>
[ 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.<br>
/home/kirill/fork/rails/app/models/node.rb:82: [BUG] Segmentation fault<br>
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]<br>
<br>
<br>
I tried different version of josm, the problem is always there.<br>
<br>
What can it be?<br><font color="#888888">
<br>
Kirill<br>
</font></blockquote></div><br>
_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>http://lists.openstreetmap.org/listinfo/dev<br></blockquote></div><br></div></body></html>