Open bruce607 opened 8 hours ago
Current home assistant info... Core 2024.11.3 Supervisor 2024.11.4 Operating System 14.0 Frontend 20241106.2
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!
(message by CodeOwnersMention)
reolink documentation reolink source (message by IssueLinks)
The problem
Updated Home assistant core today & reolink integration now fails with the following log error...
Logger: homeassistant.config_entries Source: config_entries.py:635 First occurred: 8:19:34 AM (1 occurrences) Last logged: 8:19:34 AM
Error setting up entry NVR for reolink Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1059, in start message, payload = await protocol.read() # type: ignore[union-attr] ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 644, in read await self._waiter asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5344, in send_chunk response = await self._aiohttp_session.post(url=self._url, json=body, params=param, allow_redirects=False, timeout=self._timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 690, in _request await resp.start(conn) File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1054, in start with self._timer: File "/usr/local/lib/python3.12/site-packages/aiohttp/helpers.py", line 749, in exit raise asyncio.TimeoutError from exc_val TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/reolink/init.py", line 66, in async_setup_entry await host.async_init() File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 150, in async_init await self._api.get_host_data() File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 2160, in get_host_data json_data = await self.send(body, expected_response_type="json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5245, in send return await self.send_chunk(body, param, expected_response_type, retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5309, in send_chunk await self._login_open_port() File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 1356, in _login_open_port await self.login() File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 1203, in login json_data = await self.send(body, param, expected_response_type="json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5245, in send return await self.send_chunk(body, param, expected_response_type, retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5552, in send_chunk return await self.send(body, param, expected_response_type, retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5245, in send return await self.send_chunk(body, param, expected_response_type, retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/reolink_aio/api.py", line 5344, in send_chunk response = await self._aiohttp_session.post(url=self._url, json=body, params=param, allow_redirects=False, timeout=self._timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 690, in _request await resp.start(conn) File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1059, in start message, payload = await protocol.read() # type: ignore[union-attr] ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 644, in read await self._waiter asyncio.exceptions.CancelledError
What version of Home Assistant Core has the issue?
Current, updated today
What was the last working version of Home Assistant Core?
last version
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Reolink
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
was working with no issues prior to todays update