We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I want to use websocket via https (because h5 getUserMedia need the secure connect). Try the code use https in Flask as below.
app.run(gevent=100, host='192.168.2.217', debug=True, port=5000, ssl_context='adhoc')
It seems there is a conflict between websocket and https? Any body know how to solve this?
uwsgi: unrecognized option '--ssl_context' getopt_long() error
The text was updated successfully, but these errors were encountered:
I followed this: http://uwsgi-docs.readthedocs.io/en/latest/HTTPS.html
and found this to work:
ssl_cert = path.join(path.dirname(__file__), 'ssl.cert') ssl_key = path.join(path.dirname(__file__), 'ssl.key') app.run(https='0.0.0.0:5001,{},{}'.format(ssl_cert,ssl_key), gevent=100)`
Sorry, something went wrong.
No branches or pull requests
Hi,
I want to use websocket via https (because h5 getUserMedia need the secure connect). Try the code use https in Flask as below.
app.run(gevent=100, host='192.168.2.217', debug=True, port=5000, ssl_context='adhoc')
It seems there is a conflict between websocket and https? Any body know how to solve this?
uwsgi: unrecognized option '--ssl_context' getopt_long() error
The text was updated successfully, but these errors were encountered: