Replies: 1 comment 1 reply
-
This is likely an issue with eventlet's implementation of SSL. Unfortunately there isn't much that can be done since eventlet is not well maintained anymore. Maybe try switching to gevent? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for the past few months i've been running a socketio server for my multiplayer game.
it seems to work alright, only after a day or two to crash with these errors :
Here is the server code, most likely it crashes on disconnection:
https://pastebin.com/tSCS1d6a
I'm running it with gunicorn, but the same used to hapen when i ran it like a normal flask app. This is on ubuntu.
once the process is stopped and restarted, it works again fine, only to repeat after a few days again.
I've tried running the whole thing with gunicorn using this command : gunicorn --workers 1 --worker-class eventlet --bind 0.0.0.0:5000 --certfile=/etc/ssl/chained.pem --keyfile=/etc/ssl/private/private-unencrypted.key --error-logfile ./error.txt --access-logfile ./access.txt RequestManager:app
I've tried logging when the crash happens, seems to be on disconnection, but really not sure, cant pin point exactly.
Tried a few other things, basically ran out of ideas, nothing seems to fix it.
Beta Was this translation helpful? Give feedback.
All reactions