Components not loading

Could someone help me?
After a restart a lot isn’t working anymore.
Config checker keeps on loading and when i press the restart button i get a notification saying i got a problem in my config.
Does anyone understand this log?

Home Assistant release with the issue: 0.97.1

Last working Home Assistant release (if known): 0.97.1

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io running on RPI3

Component/platform: Multiple

Description of problem:

After a restart almost all of my components that depend on internet broke.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Part of my log

2019-08-13 22:36:00 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/customize.yaml contains duplicate key "device_tracker.google_maps_116461996308389920595". Check lines 131 and 163.
2019-08-13 22:36:01 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for blueiris 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-08-13 22:36:07 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for mind 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-08-13 22:37:06 ERROR (SyncWorker_11) [homeassistant.util.package] Unable to install package https://github.com/bramkragten/python-mind/archive/master.zip#python-mind==0.0.5: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756362d0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75636690>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756362f0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756368d0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756321f0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /bramkragten/python-mind/archive/master.zip (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756328f0>: Failed to establish a new connection: [Errno -3] Try again'))
2019-08-13 22:37:06 ERROR (MainThread) [homeassistant.requirements] Not initializing mind because could not install requirement https://github.com/bramkragten/python-mind/archive/master.zip#python-mind==0.0.5
2019-08-13 22:37:06 ERROR (MainThread) [homeassistant.config] Package mind setup failed. Integration mind unable to install all requirements (See /config/integrations/mind.yaml:3). 
2019-08-13 22:37:07 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for zigbee2mqtt_networkmap 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-08-13 22:37:07 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for breaking_changes 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-08-13 22:37:07 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs 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-08-13 22:37:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for syncthru 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-08-13 22:37:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for pushover 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-08-13 22:38:45 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package pysyncthru==0.3.1: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x757539b0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x757461f0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75746fd0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75746b30>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75743fb0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7569d8b0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7569d6d0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7569d1d0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7569da90>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7569db10>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  ERROR: Could not find a version that satisfies the requirement pysyncthru==0.3.1 (from versions: none)
ERROR: No matching distribution found for pysyncthru==0.3.1
2019-08-13 22:38:45 ERROR (MainThread) [homeassistant.requirements] Not initializing syncthru because could not install requirement pysyncthru==0.3.1
2019-08-13 22:38:45 ERROR (MainThread) [homeassistant.config] Unable to install all requirements for sensor.syncthru
2019-08-13 22:38:55 ERROR (SyncWorker_18) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-13 22:38:55 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall google.scan_for_calendars (c:7fbf0be4e3af4ffdba733bd3d76237ef)>

Traceback (if applicable):

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/template/sensor.py", line 220, in async_update
    self._state = self._template.async_render()
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 215, in async_render
    return compiled.render(kwargs).strip()
  File "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "<template>", line 1, in top-level template code
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2019-08-13 23:14:03 WARNING (SyncWorker_7) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6e04bbb0>: Failed to establish a new connection: [Errno -3] Try again')': /v3/circles.json
2019-08-13 23:14:11 WARNING (SyncWorker_18) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6e11a050>: Failed to establish a new connection: [Errno -3] Try again')': /v3/circles.json
2019-08-13 23:14:11 WARNING (MainThread) [homeassistant.components.buienradar.sensor] Unable to retrieve json data from Buienradar.(Msg: Cannot connect to host data.buienradar.nl:443 ssl:None [Try again], status: None,)
2019-08-13 23:14:16 WARNING (SyncWorker_18) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6e0faa30>: Failed to establish a new connection: [Errno -3] Try again')': /v3/circles.json
2019-08-13 23:14:21 ERROR (MainThread) [pyhaversion] Timeouterror fetching version information from PyPi, 
2019-08-13 23:14:21 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.potential_breaking_changes fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/breaking_changes/sensor.py", line 29, in async_update
    await update_data(self.hass)
  File "/config/custom_components/breaking_changes/__init__.py", line 113, in update_data
    remoteversion = pypiversion.version.split(".")[1]
AttributeError: 'NoneType' object has no attribute 'split'
2019-08-13 23:14:21 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  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

Additional information:

