gunicorn
gunicorn copied to clipboard
Module geventwebsocket Not Found Using Gunicorn3
Hi, I'm running gunicorn on my prod server using Ubuntu 18.04 and I'm running with the following:
gunicorn3 -b 0.0.0.0:8080 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 app:app
If I use just:
gunicorn -b 0.0.0.0:8080 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 app:app
Everything works fine, but it's only with Gunicorn3 that I see the error:
`Error: class uri 'geventwebsocket.gunicorn.workers.GeventWebSocketWorker' invalid or not found:
[Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 134, in load_class
mod = import_module('.'.join(components))
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
I think this is an error that should be addressed if not already.