Opened 4 years ago

Closed 4 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 Changed 4 years ago by Tim Graham

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?

comment:2 Changed 4 years ago by Claude Paroz

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