You have a duplicate entry in your customize.yaml file at the lines listed.

I allready fixed that issue, didn’t help

What errors are you seeing now then?

This is the first part of my log

2019-08-14 14:00:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for blueiris 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-08-14 14:00:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for mind 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-08-14 14:01:15 ERROR (SyncWorker_11) [homeassistant.util.package] Unable to install package https://github.com/bramkragten/python-mind/archive/master.zip#python-mind==0.0.5: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7571b870>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7571beb0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7571b0b0>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7571b710>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7567a870>: Failed to establish a new connection: [Errno -3] Try again')': /bramkragten/python-mind/archive/master.zip
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /bramkragten/python-mind/archive/master.zip (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7567aa70>: Failed to establish a new connection: [Errno -3] Try again'))
2019-08-14 14:01:15 ERROR (MainThread) [homeassistant.requirements] Not initializing mind because could not install requirement https://github.com/bramkragten/python-mind/archive/master.zip#python-mind==0.0.5
2019-08-14 14:01:15 ERROR (MainThread) [homeassistant.config] Package mind setup failed. Integration mind unable to install all requirements (See /config/integrations/mind.yaml:3). 
2019-08-14 14:01:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for zigbee2mqtt_networkmap 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-08-14 14:01:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs 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-08-14 14:01:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for breaking_changes 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-08-14 14:01:18 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for pushover 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-08-14 14:01:18 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for syncthru 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-08-14 14:02:55 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package aiofiles==0.4.0: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627a50>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756279b0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756279f0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627890>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627870>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627550>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756274d0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627510>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x756273d0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x75627350>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  ERROR: Could not find a version that satisfies the requirement aiofiles==0.4.0 (from versions: none)
ERROR: No matching distribution found for aiofiles==0.4.0
2019-08-14 14:02:55 ERROR (MainThread) [homeassistant.requirements] Not initializing hacs because could not install requirement aiofiles==0.4.0
2019-08-14 14:02:55 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Could not install all requirements.
2019-08-14 14:03:02 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall google.scan_for_calendars (c:3cc9ec8157584ee8bfaf739a22e7168a)>
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 1406, in connect
    super().connect()
  File "/usr/local/lib/python3.7/http/client.py", line 938, 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/src/homeassistant/homeassistant/core.py", line 1243, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1262, 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/src/homeassistant/homeassistant/components/google/__init__.py", line 255, in _scan_for_calendars
    service = calendar_service.get()
  File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 351, 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-08-14 14:03:02 ERROR (SyncWorker_13) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:06 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-08-14 14:03:07 ERROR (SyncWorker_19) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:13 ERROR (SyncWorker_5) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:18 ERROR (SyncWorker_14) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:23 ERROR (SyncWorker_1) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:28 ERROR (SyncWorker_0) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:33 ERROR (SyncWorker_2) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:38 ERROR (SyncWorker_15) [homeassistant.components.google.calendar] Unable to connect to Google
2019-08-14 14:03:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 393, in _async_add_entity
    raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: calendar.contacts
2019-08-14 14:04:32 ERROR (SyncWorker_12) [homeassistant.util.package] Unable to install package pysyncthru==0.3.1: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7571cc50>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7570f710>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7570fd30>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566f0d0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566f190>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pysyncthru/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x757dcf30>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566b7b0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566b0b0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566b530>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7566b610>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/armv7/
  ERROR: Could not find a version that satisfies the requirement pysyncthru==0.3.1 (from versions: none)
ERROR: No matching distribution found for pysyncthru==0.3.1
2019-08-14 14:04:32 ERROR (MainThread) [homeassistant.requirements] Not initializing syncthru because could not install requirement pysyncthru==0.3.1
2019-08-14 14:04:32 ERROR (MainThread) [homeassistant.config] Unable to install all requirements for sensor.syncthru
2019-08-14 14:04:37 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for postnl 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-08-14 14:04:42 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy
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

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 603, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 344, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 843, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 316, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x71b96270>: 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 641, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /maps (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x71b96270>: 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/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 77, in async_setup_legacy
    discovery_info,
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/google_maps/device_tracker.py", line 43, in setup_scanner
    scanner = GoogleMapsScanner(hass, config, see)
  File "/usr/src/homeassistant/homeassistant/components/google_maps/device_tracker.py", line 61, in __init__
    self.service = Service(credfile, self.username)
  File "/usr/local/lib/python3.7/site-packages/locationsharinglib/locationsharinglib.py", line 77, in __init__
    self._session = self._validate_cookie(cookies_file or '')
  File "/usr/local/lib/python3.7/site-packages/locationsharinglib/locationsharinglib.py", line 90, in _validate_cookie
    response = session.get(MAPS_URL)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', 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.google.com', port=443): Max retries exceeded with url: /maps (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x71b96270>: Failed to establish a new connection: [Errno -3] Try again'))
2019-08-14 14:04:44 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform pushbullet
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

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 603, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 344, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 843, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 316, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x711b9af0>: 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 641, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.pushbullet.com', port=443): Max retries exceeded with url: /v2/devices (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x711b9af0>: 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/src/homeassistant/homeassistant/components/notify/__init__.py", line 73, in async_setup_platform
    platform.get_service, hass, p_config, discovery_info
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/pushbullet/notify.py", line 35, in get_service
    pushbullet = PushBullet(config[CONF_API_KEY])
  File "/usr/local/lib/python3.7/site-packages/pushbullet/pushbullet.py", line 43, in __init__
    self.refresh()
  File "/usr/local/lib/python3.7/site-packages/pushbullet/pushbullet.py", line 381, in refresh
    self._load_devices()
  File "/usr/local/lib/python3.7/site-packages/pushbullet/pushbullet.py", line 78, in _load_devices
    resp_dict = self._get_data(self.DEVICES_URL)
  File "/usr/local/lib/python3.7/site-packages/pushbullet/pushbullet.py", line 64, in _get_data
    resp = self._session.get(url)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', 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='api.pushbullet.com', port=443): Max retries exceeded with url: /v2/devices (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x711b9af0>: Failed to establish a new connection: [Errno -3] Try again'))
