Opened 11 years ago
Closed 11 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 |
Description
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: '54.207.26.209'.You may need to add '54.207.26.209' to ALLOWED_HOSTS.
Body:
No stack trace available Request repr() unavailable.
and nothing else on the body.
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I don't think this is related to upgrading the version of Python. Is 54.207.26.209 in
ALLOWED_HOSTS
? Is it an expected IP?