Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Turning off debug mode kills the site #39

Open
waldoj opened this issue Mar 25, 2015 · 0 comments
Open

Turning off debug mode kills the site #39

waldoj opened this issue Mar 25, 2015 · 0 comments
Labels

Comments

@waldoj
Copy link
Member

waldoj commented Mar 25, 2015

If settings.py's DEBUG flag is set to False, instead of True, and gunicorn is restarted, the entire site falls down. Every page request returns this, as the totality of the body of the HTTP response:

<h1>Bad Request (400)</h1>

No errors are logged to the error log, because it's Gunicorn generating the log, and there's nothing wrong with Gunicorn. So, that seems bad. Temporary fix: leave DEBUG set to True.

@waldoj waldoj added the bug label Mar 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant