This question has been flagged
1 Reply
2258 Views

What cause this time out error:

2017-03-29 08:25:14,318 9819 INFO ? openerp.service.server: Worker WorkerHTTP (9819) alive 2017-03-29 08:25:14,806 9775 ERROR test openerp.service.server: Worker (9775) Exception occured, exiting...
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openerp/service/server.py", line 766, in run
    self.process_work()
  File "/usr/lib/python2.7/site-packages/openerp/service/server.py", line 799, in process_work
    self.process_request(client, addr)
  File "/usr/lib/python2.7/site-packages/openerp/service/server.py", line 790, in process_request
    self.server.process_request(client, addr)
  File "/usr/lib64/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__
    self.finish()
  File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish
    self.wfile.close()
  File "/usr/lib64/python2.7/socket.py", line 279, in close
    self.flush()
  File "/usr/lib64/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
timeout: timed out


Is this a network connection issue? Thanks in advance


Avatar
Discard
Best Answer

If you have reverse proxy, I think you have latency on your network between your reverse proxy and your server.

default timeout is set to 0.5 sec. You might increase that value to 1.0 or fix your network/reverse proxy.

Here is a topic that seems to be related : https://github.com/odoo/odoo/pull/12356

Avatar
Discard