Network issue

Hi

I have some trouble with the network or something. I have now reinstalled hassio but same issue When I activate netatmo or tellduslive or anything else it seems like it can’t download anything from the net. Before I reinstalled hassio I had the yr.no sensor enabled but it didn’t download any weather information… Any ideas? I’m running it on a PI3

Error log:
2017-09-09 22:44:34 WARNING (SyncWorker_0) [tellduslive] Failed request: HTTPSConnectionPool(host=‘api.telldus.com’, port=443): Max retries exceeded with url: /json/user/profile (Caused by NewConnectionError(’<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x74130590>: Failed to establish a new connection: [Errno -3] Try again’,))
2017-09-09 22:44:34 ERROR (SyncWorker_0) [homeassistant.components.tellduslive] Authentication Error: Please make sure you have configured your keys that can be aquired from https://api.telldus.com/keys/index
2017-09-09 22:44:34 ERROR (MainThread) [homeassistant.setup] Setup failed for tellduslive: Component failed to initialize.
2017-09-09 22:44:37 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-09-09 22:44:37 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
Traceback (most recent call last):
File “/usr/lib/python3.6/urllib/request.py”, line 1318, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File “/usr/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/lib/python3.6/http/client.py”, line 964, in send
self.connect()
File “/usr/lib/python3.6/http/client.py”, line 1392, in connect
super().connect()
File “/usr/lib/python3.6/http/client.py”, line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/usr/lib/python3.6/socket.py”, line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “/usr/lib/python3.6/socket.py”, line 743, 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/lib/python3.6/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/netatmo.py”, line 55, in setup
'read_station read_camera access_camera ’
File “/usr/lib/python3.6/site-packages/lnetatmo.py”, line 71, in init
resp = postRequest(_AUTH_REQ, postParams)
File “/usr/lib/python3.6/site-packages/smart_home/init.py”, line 27, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “/usr/lib/python3.6/urllib/request.py”, line 223, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/lib/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/lib/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/usr/lib/python3.6/urllib/request.py”, line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/lib/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
2017-09-09 22:44:38 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-09-09 22:44:43 WARNING (MainThread) [homeassistant.components.sensor.yr] Retrying in 15 minutes: [Errno -3] Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:True [Try again]
2017-09-09 22:45:24 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.

1 Like

Can you post the hassio supervisor logs too please?

Supervisor log:

