Hello,

I'm trying to make use of uwsgi's fantastic stealth-mode websockets functionality. It seem to work brilliantly when using the uwsgi http server, but unfortunately I need to deploy behind nginx. This is failing with timeouts on either side of nginx (ie the browser hangs on 'starting handshake' and uwsgi logs sockets closing).

I found this thread on the topic:

http://forum.nginx.org/read.php?2,236370,236380

and a presumably associated commit: http://hg.nginx.org/nginx/rev/10c74d3b15d1

I've installed nginx from the nginx ppa - version 1.2.7

Do I need a more recent version of nginx? Different params. Here's my config:

------ NGINX ---------
        location / {
            include uwsgi_params;
            uwsgi_pass 127.0.0.1:9055;
            uwsgi_buffering off;
        }

[uwsgi]
socket = 127.0.0.1:9055
module = myapp:application
pythonpath = /home/mypath/
gevent = 400
gevent-monkey-patch = true
master = true
workers = 1
logto = /var/log/uwsgi/websocket.log
#disable-logging = false
http-raw-body = true

Finally, thanks for a fascinating product and by far the best documentation I've ever come across.

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

Reply via email to