home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.64k stars 30.79k forks source link

Lost event subscription #130112

Open josefkrtil opened 5 days ago

josefkrtil commented 5 days ago

The problem

Logs are filled every 30 seconds with: Baichuan host 192.168.0.xxx: lost event subscription - for every camera

What version of Home Assistant Core has the issue?

2024.11.0

What was the last working version of Home Assistant Core?

2024.10.4

What type of installation are you running?

Home Assistant Container

Integration causing the issue

reolink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/reolink/

Diagnostics information

Logger: reolink_aio.baichuan.baichuan Zdroj: runner.py:189 První výskyt: 7. listopadu 2024 v 11:49:20 (7901 výskyty) Naposledy logováno: 09:46:10

Baichuan host 192.168.0.146: lost event subscription Baichuan host 192.168.0.145: lost event subscription Baichuan host 192.168.0.159: lost event subscription

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

cameras are: 2x Reolink RLC-410 and 1x Reolink E1 Zoom other cameras without problem

home-assistant[bot] commented 5 days ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `reolink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign reolink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


reolink documentation reolink source (message by IssueLinks)

starkillerOG commented 5 days ago

Can you enable debug logging for the Reolink integration for 3 minutes, disable debug logging and post the resulting log.txt file here?

https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging

josefkrtil commented 5 days ago

home-assistant_reolink_2024-11-08T11-42-12.072Z.log

fereehu commented 4 days ago

I got the same error logs after updating to 2024.11.

2024-11-08 18:20:30.053 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.125: lost event subscription 2024-11-08 18:20:38.271 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.115: lost event subscription 2024-11-08 18:20:38.430 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.111: lost event subscription 2024-11-08 18:20:38.783 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.117: lost event subscription 2024-11-08 18:20:38.837 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.116: lost event subscription 2024-11-08 18:20:40.224 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.121: lost event subscription 2024-11-08 18:20:40.466 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.122: lost event subscription 2024-11-08 18:20:51.138 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.3.128: lost event subscription

ignazhabibi commented 3 days ago

Same problem. Reolink NVR with 4x Reolink RLC-410

landaisbenj commented 3 days ago

Same to me : Capture d’écran 2024-11-10 130924 home-assistant_reolink_2024-11-10T12-00-19.457Z.log

starkillerOG commented 1 day ago

Thanks for the debug logs, I think this commit will fix the issue https://github.com/starkillerOG/reolink_aio/commit/869cd9f36e18419027c541fddc537ed8fad0779b

And otherwise I will at least get better logs that will help me debug this better:https://github.com/starkillerOG/reolink_aio/commit/c36c9c19632b54d62db940d5e58b9430f5f11647

Will let you know once the fix is available in a HA patch release.

starkillerOG commented 2 hours ago

The fix will be included in HA 2024.11.2 which is scheduled for Friday. Please let me know if the issue is fixed once you have updated.