Opened 5 years ago

Closed 5 years ago

#22587 closed Bug (needsinfo)

Mailed error report wrong after uptating Python 3.3 to Python 3.4

Reported by: lvella Owned by: nobody
Component: Uncategorized Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When DEBUG=False, mail report is sent upon error on the Django application. The messages are arriving with:

Subject: [Django] ERROR: Invalid HTTP_HOST header: ''.You may need to add '' to ALLOWED_HOSTS.


No stack trace available

Request repr() unavailable.

and nothing else on the body.

Change History (2)

comment:1 Changed 5 years ago by Tim Graham

I don't think this is related to upgrading the version of Python. Is in ALLOWED_HOSTS? Is it an expected IP?

comment:2 Changed 5 years ago by Claude Paroz

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top