My Reolink integration has been working perfectly for over a year until about a month ago, when it just randomly says “Failed to set up: Check the logs” and when I look at the log, I get this:
Log details (ERROR)
Logger: homeassistant.config_entries
Source: config_entries.py:751
First occurred: January 10, 2026 at 1:25:05 PM (5 occurrences)
Last logged: 3:49:53 PM
Error setting up entry NVR for reolink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/reolink/__init__.py", line 219, in async_setup_entry
await device_coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 319, in async_config_entry_first_refresh
await self._async_refresh(
log_failures=False, raise_on_auth_failed=True, raise_on_entry_error=True
)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/reolink/__init__.py", line 144, in async_device_config_update
await host.update_states()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 508, in update_states
await self._api.get_states(cmd_list=self.update_cmd, wake=wake)
File "/usr/local/lib/python3.13/site-packages/reolink_aio/api.py", line 2302, in get_states
await self.baichuan.get_states(cmd_list, wake)
File "/usr/local/lib/python3.13/site-packages/reolink_aio/baichuan/baichuan.py", line 1274, in get_states
raise result
asyncio.exceptions.CancelledError
I am positive that the IP Address is correct, and all RTSP and HTTP, and HTTPS are enabled on the NVR, and everything works because sometimes if I play with the settings and repeatedly click reconfigure and reload, sometimes it will just suddenly work without changing anything. But over the past week, it’s gotten more frequent and harder to fix to the point where it’s not worth fixing.
Hi @Matt49, I’m experiencing the same issue. My Reolink integration randomly stops working and throws the error above. Did you ever find a solution by any chance?
Logger: homeassistant.config_entries
Source: config_entries.py:787
First occurred: 6:53:07 AM (1 occurrence)
Last logged: 6:53:07 AM
Setup of config entry 'Reolink Hub' for reolink integration cancelled
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 787, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/reolink/__init__.py", line 76, in async_setup_entry
await host.async_init()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 194, in async_init
await self._api.get_host_data()
File "/usr/local/lib/python3.14/site-packages/reolink_aio/api.py", line 2590, in get_host_data
await self.get_rtsp_stream_source(channel, "main")
File "/usr/local/lib/python3.14/site-packages/reolink_aio/api.py", line 3399, in get_rtsp_stream_source
if await self._check_rtsp_url(self._rtsp_mainStream[channel], channel, stream):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/reolink_aio/api.py", line 3339, in _check_rtsp_url
response = await rtsp_conn.send_request("DESCRIBE", url_clean)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/aiortsp/rtsp/connection.py", line 285, in send_request
return await self.send_request(method, url, headers, timeout, body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/aiortsp/rtsp/connection.py", line 279, in send_request
resp = await asyncio.wait_for(self.active_requests[cseq], timeout or self.default_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/tasks.py", line 488, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError: Global task timeout: Bootstrap stage 2 timeout
For me the fix was just waiting. It eventually just fixed itself, I’m not sure if it was a HASS update or a Reolink update but I haven’t had the problem in a very long time. A temporary fix for me was to disable the Reolink integration and then start it again, sometimes even going in to reconfigure for the NVR would work. Sorry I couldn’t be more helpful.