Traceback (most recent call last):


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/redis/connection.py", line 185, in _read_from_socket

raise socket.error(SERVER_CLOSED_CONNECTION_ERROR)
OSError: Connection closed by server.

Traceback (most recent call last):


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/bootstrap.py", line 151, in _async_setup_component

None, component.setup, hass, config)


 "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup

value = future.result()


 "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

raise self._exception


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/zeroconf.py", line 51, in setup

socket.AF_INET6, hass.config.api.host),
OSError: illegal IP address string passed to inet_pton
