Im having trouble establishing a WebSocket connection between a client and a server (both on localhost).
I'm using Nginx, uWSGI and Flask.
I'm getting the following error printed out in the uWSGI log when I try to establish a WebSocket connection (note that normal GET and POST works):
you need to build uWSGI with SSL support to use the websocket handshake api function !!!
Traceback (most recent call last):
File "/Users/user/Documents/Development/virtualenv/flask/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/user/Documents/Development/virtualenv/flask/lib/python2.7/site-packages/flask_uwsgi_websocket/_gevent.py", line 63, in __call__
environ.get('HTTP_ORIGIN', ''))
IOError: unable to complete websocket handshake
My question is therefore: How can I build uWSGI with SSL support?