Hi there,
I have been using Hassio on a Raspberry PI 3 for three months. This weekend all the components and services that requires external connection suddenly stopped working without any notice.
Anyway I can reach the web interface and perform other network tasks like install/update components from the addons store and browse the smb share.
I’ve already performed a complete Wipe&Restore from a 6 days old backup but nothing changed. HA version is 0.88, here’s the startup log
2019-03-11 11:02:39 WARNING (MainThread) [homeassistant.loader] You are using a custom component for custom_updater which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-11 11:02:42 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hue.device_tracker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-11 11:02:43 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hue.binary_sensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-11 11:02:44 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hue.sensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-11 11:02:50 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.178.106
2019-03-11 11:02:50 WARNING (MainThread) [homeassistant.config_entries] Config entry for hue not ready yet. Retrying in 5 seconds.
2019-03-11 11:02:50 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/__init__.py", line 48, in setup
'read_station read_camera access_camera '
File "/usr/local/lib/python3.7/site-packages/pyatmo.py", line 85, in __init__
self._accessToken = resp["access_token"]
TypeError: 'NoneType' object is not subscriptable
2019-03-11 11:02:51 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform prezzibenzina
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/prezzibenzina.py", line 61, in async_setup_platform
info = client.get_by_id(station)
File "/usr/local/lib/python3.7/site-packages/prezzibenzina/__init__.py", line 10, in get_by_id
r = requests.get(BASE_URL.format(id))
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.prezzibenzina.it', port=443): Max retries exceeded with url: /distributori/2782 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x71f61e10>: Failed to establish a new connection: [Errno -3] Try again'))
2019-03-11 11:02:51 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of netatmo.climate. Setup failed for dependencies: netatmo
2019-03-11 11:02:51 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform netatmo.climate: Could not set up all dependencies.
2019-03-11 11:02:54 WARNING (MainThread) [homeassistant.components.weather] Setup of platform darksky is taking over 10 seconds.
2019-03-11 11:02:54 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform yr is taking over 10 seconds.
2019-03-11 11:02:54 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 17 minutes:
2019-03-11 11:02:56 ERROR (SyncWorker_1) [homeassistant.components.weather.darksky] Unable to connect to Dark Sky. HTTPSConnectionPool(host='api.darksky.net', port=443): Max retries exceeded with url: /forecast/607fe7e012bd48235abe7c81356b61d8/45.739986,9.427463?units=ca&lang=en (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6fd183f0>: Failed to establish a new connection: [Errno -3] Try again'))
2019-03-11 11:02:56 ERROR (MainThread) [homeassistant.components.weather] darksky: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/darksky.py", line 202, in update
self._ds_currently = self._dark_sky.currently.d
AttributeError: 'NoneType' object has no attribute 'd'
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall google.scan_for_calendars (c:ff8b2bf9555b4f938f9562515b8475d7)>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 995, in _conn_request
conn.connect()
File "/usr/local/lib/python3.7/http/client.py", line 1384, in connect
super().connect()
File "/usr/local/lib/python3.7/http/client.py", line 928, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/local/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1142, in _safe_execute
await self._execute_service(handler, service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1157, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/__init__.py", line 202, in _scan_for_calendars
service = calendar_service.get()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/__init__.py", line 253, in get
'calendar', 'v3', http=http, cache_discovery=False)
File "/usr/local/lib/python3.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/discovery.py", line 229, in build
requested_url, discovery_http, cache_discovery, cache)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/discovery.py", line 276, in _retrieve_discovery_doc
resp, content = http.request(actual_url)
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 175, in new_request
redirections, connection_type)
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 282, in request
connection_type=connection_type)
File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1322, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1072, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1002, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at www.googleapis.com
2019-03-11 11:02:57 WARNING (SyncWorker_13) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_14) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_15) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 WARNING (SyncWorker_4) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_19) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_2) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_9) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 WARNING (SyncWorker_10) [homeassistant.components.google.calendar] Unable to connect to Google, using cached data
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:02:57 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 39, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 51, in __init__
super().__init__(hass, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 85, in __init__
self.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/calendar/__init__.py", line 151, in update
if not self.data or not self.data.update():
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py", line 109, in update
service, params = self._prepare_query()
TypeError: cannot unpack non-iterable bool object
2019-03-11 11:03:01 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform spotify is taking over 10 seconds.
2019-03-11 11:03:06 ERROR (MainThread) [homeassistant.components.media_player] spotify: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6f7a0290>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='accounts.spotify.com', port=443): Max retries exceeded with url: /api/token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6f7a0290>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/media_player/spotify.py", line 169, in update
self.refresh_spotify_instance()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/media_player/spotify.py", line 155, in refresh_spotify_instance
self._token_info['refresh_token'])
File "/usr/local/lib/python3.7/site-packages/spotipy/oauth2.py", line 239, in refresh_access_token
headers=headers, proxies=self.proxies)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='accounts.spotify.com', port=443): Max retries exceeded with url: /api/token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6f7a0290>: Failed to establish a new connection: [Errno -3] Try again'))
2019-03-11 11:20:00 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 15 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
Does anybody know what could be the problem?
Thank you!