Skip to content

NVR with realtime local object detection for IP cameras

Catch birdseye websocket error (#17502)

Josh Hawkins6475e042b5bf
diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.py
index 9bbd3abee2..919aa3054a 100644
--- a/frigate/output/birdseye.py
+++ b/frigate/output/birdseye.py
@@ -259,7 +259,7 @@ class BroadcastThread(threading.Thread):
ws.send(buf, binary=True)
except ValueError:
pass
- except (BrokenPipeError, ConnectionResetError) as e:
+ except (BrokenPipeError, ConnectionResetError, OSError) as e:
logger.debug(f"Websocket unexpectedly closed {e}")
elif self.converter.process.poll() is not None:
break