Django broken pipe error

dr.roman.graf at dr.roman.graf at
Tue Dec 6 09:21:54 EST 2016


I'm facing strange Django broken pipe error (Python 2.7 on Ubuntu) that apparently is a not fixed Django bug. Does anybody now how to fix it? I've been searching a lot and didn't find any solution.

This error happens very irregularly by Post request in Django. Sometimes it works sometimes not: 

[06/Dec/2016 13:33:57] "POST /export_report/ HTTP/1.1" 500 59
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/ait/.virtualenvs/env1/local/lib/python2.7/site-packages/django/core/servers/", line 129, in __init__
    super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.7/", line 651, in __init__
  File "/usr/lib/python2.7/", line 710, in finish
  File "/usr/lib/python2.7/", line 279, in close
  File "/usr/lib/python2.7/", line 303, in flush
error: [Errno 32] Broken pipe
Exception happened during processing of request from ('', 38224)

It is also described in:

On is stated that this error should already be fixed but apparently not.

Best regards,


More information about the Python-list mailing list