Hi
i am facing with HA continuously one problem after i think around 24 hour or + time HA provide 404: Not Found ,then i have to restart .
below is last log that i got please help me whats wrong
17-03-20 18:17:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component mqtt
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py", line 184, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/mqtt/__init__.py", line 338, in async_setup
success = yield from hass.data[DATA_MQTT].async_connect()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/mqtt/__init__.py", line 446, in async_connect
None, self._mqttc.connect, self.broker, self.port, self.keepalive)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/deps/paho/mqtt/client.py", line 686, in connect
return self.reconnect()
File "/home/homeassistant/.homeassistant/deps/paho/mqtt/client.py", line 808, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/lib/python3.4/socket.py", line 509, in create_connection
raise err
File "/usr/lib/python3.4/socket.py", line 500, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Error during setup of component http
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/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 "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py", line 184, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File "/usr/lib/python3.4/asyncio/coroutines.py", line 141, in coro
res = func(*args, **kw)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 166, in async_setup
host = hass_util.get_local_ip()
File "/srv/homeassistant/lib/python3.4/site-packages/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-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of config. Setup failed for dependencies: http
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not setup all dependencies.
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not setup all dependencies.
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of api. Setup failed for dependencies: http
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not setup all dependencies.
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of tts. Setup failed for dependencies: http
17-03-20 18:17:36 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not setup all dependencies.
17-03-20 18:17:37 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 153, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/broadlink.py", line 149, in setup_platform
broadlink_device.auth()
File "/home/homeassistant/.homeassistant/deps/broadlink/__init__.py", line 175, in auth
response = self.send_packet(0x65, payload)
File "/home/homeassistant/.homeassistant/deps/broadlink/__init__.py", line 248, in send_packet
self.cs.sendto(packet, self.host)
OSError: [Errno 101] Network is unreachable
17-03-20 18:17:39 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=116 from 2017-03-20 05:11:30.408989)
17-03-20 18:17:39 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
17-03-20 18:17:39 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
17-03-20 18:17:39 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: http
17-03-20 18:17:39 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
17-03-20 18:17:45 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
17-03-20 18:17:46 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
17-03-20 18:17:47 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform openweathermap is taking over 10 seconds.
17-03-20 18:18:18 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform openweathermap
Traceback (most recent call last):
File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 859, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.4/socket.py", line 491, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.4/socket.py", line 530, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/pyowm/commons/weather_client.py", line 56, in _lookup_cache_or_invoke_API
response = urlopen(API_full_url, None, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 455, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
result = func(*args)
File "/usr/lib/python3.4/urllib/request.py", line 1202, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.4/urllib/request.py", line 1176, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 153, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 76, in setup_platform
name, data, variable, SENSOR_TYPES[variable][1]))
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 98, in __init__
self.update()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 124, in update
self.owa_client.update()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 181, in update
obs = self.owm.weather_at_coords(self.latitude, self.longitude)
File "/home/homeassistant/.homeassistant/deps/pyowm/webapi25/owm25.py", line 247, in weather_at_coords
'lang': self._language})
File "/home/homeassistant/.homeassistant/deps/pyowm/commons/weather_client.py", line 90, in call_API
return self._lookup_cache_or_invoke_API(self._cache, url, timeout)
File "/home/homeassistant/.homeassistant/deps/pyowm/commons/weather_client.py", line 65, in _lookup_cache_or_invoke_API
raise api_call_error.APICallError(str(e), e)
pyowm.exceptions.api_call_error.APICallError: <unprintable APICallError object>