Hi,
my configuration is nginx (1.4.3) and uwsgi (1.4.10)
In case of big POST requests, the browser receives a 502 error and nginx
logs:
2013/11/13 11:27:36 [error] 24674#0: *2989 sendfile() failed (32: Broken
pipe) while sending request to upstream, client: 10.100.79.10, server:
myserver.org, request: "POST /api/inspections HTTP/1.1", upstream:
"uwsgi://unix:///var/run/uwsgi/myproj.sock:", host: "myserver.org"
no logs on uwsgi side
Apparently, nginx is not able to reach uwsgi...
Please notice that normal-size requests work correctly
I modified uwsgi and nginx in order to use TCP sockets in place of unix
sockets ("127.0.0.1:3013" vs "/var/run/uwsgi/myproj.sock") and now it works
like a charme
What's the rationale?
Is it a nginx issue?
TIA,
Marco
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi