Erro desconhecido no log

Boa noite,

Alguém me consegue ajudar com este log, ssfv?

KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'
2021-10-07 00:21:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 392, in _on_search
    ) = self._device_tracker.see_search(headers)
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/ssdp_listener.py", line 156, in see_search
    udn = headers["_udn"]
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/utils.py", line 57, in __getitem__
    return self._data[self._case_map[key.lower()]]
KeyError: '_udn'

Boas

Tens alguma integração com UPnP?

Abraço

Apenas o router, mesmo com a integração desabilitada o erro continua.

Screenshot 2021-10-13 at 14.14.33

Não terás no configuration.yaml alguma conexão anterior à instalação do UPnP/IGD; tipo smart TV, ou algo do género?

Faz um search: “upnp”, no configuration.yaml, pelo sim-pelo não.

Experimenta também dar uma vista de olhos nos files: core.config_entries, core.device_registry, core.entity_registry; caso lá esteja alguma entity/registo de antiga configuração.

Assim por algo estou a pensar em equipamentos tipo: impressoras, smart tvs, routers, android boxs, etc., que possas antes ter configurado.

Tinha a TV que não é compativel com o HASS (Samsung Tizen modelo 2018)


Copyright © 2017-2021. Todos os direitos reservados
CPHA.pt - info@cpha.pt


FAQ | Termos de Serviço/Regras | Política de Privacidade