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

Sergey Mironov grrwlf at gmail.com
Fri Apr 14 18:46:34 EDT 2017


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?
>
> _______________________________________________
> Ur mailing list
> Ur at impredicative.com
> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur



More information about the Ur mailing list