Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in logs from zeroconf #38080

Closed
jesserockz opened this issue Jul 22, 2020 · 2 comments · Fixed by #38094
Closed

Error in logs from zeroconf #38080

jesserockz opened this issue Jul 22, 2020 · 2 comments · Fixed by #38094
Assignees
Milestone

Comments

@jesserockz
Copy link
Member

jesserockz commented Jul 22, 2020

The problem

There is an error in the logs from the zeroconf integration

Environment

  • Home Assistant Core release with the issue: 0.113.0
  • Last working Home Assistant Core release (if known):
  • Operating environment (OS/Container/Supervised/Core): Supervised
  • Integration causing this issue: zeroconf
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/zeroconf/

Problem-relevant configuration.yaml

zeroconf:

Traceback/Error logs

Exception in thread zeroconf-ServiceBrowser__daap._tcp.local.-_nut._tcp.local.-_viziocast._tcp.local.-_elg._tcp.local.-_plugwise._tcp.local.-_dkapi._tcp.local.-_axis-video._tcp.local.-_spotify-connect._tcp.local.-_printer._tcp.local.-_ipps._tcp.local.-_wled._tcp.local.-_ipp._tcp.local.-_miio._udp.local.-_hap._tcp.local.-_api._udp.local.-_googlecast._tcp.local.-_esphomelib._tcp.local._286:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 1675, in run
    self._service_state_changed.fire(
  File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 211, in service_update
    info = info_from_service(service_info)
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 313, in info_from_service
    address = service.addresses[0]
IndexError: list index out of range

Additional information

@probot-home-assistant
Copy link

Hey there @Kane610, mind taking a look at this issue as its been labeled with an integration (zeroconf) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@bdraco
Copy link
Member

bdraco commented Jul 23, 2020

That's not good as its also going to cause the service browser thread to die.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment