GeventSocketIOWorker has no attribute 'socket'

前端 未结 3 1183
小蘑菇
小蘑菇 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:38

    Caused by this change in gunicorn. https://github.com/benoitc/gunicorn/commit/9a83d719b23fe28667a9c76bac25ba66651f8ccf

    Previously the sockets used for gevent worker came from gunicorn socket now they wrap gevent cooperative sockets. So reverting to an older version of gunicorn is not good idea. May be disable Flash Policy Server that will disable this check.

提交回复
热议问题