Websocket connection frequently times out
Bug #1744759 reported by
Tim Rozet
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
Fix Released
|
Undecided
|
Tim Rozet |
Bug Description
By default the websocket connection timeout is set to the ML2 Conf timeout which is 10 seconds. We want the websocket connection to never timeout from the client side and remain open for incoming port status updates.
Changed in networking-odl: | |
assignee: | nobody → Tim Rozet (trozet) |
status: | New → In Progress |
To post a comment you must log in.
Error: odl.common. websocket_ client [-] websocket unexpected exception, closing and restarting...: SSLError: ('timed out',) odl.common. websocket_ client Traceback (most recent call last): odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ networking_ odl/common/ websocket_ client. py", line 125, in run_websocket_ thread odl.common. websocket_ client data = ws.recv() odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _core.py" , line 348, in recv odl.common. websocket_ client opcode, data = self.recv_data() odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _core.py" , line 365, in recv_data odl.common. websocket_ client opcode, frame = self.recv_ data_frame( control_ frame) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _core.py" , line 378, in recv_data_frame odl.common. websocket_ client frame = self.recv_frame() odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _core.py" , line 410, in recv_frame odl.common. websocket_ client return self.frame_ buffer. recv_frame( ) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _abnf.py" , line 312, in recv_frame odl.common. websocket_ client self.recv_header() odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _abnf.py" , line 261, in recv_header odl.common. websocket_ client header = self.recv_strict(2) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _abnf.py" , line 346, in recv_strict odl.common. websocket_ client bytes = self.recv( min(16384, shortage)) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _core.py" , line 479, in _recv odl.common. websocket_ client return recv(self.sock, bufsize) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ websocket/ _socket. py", line 77, in recv odl.common. websocket_ client bytes = sock.recv(bufsize) odl.common. websocket_ client File "/usr/lib/ python2. 7/site- packages/ eventlet/ green/ssl. py", line 194, in recv
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018-01-22 11:58:10.990 705578 ERROR networking_
2018...