Hey there!
Google didn´t help so maybe community will
I have HA instance running on RPi3b+ at my dad´s house. Everything was working correctly and also trial version of nabu-casa work well. After trial I subscribed so I can maintain it remotely for him. However during week HA was without subscription something went wrong and after subcribing in HA settings under title “Home Assistant Cloud” I got stucked with text “Fetching subscription…” and nothing changed even after hours. So I tried to unlink nabu-casa account and add it again but I got red text “Unable to reach the Home Assistant cloud”. I tried fresh instalation but it still “Unable to reach…”. HA instance is obviously able to connect to the internet as it downloaded all addons correctly. I think that it´s some kind of local network or router issue but I really don´t know what should I be looking for in router configuration. Anybody any idea? system log below.
Btw. it´s not that big issue as HA was mainly for heating regulation and that works great locally but my dad “got thing” for this whole home automation universe and started ordering smart lights and cameras so now I´m this ambitious son who brough something to the home and is unable to fix it [desperate-face-emoji]
Home Assistant 0.94.1
2019-06-08 14:46:14 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:46:25 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:46:39 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:46:54 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:46:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1878740688] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 955, in _create_direct_connection
traces=traces), loop=self._loop)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 825, in _resolve_host
self._resolver.resolve(host, port, family=self._family)
File "/usr/local/lib/python3.7/site-packages/aiohttp/resolver.py", line 30, in resolve
host, port, type=socket.SOCK_STREAM, family=family)
File "uvloop/loop.pyx", line 1464, in getaddrinfo
socket.gaierror: [Errno -3] Try again
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 17, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/cloud/http_api.py", line 329, in websocket_subscription
response = await cloud.fetch_subscription_info()
File "/usr/local/lib/python3.7/site-packages/hass_nabucasa/__init__.py", line 136, in fetch_subscription_info
self.subscription_info_url, headers={"authorization": self.id_token}
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 476, in _request
timeout=real_timeout
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 522, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 854, in _create_connection
req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 959, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host stripe-api.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:47:25 WARNING (MainThread) [hass_nabucasa.iot] Unable to connect: Cannot connect to host cloud.nabucasa.com:443 ssl:None [Try again]
2019-06-08 14:51:09 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.karvina_praha fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 160, 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
Thanks everyone for help!