Odoo Help


self._sock.sendall Broken pipe means?

Rick Leir
on 8/16/13, 7:32 PM 11,414 views

What causes this exception?

Exception happened during processing of request from ('', 42799)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
  File "/usr/lib/python2.7/SocketServer.py", line 693, in finish
  File "/usr/lib/python2.7/socket.py", line 303, in flush
error: [Errno 32] Broken pipe
Rick Leir
On 9/11/13, 6:11 PM

(answered by Uku Loskit on stackoverflow, here is what he said:)

This just means that the underlying TCP connection was abruptly dropped. In this case it means that you are trying to write data to a socket that has already been closed on the other side (by the client). It is harmless, it means that while your server was sending an HTTP response to the client (browser) she stopped the request (closed the browser for example).

Any solution of this error ?

Jagdish Panchal
on 2/14/14, 2:36 AM

I would like to 'accept' this answer but I need 75 points to do that. Clients (browsers) commonly drop connections and it is harmless (or should be) in OpenERP.

Rick Leir
on 2/14/14, 5:43 AM

The 'improvement' I would suggest is that the log should get a one line 'info' message, not a 13 line error traceback.

Rick Leir
on 2/14/14, 5:46 AM

I am receiving this error at least once a day. You description sounds harmless but every time this occurs my server process is killed so I have to log into my server and restart it. If this is just a drop in connection to a client should it really kill the processes? How do I stop this? (surely I should NOT have to rely on upstart and the "respawn limit unlimited" command). I'm running Version 7.0-20140202-002512 on Ubuntu.

Sam Davey
on 9/4/14, 5:52 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 8/16/13, 7:32 PM
Seen: 11414 times
Last updated: 3/16/15, 8:10 AM