Stange error in server logs - Error doing job: Task exception was never retrieved

Hi there!

I’m getting the following error in server log:

Logger: homeassistant
Source: components/discovery/__init__.py:219
First occurred: 11:30:10 AM (1 occurrences)
Last logged: 11:30:10 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/discovery/__init__.py", line 189, in scan_devices
    results = await hass.async_add_executor_job(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/discovery/__init__.py", line 219, in _discover
    for service in netdisco.get_info(disc):
  File "/usr/local/lib/python3.8/site-packages/netdisco/discovery.py", line 104, in get_info
    return self.discoverables[dis].get_info()
  File "/usr/local/lib/python3.8/site-packages/netdisco/discoverables/__init__.py", line 28, in get_info
    return [self.info_from_entry(entry) for entry in self.get_entries()]
  File "/usr/local/lib/python3.8/site-packages/netdisco/discoverables/__init__.py", line 28, in <listcomp>
    return [self.info_from_entry(entry) for entry in self.get_entries()]
  File "/usr/local/lib/python3.8/site-packages/netdisco/discoverables/homekit.py", line 14, in info_from_entry
    info = super(Discoverable, self).info_from_entry(entry)
  File "/usr/local/lib/python3.8/site-packages/netdisco/discoverables/__init__.py", line 129, in info_from_entry
    ATTR_HOST: str(ipaddress.ip_address(entry.addresses[0])),
IndexError: list index out of range

Can anyone help, plese?

Thx :slight_smile:

Hi.
I have the same error and by looking for it on google I found your post.
Let’s hope in some suggestion…