Skip to content

Instantly share code, notes, and snippets.

@iDVB
Created January 30, 2017 01:08
Show Gist options
  • Select an option

  • Save iDVB/310b952422636a945786d5ba668b703c to your computer and use it in GitHub Desktop.

Select an option

Save iDVB/310b952422636a945786d5ba668b703c to your computer and use it in GitHub Desktop.
HA Errors
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Error during setup of component http
Traceback (most recent call last):
File "/usr/src/app/homeassistant/util/__init__.py", line 91, in get_local_ip
sock.connect(('8.8.8.8', 80))
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/bootstrap.py", line 148, in _async_setup_component
result = yield from component.async_setup(hass, config)
File "/usr/local/lib/python3.5/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/usr/src/app/homeassistant/components/http/__init__.py", line 169, in async_setup
host = hass_util.get_local_ip()
File "/usr/src/app/homeassistant/util/__init__.py", line 95, in get_local_ip
return socket.gethostbyname(socket.gethostname())
socket.gaierror: [Errno -3] Temporary failure in name resolution
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing api because not all dependencies loaded: http
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing websocket_api because not all dependencies loaded: http
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing frontend because not all dependencies loaded: api, websocket_api
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=140531490826728-1, domain=persistent_notification, service=create, service_data=title=Invalid config, notification_id=invalid_config, message=The following components and platforms could not be set up:
* [http](https://home-assistant.io/components/http/)
Please check your config>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [http](https://home-assistant.io/components/http/)
Please check your config; title=Invalid config @ 2017-01-29T19:50:19.804377-05:00>>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=140531490826728-1>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.bootstrap] Setting up updater
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.bootstrap] Setting up conversation
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=conversation, service=process>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=conversation>
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing logbook because not all dependencies loaded: frontend
17-01-30 00:50:19 INFO (MainThread) [homeassistant.loader] Loaded sensor.yr from homeassistant.components.sensor.yr
17-01-30 00:50:19 INFO (MainThread) [homeassistant.bootstrap] Setting up sensor
17-01-30 00:50:19 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, entity_id=sensor.yr_symbol, new_state=<state sensor.yr_symbol=unknown; entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., friendly_name=yr Symbol @ 2017-01-29T19:50:19.830721-05:00>>
17-01-30 00:50:19 WARNING (MainThread) [homeassistant.components.sensor.yr] Retrying in 15 minutes: [Errno -2] Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:True [Name or service not known]
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.bootstrap] Setting up sun
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=0, azimuth=0, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sun>
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing tts because not all dependencies loaded: http
17-01-30 00:50:19 ERROR (MainThread) [homeassistant.bootstrap] Not initializing history because not all dependencies loaded: http
17-01-30 00:50:19 INFO (MainThread) [homeassistant.bootstrap] Setting up discovery
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Starting Home Assistant core loop
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Starting Home Assistant
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]>
17-01-30 00:50:19 INFO (MainThread) [homeassistant.core] Timer:starting
17-01-30 00:50:19 INFO (Thread-13) [netdisco.service] Scanning
Exception in thread Thread-15:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/site-packages/netdisco/gdm.py", line 24, in scan
self.update()
File "/usr/local/lib/python3.5/site-packages/netdisco/gdm.py", line 79, in update
sock.sendto(gdm_msg, (gdm_ip, gdm_port))
OSError: [Errno 101] Network is unreachable
Exception in thread Thread-16:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/site-packages/netdisco/lms.py", line 21, in scan
self.update()
File "/usr/local/lib/python3.5/site-packages/netdisco/lms.py", line 43, in update
sock.sendto(lms_msg, (lms_ip, lms_port))
OSError: [Errno 101] Network is unreachable
Exception in thread Thread-17:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/site-packages/netdisco/tellstick.py", line 24, in scan
self.update()
File "/usr/local/lib/python3.5/site-packages/netdisco/tellstick.py", line 39, in update
sock.sendto(DISCOVERY_PAYLOAD, (DISCOVERY_ADDRESS, DISCOVERY_PORT))
OSError: [Errno 101] Network is unreachable
Exception in thread Thread-18:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/site-packages/netdisco/daikin.py", line 35, in scan
self.update()
File "/usr/local/lib/python3.5/site-packages/netdisco/daikin.py", line 53, in update
sock.sendto(DISCOVERY_MSG, (DISCOVERY_ADDRESS, UDP_DST_PORT))
OSError: [Errno 101] Network is unreachable
17-01-30 00:50:20 WARNING (Thread-11) [homeassistant.components.recorder] Ended unfinished session (id=2 from 2017-01-29 16:27:33.553961)
17-01-30 00:50:20 WARNING (Thread-11) [homeassistant.components.recorder] Found unfinished sessions
Exception in thread Thread-13:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/site-packages/netdisco/service.py", line 59, in run
self._scan()
File "/usr/local/lib/python3.5/site-packages/netdisco/service.py", line 75, in _scan
for disc in self.discovery.discover():
File "/usr/local/lib/python3.5/site-packages/netdisco/discovery.py", line 96, in discover
return [dis for dis, checker in self.discoverables.items()
File "/usr/local/lib/python3.5/site-packages/netdisco/discovery.py", line 97, in <listcomp>
if checker.is_discovered()]
File "/usr/local/lib/python3.5/site-packages/netdisco/discoverables/__init__.py", line 10, in is_discovered
return len(self.get_entries()) > 0
File "/usr/local/lib/python3.5/site-packages/netdisco/discoverables/plex_mediaserver.py", line 15, in get_entries
return self.find_by_data({'Content-Type': 'plex/media-server'})
File "/usr/local/lib/python3.5/site-packages/netdisco/discoverables/__init__.py", line 141, in find_by_data
return self.netdis.gdm.find_by_data(values)
File "/usr/local/lib/python3.5/site-packages/netdisco/gdm.py", line 42, in find_by_data
self.scan()
File "/usr/local/lib/python3.5/site-packages/netdisco/gdm.py", line 24, in scan
self.update()
File "/usr/local/lib/python3.5/site-packages/netdisco/gdm.py", line 79, in update
sock.sendto(gdm_msg, (gdm_ip, gdm_port))
OSError: [Errno 101] Network is unreachable
17-01-30 00:50:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=0, azimuth=0, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.44, azimuth=270.4, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:51:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.44, azimuth=270.4, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.62, azimuth=270.58, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:52:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.62, azimuth=270.58, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.8, azimuth=270.75, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:53:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.8, azimuth=270.75, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.98, azimuth=270.93, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:54:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-26.98, azimuth=270.93, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.16, azimuth=271.1, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:55:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.16, azimuth=271.1, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.34, azimuth=271.28, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:56:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.34, azimuth=271.28, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.52, azimuth=271.45, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:57:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.52, azimuth=271.45, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.7, azimuth=271.63, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
17-01-30 00:58:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.7, azimuth=271.63, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>, entity_id=sun.sun, new_state=<state sun.sun=below_horizon; next_rising=2017-01-30T12:35:14+00:00, elevation=-27.88, azimuth=271.8, next_setting=2017-01-30T22:25:49+00:00, friendly_name=Sun @ 2017-01-29T19:50:19.847291-05:00>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment