Pergunta

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?

Nenhuma solução correta

Outras dicas

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!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top