2019-08-14 14:04:44 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform pushbullet
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

Check the DNS on your homeassistant container. I’m having the same issue. I’m on HAssOS. So I log on the console, then root/login:
Now… check this
# docker exec -ti homeassistant ping -c1 www.google.com
I get bad address. If I do the same in the supervisor
# docker exec -ti hassos_supervisor ping -c1 www.google.com
I get response.

I checked in the console, I get exactly the same results as you do.
Is there anything we can change to get it working again?

There is a typo, should be homeassistant.

I will let you know if I know more!

Fixed. I already booked an issue on github. What i found strange is that no more people seems to be affected by this.

I created a fresh VM on WIndows (My main hass is on fedora+VBOX), downloaded the latest image, and a fresh install is having the same issue. So my guess is that everyone should be affected by this, but apparently not.

I think the issue was related to Pi-hole as dhcp server. Hassio got it’s ip address from my router, that had the dns ip address from pihole, creating a loop.
I fixed it now

Well then my problem is different, I have static IP’s on my servers, and I use google public servers for DNS. Glad you setup is working again.

Well, this afternoon I ran into the same problem. Drives me crazy. HACS and Dyson modules cannot load.

The following components and platforms could not be set up:

  • [dyson]
  • [hacs]

ESPHome cannot compile (lost the warning but something not being able to contact platform IO)

When I have hacs in the configuration.yaml, the ‘Check Config’ runs quite a while and then returns:

Unable to install package aiofiles==0.4.0: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf86025650>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d75d0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d7b10>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d7550>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d7050>: Failed to establish a new connection: [Errno -3] Try again')': /simple/aiofiles/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d7ad0>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/amd64/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861d7e50>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/amd64/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861cb950>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/amd64/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861cbd90>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/amd64/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fbf861cba50>: Failed to establish a new connection: [Errno -3] Try again')': /alpine-3.10/amd64/
  ERROR: Could not find a version that satisfies the requirement aiofiles==0.4.0 (from versions: none)
ERROR: No matching distribution found for aiofiles==0.4.0

Regards, Yazz.

Hi I have the same problem and I use pihole too. How did you fix this problem?