Open bwthor opened 12 months ago
One other thing I've noticed that I didn't see mentioned in this thread is the hitting of the connection limit in BI, which is set to 50 by default. It seems that the HA integration creates a lot of connections - maybe 1 per camera? - and if you have a couple people using HA and surfing cameras you can all of a sudden get broken camera images or thumbnails without any obvious error message. I bumped my connection limit to 75 and that fixed it. (We have 7 cameras) Reloading the integration probably terminates all existing connections so there is a chance that this is another underlying issue along with authentication, which I think is the main one.
Exempt the IP and increase the connection limit and I bet it will solve just about every problem. I see you have it set to 99, which is good. I've never had to reload the BI integration after a BI update or restart.
Yep 16 cameras in my set up but I didn't change that setting yesterday (maybe I had in the past). Everything is still running smoothly. No feed has become unavailable from BI
All seems fine now with those changes...still some log entries in HA i'd like to clean up though...
From: johnjoemorgan @.> Sent: Wednesday, April 10, 2024 9:34 PM To: elad-bar/ha-blueiris @.> Cc: Robert Stephens @.>; Comment @.> Subject: Re: [elad-bar/ha-blueiris] Cameras Stop Working (Issue #217)
Yep 16 cameras in my set up but I didn't change that setting yesterday (maybe I had in the past). Everything is still running smoothly. No feed has become unavailable from BI
— Reply to this email directly, view it on GitHubhttps://github.com/elad-bar/ha-blueiris/issues/217#issuecomment-2048775216, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCD5HKSGTQ2F7RDE2AO5JTY4XSA3AVCNFSM6AAAAAA74ALH2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYG43TKMRRGY. You are receiving this because you commented.Message ID: @.***>
Hello everyone, I also had this problem. I have a somewhat complex network at home with segregations for video surveillance, IoT, and other networks. By doing network dumps, I practically noticed that Home Assistant uses port 1900/UDP on the multicast address 239.255.255.250 to keep the media player of the cameras active. By testing and dropping this connection, after a while, it sets the camera entity to "inactive," and the streaming flow doesn't work. If I restart the integration, it starts again, but after a short while, it stops as it receives drops from the firewall and gets the error:
Error opening stream (HTTP_UNAUTHORIZED, Server returned 401 Unauthorized (authorization failed), http://192.168.1.3:81/h264/Esterno/temp.m3u8?session=517d367311ce3486391806c02f2c4de2)
I hope this can be helpful to someone.
I've had the BI/HA Integration running for quite some time, and have had zero issues. This past week I've started losing all my cameras after a number of hours. BI is working with no issues. In order to get them working again, I need to Reload the Integration, and then it works just fine again. Logs below show some issues.
I'd be more than happy to look at other areas for logs and such if someone can point me in the right direction. HA is updated to the latest and BI is as well (5.8.1.1).