Hi!

We recently put a project live with uwsgi 1.2.3 behind nginx 1.2.1 (through the
uwsgi interface in nginx). A couple of days later, someone complains they can't
access the site, but they manage to fix the problem by clearing their cookies.

So after some digging, it turns out nginx tries to send more data than uwsgi is
ready to receive, probably just the complete HTTP GET request:

invalid request block size: 4675 (max 4096)...skip
Mon Oct  8 09:16:51 2012 - error parsing request

We google this, and it seems to be a common problem, with the remedy being
setting the buffer-size to 32k. Indeed, raising this limit allows me to send a
5k GET parameter which otherwise fails.

Now, this is fine and all, but it seems to me that I still have a bug, it's just
harder to hit it. So my question is, is this a bug in uwsgi or in nginx?


Ole

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to