core icon indicating copy to clipboard operation
core copied to clipboard

Reolink integration holding up start of HA & sometimes after initialisation, fails with error

Open matt0020190 opened this issue 6 months ago • 5 comments

The problem

Reolink integration holding up start of HA & sometimes after initialisation, fails with error. The load up initially is very slow. I looked into the logs and it appears there are several errors attached.

To be fair, the cameras all work eventually but I can see on my dashboard they periodically go offline/unavailable for a few minutes before returning. I also checked the binary sensors for human/animal etc and they work but I would say a delay of 5 seconds.

I checked the diagnostics and can see the NVR is using fast polling. I ensured ONVIF port 8000 was forwarded in my router to the NVR, I disabled the local automatic URL and manually entered one with http:// but still no further forward.

reolinkerrors

What version of Home Assistant Core has the issue?

2024.8.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Reolink

Link to integration documentation on our website

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

Diagnostics information

config_entry-reolink-7b8a6c6e4dad5459b1001f226f159dac (1).json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-24 22:56:32.877 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('reolink', '7b8a6c6e4dad5459b1001f226f159dac'): 263486.952536105}
2024-08-24 22:57:32.934 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('reolink', '7b8a6c6e4dad5459b1001f226f159dac'): 263486.952536105}
2024-08-24 22:58:32.998 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('reolink', '7b8a6c6e4dad5459b1001f226f159dac'): 263486.952536105}
2024-08-24 22:59:16.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 22:59:16.838 ERROR (MainThread) [homeassistant.components.reolink.host] Error while requesting ONVIF pull point: Host 192.168.50.210:443: failed to request pull point message, not yet subscribed
2024-08-24 22:59:33.065 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('reolink', '7b8a6c6e4dad5459b1001f226f159dac'): 263486.952536105}
2024-08-24 23:02:23.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 23:04:26.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 23:06:29.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 23:08:32.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 23:10:35.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.
2024-08-24 23:12:38.835 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink CCTV NVR event long polling subscription lost: Host 192.168.50.210:443: failed to subscribe long_poll: Host 192.168.50.210:443: connection timeout exception.

Additional information

No response

matt0020190 avatar Aug 24 '24 22:08 matt0020190