#22410 closed Uncategorized (needsinfo)

Error(mail) on connection reset

Reported by: allo@… Owned by: nobody
Component: Documentation 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 deployed with gunicorn, django mails errors about connection resets of the client:

error: [Errno 104] Connection reset by peer

As the mail comes from django ([django] in the subject) i guess django should filter these errors.

Change History (4)

comment:1 Changed 18 months ago by allo@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Additional, there is no indication, at which site it happenend, only the venv can be seen in the traceback.

comment:2 Changed 18 months ago by timo

It looks like your email sending is not configured correctly. It's not clear to me what action you think we should take based on this report.

comment:3 Changed 18 months ago by allo@…

Not sure, because the traceback does not go into django, but into socket.py from gunicorn, but django with the mail_admins on loglevel error mails for "connection reset" and for csrf failures, which are both user errors and no server problems.
(Sorry, no log at hand for the csrf stuff, but there seems to be a problem on filtering the mails for code errors and other "normal" errors)

comment:4 Changed 18 months ago by timo

  • Resolution set to needsinfo
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top