Replies: 1 comment 2 replies
-
Did you follow the instructions in the documentation with regards to installing simple-websocket? Can I see the output of the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi
im using flask +socketio + simple-websocket + gunicorn + gthread + nginx + ubuntu
and this is my error "The WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it. See the documentation for details"
im using odroid xu4 sbc includes armv7l
i cant install gevent or eventlet on this computer
so im using gthread
this is flask socketio doc
A third option with Gunicorn is to use the threaded worker, along with the simple-websocket package for WebSocket support. This is a particularly good solution for applications that are CPU heavy or are otherwise incompatible with eventlet and gevent use of green threads. The command to start a threaded web server is:
gunicorn -w 1 --threads 100 module:app
so my question is
"is gunicorn gthread working for socket io in my app????????
can i ignore this error???(The WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it. See the documentation for details)
if not, how can i solve this???
i already read almost discussions but every answer was "use gevent, use gevent websocket"
i cant install gevent or eventlet
also my app cant accept gevent or eventlet(Oauth error)
have a nice day bro
Beta Was this translation helpful? Give feedback.
All reactions