Bad Gateway on login

On my django render app, I’m getting a Bad Gateway error every time someone logs in. If they get a bad gateway, they can get past it by refreshing the page and confirming form submission. How can I fix this?


As this is an application-level issue, we are limited in our ability to assist you here.

I would recommend checking your service logs for more information, or adding more logging for troubleshooting, if necessary.