I have installed HA 0.68.1 on a Raspberry Pi 3 running Gentoo Linux. The install completed without incident. I am using the default configuration created by HA with one addition. I added:
base_url: firewall:8123
to the html: entry.
Seconds after starting HA, I get the following error in the log:
2018-05-09 01:56:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/__init__.py", line 221, in async_start
success = yield from self._fetch_jwt_keyset()
File "/opt/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/__init__.py", line 270, in _fetch_jwt_keyset
req = yield from session.get(url)
File "/opt/homeassistant/lib/python3.5/site-packages/aiohttp/client.py", line 320, in _request
traces=traces
File "/opt/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py", line 418, in connect
traces=traces
File "/opt/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py", line 733, in _create_connection
traces=traces
File "/opt/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py", line 838, in _create_direct_connection
req=req, client_error=client_error)
File "/opt/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
File "/usr/lib/python3.5/asyncio/base_events.py", line 731, in create_connection
infos = f1.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.5/socket.py", line 733, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
TypeError: getaddrinfo() argument 1 must be string or None
Subsequently, everything I try causes the error again and again in the log, and I cannot get even a simple test of tts to work.
2018-05-09 01:58:31 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall tts.google_say: entity_id=['media_player.d_office_speaker'], message=test>
followed by the same getaddrinfo() traceback error.
In another thread I have been trying to resolve the tts error. but now believe I need to resolve the initial getaddrinfo() error first, as it appears to be causing all the problems:
https://community.home-assistant.io/t/cant-get-tts-to-work-new-user/52635
Can anyone help me find/fix the getaddrinfo() error?
Thanks!