I’m getting this error, I’m unable to find the cause(s). A lot of users are complaining but couldn’t find a solution. I’m not using SSL, is it a network related? Or a bug?
HA is running on Virtualbox VM on Intel NUC (Ubuntu).
Logger: homeassistant
Source: components/upnp/device.py:103
First occurred: 2:23:34 AM (1 occurrences)
Last logged: 2:23:34 AM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/aiohttp.py", line 125, in async_do_http_request
async with self._session.request(
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/aiohttp.py", line 137, in async_do_http_request
resp_body = None
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 55, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.9/site-packages/async_timeout/__init__.py", line 92, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 179, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 260, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/upnp/config_flow.py", line 169, in async_step_ssdp
discovery = await Device.async_supplement_discovery(self.hass, discovery)
File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 85, in async_supplement_discovery
device = await Device.async_create_device(hass, location)
File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 103, in async_create_device
upnp_device = await factory.async_create_device(ssdp_location)
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client_factory.py", line 67, in async_create_device
root = await self._async_get_url_xml(description_url)
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client_factory.py", line 344, in _async_get_url_xml
status_code, _, response_body = await self.requester.async_http_request(
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client.py", line 81, in async_http_request
) = await self.async_do_http_request(
File "/usr/local/lib/python3.9/site-packages/async_upnp_client/aiohttp.py", line 139, in async_do_http_request
raise UpnpConnectionTimeoutError from err
async_upnp_client.exceptions.UpnpConnectionTimeoutError