Hello,
I have an app where uWSGI cause a weird issue with the information that is
posted. The simple login form returns a 504 when I try to POST the
username/password.
I have try multiple version of uwsgi up the latest changeset in hg repo.
Here it is the logs:
#uwsgi.log
writev(): Broken pipe [plugins/python/wsgi_headers.c line 171]
write(): Broken pipe [plugins/python/wsgi_subhandler.c line 186]
[pid: 4043|app: 0|req: 10/16] 127.0.0.1 () {48 vars in 986 bytes} [Wed Mar
2 15:08:01 2011] POST /radarnation/login/ => generated 0 bytes in 60011
msecs (HTTP/1.1 403) 2 headers in 18446744073709551615 bytes (0 switches on
core 0)
#nginx.log
2011/03/02 22:09:01 [error] 1380#0: *106 upstream timed out (110: Connection
timed out) while reading response header from upstream, client: 127.0.0.1,
server: , request: "POST /radarnation/login/ HTTP/1.1", upstream:
"uwsgi://unix:///tmp/sockets/site_gamesradar.sock:", host:
"gamesradar.local:8080", referrer: "
http://gamesradar.local:8080/radarnation/login/"
#uwsgi xml config
<uwsgi>
<home>%d/ve</home>
<chdir>%d</chdir>
<socket>/tmp/sockets/%n.sock</socket>
<module>%n</module>
<processes>4</processes>
<post-buffering>1</post-buffering>
<master/>
</uwsgi>
I have tried with and without "<post-buffering>1</post-buffering>". Do you
have any idea of what could possibly go wrong here ?
Regards,
--yml
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi