WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it #860
-
Describe the bug Unable to get rid of "WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it" To Reproduce
Expected behavior Logs
... there is a lot more here, but it's just more of the above ... FYI, I posted this issue on stackoverflow too. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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 thesocketio.run(app)
method to run on a different web server. See the documentation for some example code.