<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    More info:<br>
    <br>
    local merkaator installed on the same machine as rails works fine<br>
    local josm - fails<br>
    merkaartor or josm on a remote machine connected via ssh-tunnel and
    port forward fail<br>
    <br>
    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.<br>
    <br>
    Whre shall i dig futher???<br>
    <br>
    K.<br>
    <br>
    On 22.04.2011 14:15, Shaun McDonald wrote:
    <blockquote
      cite="mid:FBEFEBEB-C280-4A01-B390-144582F6DDFC@shaunmcdonald.me.uk"
      type="cite">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 moz-do-not-send="true"
                  href="mailto:bestoujev@gmail.com">bestoujev@gmail.com</a>></span><br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                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 moz-do-not-send="true"
              href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
            <a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>