Skip to content

WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it #860

Discussion options

You must be logged in to vote

Please don't write bugs on this project when you need help figuring out why your application doesn't work as expected. The discussion board is for troubleshooting. Thank you.

Your problem is that you are using flask run to run the application. When you start that way, only the threading mode can be used, as I'm limited to use Werkzeug as web server. Use the socketio.run(app) method to run on a different web server. See the documentation for some example code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@miguelgrinberg
Comment options

Answer selected by Sebastian-Nielsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #859 on January 29, 2022 00:39.