Replies: 1 comment 1 reply
-
The gevent worker in Gunicorn has this problem, unfortunately. I explain what I know about this issue in this comment. You can use gevent without Gunicorn to avoid this issue. Or else continue using gevent-websocket if you must use Gunicorn. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I saw this post saying that the gevent-websocket worker was not longer required when running the gunicorn server:
So I modified the start command for the gunicorn service to look like this
And everything seemed to run fine. But I noticed we are getting a very large number of these errors in Sentry since the change:
That StopIteration error is now being raised quite frequently.
What might be the cause of this error? Would this be due to changing the worker for the server? Should I change it back to use gevent-websocket?
Beta Was this translation helpful? Give feedback.
All reactions