I deployed a django project and everything works great on manage.py, but when I run the default gunicorn server via gunicorn projectname.wsgi, the registration form cannot be submitted and there is a 502 Bad Request Error.

Any ideas?

没有正确的解决方案

其他提示

manage.py runserver seems to boot the celery workers automatically while gunicorn.wsgi does not. Booting all the workers fixed the problem.

Thanks for the comments!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top