GeventSocketIOWorker has no attribute 'socket'

前端 未结 3 1188
小蘑菇
小蘑菇 2021-01-13 16:12

I need to run Django application using gunicorn. I read documentation, and I think I set up everything like I should, but when I run

gunicorn --worker-class          


        
3条回答
  •  渐次进展
    2021-01-13 16:28

    It's possible that installing gevent-socketio 0.3.6 might fix this without having to revert gunicorn for some cases. I had 0.3.5-rc2 and upgrading fixed this issue for me (NOTE: this was not in django, but it worked.)

    pip install gevent-socketio==0.3.6

提交回复
热议问题