[Ur] fastCGI backend and POST /.msgs HTTP/1.1 requests

Adam Chlipala adamc at csail.mit.edu
Sun Apr 30 13:16:23 EDT 2017


I don't think I'm going to be able to look into this problem any time 
soon, but I'll be happy to accept a patch, if someone finds one.

On 04/14/2017 06:46 PM, Sergey Mironov wrote:
> Yes, I am able to reproduce the error with the latest Ur/Web. I've
> checked the related code and didn't find any obvious errors. But, if I
> replace the following assignment
>    o->r.requestIdB0 = current_request_id & 0x000000ff;
> with the assignment to 1, the error disappears.
>
> Very strange.
>
> Regards,
> Sergey
>
>
> 2017-04-14 18:28 GMT+03:00 Benjamin Barenblat <benjamin at barenblat.name>:
>> On Thu, Apr 13, 2017 at 6:35 PM, Sergey Mironov <grrwlf at gmail.com> wrote:
>>> I am facing a problem running the application compiled in FastCGI mode
>>> with nginx. The error on server says
>>>
>>> 2017/04/14 01:19:13 [error] 11847#0: *2 upstream sent unexpected
>>> FastCGI request id low byte: 0 while reading response header from
>>> upstream, client: 127.0.0.1, server: , request: "POST /.msgs
>>> HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
>>> "127.0.0.1:8081", referrer: "http://127.0.0.1:8081/App/convertFile/48"
>> That sounds suspiciously like
>> <https://github.com/urweb/urweb/issues/57>. Are you running the latest
>> version of Ur/Web?



More information about the Ur mailing list