Problem with uWSGI deployment (again) #2129
-
Hello, in the past I got the SocketIO to successfully work with my "production" deployment using uWSGI and Nginx. But now I have problems setting it up again and unfortunately the test device where the server was running died due to eMMC failure so I can't check the configuration to cross reference with my docs (if I didn't update something after tweaking on the device). The previous version was running using Python 3.8 but I have now updated to Python 3.11 and also updated the libraries to the latest version. Python version: Installed package versions:
I am running the application with uwsgi using the following command: And this is my hosting.ini:
I create the application object as following:
And then start it in the wsgi module as:
However when I start my uWSGI server I am met with the following exception: I have also tried using the
If anyone is using uwsgi and can share their working configuration or insight on something I am doing wrong, it will be much appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hopefully that'll do it. |
Beta Was this translation helpful? Give feedback.
gevent-websocket
, since it isn't used when deploying with uWSGI (actually it isn't used anymore for any configurations).async_mode='gevent_uwsgi'
Hopefully that'll do it.