starting version 3.2.2
17-09-10 08:57:30 INFO (MainThread) [main] Initialize Hassio setup
17-09-10 08:57:30 INFO (MainThread) [main] Run Hassio setup
17-09-10 08:57:30 INFO (SyncWorker_0) [hassio.dock.supervisor] Attach to supervisor homeassistant/armhf-hassio-supervisor with version 0.60
17-09-10 08:57:30 INFO (MainThread) [hassio.host_control] Send ‘info’ to HostControl.
17-09-10 08:57:36 INFO (MainThread) [hassio.host_control] Receive from HostControl: { “type”: “resinos”, “version”: “1.0”, “last_version”: “1.0”, “hostname”: “hassio”, “features”: [“shutdown”, “reboot”, “update”, “hostname”], “os”: “GNU/Linux” }.
17-09-10 08:57:36 INFO (SyncWorker_0) [hassio.dock.interface] Attach to image homeassistant/raspberrypi3-homeassistant with version 0.52.1
17-09-10 08:57:36 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/git/c2eea46b repository
17-09-10 08:57:36 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/core repository
17-09-10 08:57:36 INFO (MainThread) [hassio.addons] Load addons: 16 all - 16 new - 0 remove
17-09-10 08:57:36 INFO (SyncWorker_3) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-letsencrypt with version 1.2
17-09-10 08:57:36 INFO (SyncWorker_0) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-samba with version 2.0
17-09-10 08:57:36 INFO (MainThread) [hassio.addons] Startup initialize run 0 addons
17-09-10 08:57:36 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
17-09-10 08:57:36 INFO (MainThread) [main] Start Hassio
17-09-10 08:57:36 INFO (MainThread) [main] Run Hassio loop
17-09-10 08:57:36 INFO (MainThread) [hassio.addons.git] Pull addon https://github.com/home-assistant/hassio-addons repository
17-09-10 08:57:36 INFO (MainThread) [hassio.addons.git] Pull addon https://github.com/home-assistant/hassio-addons-example repository
17-09-10 08:57:36 INFO (MainThread) [hassio.dns] Start DNS port forwarding for host add-ons
17-09-10 08:57:36 INFO (MainThread) [hassio.updater] Fetch update data from https://raw.githubusercontent.com/home-assistant/hassio/master/version.json
17-09-10 08:57:40 INFO (MainThread) [hassio.core] Start hassio api on 172.30.32.2
17-09-10 08:57:40 INFO (MainThread) [hassio.addons] Startup system run 0 addons
17-09-10 08:57:40 INFO (MainThread) [hassio.addons] Startup services run 1 addons
17-09-10 08:57:41 INFO (SyncWorker_6) [hassio.dock.interface] Clean homeassistant/armhf-addon-samba docker application
17-09-10 08:57:42 INFO (MainThread) [hassio.addons] Load addons: 16 all - 0 new - 0 remove
17-09-10 08:57:43 INFO (SyncWorker_6) [hassio.dock.addon] Start docker addon homeassistant/armhf-addon-samba with version 2.0
17-09-10 08:57:43 INFO (SyncWorker_3) [hassio.dock.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
17-09-10 08:57:46 INFO (SyncWorker_3) [hassio.dock.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.52.1
17-09-10 08:57:46 INFO (MainThread) [hassio.addons] Startup application run 0 addons


New home-assistant log:

2017-09-10 10:58:11 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=3 from 2017-09-09 20:44:24.285014)
2017-09-10 10:58:20 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
Traceback (most recent call last):
File “/usr/lib/python3.6/urllib/request.py”, line 1318, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File “/usr/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/lib/python3.6/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/lib/python3.6/http/client.py”, line 964, in send
self.connect()
File “/usr/lib/python3.6/http/client.py”, line 1392, in connect
super().connect()
File “/usr/lib/python3.6/http/client.py”, line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/usr/lib/python3.6/socket.py”, line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “/usr/lib/python3.6/socket.py”, line 743, 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/lib/python3.6/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/netatmo.py”, line 55, in setup
‘read_station read_camera access_camera ’
File “/usr/lib/python3.6/site-packages/lnetatmo.py”, line 71, in init
resp = postRequest(_AUTH_REQ, postParams)
File “/usr/lib/python3.6/site-packages/smart_home/init.py”, line 27, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “/usr/lib/python3.6/urllib/request.py”, line 223, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/lib/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/lib/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/usr/lib/python3.6/urllib/request.py”, line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/lib/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
2017-09-10 10:58:22 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-09-10 10:58:23 WARNING (SyncWorker_3) [tellduslive] Failed request: HTTPSConnectionPool(host=‘api.telldus.com’, port=443): Max retries exceeded with url: /json/user/profile (Caused by NewConnectionError(’<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7414c810>: Failed to establish a new connection: [Errno -3] Try again’,))
2017-09-10 10:58:23 ERROR (SyncWorker_3) [homeassistant.components.tellduslive] Authentication Error: Please make sure you have configured your keys that can be aquired from https://api.telldus.com/keys/index
2017-09-10 10:58:23 ERROR (MainThread) [homeassistant.setup] Setup failed for tellduslive: Component failed to initialize.
2017-09-10 10:58:24 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-09-10 10:58:30 WARNING (MainThread) [homeassistant.components.sensor.yr] Retrying in 15 minutes: [Errno -3] Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:True [Try again]
2017-09-10 10:59:25 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2017-09-10 11:06:41 WARNING (MainThread) [homeassistant.components.sensor.yr] Retrying in 15 minutes: [Errno -3] Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:True [Try again]
2017-09-10 11:07:52 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 378, in connect
proto = yield from self._create_connection(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 687, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 698, in _create_direct_connection
hosts = yield from self._resolve_host(req.url.raw_host, req.port)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 669, in _resolve_host
self._resolver.resolve(host, port, family=self._family)
File “/usr/lib/python3.6/site-packages/aiohttp/resolver.py”, line 31, in resolve
host, port, type=socket.SOCK_STREAM, family=family)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 422, in start
resp = yield from self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web.py”, line 306, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py”, line 58, in ban_middleware_handler
return (yield from handler(request))
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/init.py”, line 424, in handle
result = yield from result
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 971, in get
data, content_type = yield from player.async_get_media_image()
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 513, in async_get_media_image
return (yield from _async_fetch_image(self.hass, url))
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 918, in _async_fetch_image
response = yield from websession.get(url)
File “/usr/lib/python3.6/site-packages/aiohttp/helpers.py”, line 97, in iter
ret = yield from self._coro
File “/usr/lib/python3.6/site-packages/aiohttp/client.py”, line 231, in _request
conn = yield from self._connector.connect(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 383, in connect
.format(key, exc.strerror)) from exc
aiohttp.client_exceptions.ClientConnectorError: [Errno -3] Cannot connect to host i.ytimg.com:443 ssl:True [Try again]
2017-09-10 11:08:36 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 378, in connect
proto = yield from self._create_connection(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 687, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 698, in _create_direct_connection
hosts = yield from self._resolve_host(req.url.raw_host, req.port)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 669, in _resolve_host
self._resolver.resolve(host, port, family=self._family)
File “/usr/lib/python3.6/site-packages/aiohttp/resolver.py”, line 31, in resolve
host, port, type=socket.SOCK_STREAM, family=family)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 422, in start
resp = yield from self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web.py”, line 306, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 213, in coro
res = yield from res
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py”, line 58, in ban_middleware_handler
return (yield from handler(request))
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/init.py”, line 424, in handle
result = yield from result
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 971, in get
data, content_type = yield from player.async_get_media_image()
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 513, in async_get_media_image
return (yield from _async_fetch_image(self.hass, url))
File “/usr/lib/python3.6/site-packages/homeassistant/components/media_player/init.py”, line 918, in _async_fetch_image
response = yield from websession.get(url)
File “/usr/lib/python3.6/site-packages/aiohttp/helpers.py”, line 97, in iter
ret = yield from self._coro
File “/usr/lib/python3.6/site-packages/aiohttp/client.py”, line 231, in _request
conn = yield from self._connector.connect(req)
File “/usr/lib/python3.6/site-packages/aiohttp/connector.py”, line 383, in connect
.format(key, exc.strerror)) from exc
aiohttp.client_exceptions.ClientConnectorError: [Errno -3] Cannot connect to host i.ytimg.com:443 ssl:True [Try again]

Still trouble after upgrade to 0.53 :disappointed:

Same issues here

Think i’m going to go back to a standard rasbian and home assistant on top as a smart home needs internet access

seems like I have to do the same. but Hass.io worked nicely before… Not sure what happened…

1 Like

I’ve only just moved to hass from hassbien and since there’s been no external connectivity, but the Vera plugin works and that uses http

I had this same issue. I wish I had a fix for you, but I don’t. I had my pi on a separate subnet of 10.0.10.. Which it worked on before .52. I moved it back to my regular 192.168.1. subnet and everything works just fine.

Very strange!

Is the docker hardcoded something to the 192.168.1. net? I’m using 172.16.0.

okay, today I changed my network to 192.168.1.* and it started working again. For a short time! Now it can’t get any information from the internet. Everything locally works