SBIG timeout
SBIG eth interface is known to handle max 20 connections per second. But sometimes, with 2 connections per second we experience timeout:
2023-01-31 22:20:15.575803 ERROR | Timeout or Connection timeout! (check inner_function:96)
2023-01-31 22:20:15.576399 ERROR | HTTPConnectionPool(host='ccd-sbig.orsa.unige.net', port=80): Max retries exceeded with url: /api/ImagerState.cgi (Caused by ConnectTimeoutError(<urllib3.connection.HTT
PConnection object at 0x7f978c79caf0>, 'Connection to ccd-sbig.orsa.unige.net timed out. (connect timeout=2)')) (check inner_function:97)
20
One of these resulted in a unrecoverable error:
2023-01-31 22:20:28.596865 ERROR | Timeout or Connection timeout! (check inner_function:96)
2023-01-31 22:20:28.597528 ERROR | HTTPConnectionPool(host='ccd-sbig.orsa.unige.net', port=80): Max retries exceeded with url: /api/ImagerState.cgi (Caused by ConnectTimeoutError(<urllib3.connection.HTT
PConnection object at 0x7f978c79dae0>, 'Connection to ccd-sbig.orsa.unige.net timed out. (connect timeout=2)')) (check inner_function:97)
Traceback (most recent call last):
File "/home/antola/software-di-controllo/./sequencer.py", line 237, in <module>
seq.execute()
File "/home/antola/software-di-controllo/./sequencer.py", line 104, in execute
self.tpl.run(self.params)
File "/home/antola/software-di-controllo/templates/basetemplate.py", line 51, in run
self.content(params)
File "/home/antola/software-di-controllo/templates/observation.py", line 155, in content
status = int(cam.state)
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'