Closed astrobokonon closed 3 years ago
Hacked in a potential fix in 86c5815f281215a5d19fffbf150a5588bc3ce125; I'm ultimately not sure if it's the best idea but it's the easiest for now to make sure that the connection error is handled in the same way as the existing one I raise if the HTTP status is not ok.
Looks like it worked!
2021-03-04 18:00:45,454 INFO Retrieving camera image: Genset
2021-03-04 18:00:45,454 INFO Attempting to write image to ./outputs/images/dct//genset.jpg
2021-03-04 18:00:50,465 INFO Bad grab :(
2021-03-04 18:00:50,465 INFO HTTPConnectionPool(host='10.x.x.x', port=80): Read timed out. (read timeout=5.0)
Not sure which is the real exception to trace down, hopefully it's just a simple one not catching the timeout