HI,
Just noticed this in my HA Log. I looked back and it has only started happening int he last few days. Prior to that Ring Binary sensor was working well and trigger some automation. But that has stopped working. Was this a change on Rings API?
The IOS app works fine so I know my credentials are good
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.ring.com', port=443): Max retries exceeded with url: /clients_api/doorbots/2903653/health?api_version=9&auth_token=p7ogTG3s3dV8UYYbuuPj&limit=20 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6de072d0>: 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/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 199, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/binary_sensor/ring.py", line 109, in update
self._data.check_alerts()
File "/usr/lib/python3.6/site-packages/ring_doorbell/doorbot.py", line 41, in check_alerts
self.update()
File "/usr/lib/python3.6/site-packages/ring_doorbell/generic.py", line 45, in update
self._get_health_attrs()
File "/usr/lib/python3.6/site-packages/ring_doorbell/generic.py", line 92, in _get_health_attrs
self._health_attrs = self._ring.query(url).get('device_health')
File "/usr/lib/python3.6/site-packages/ring_doorbell/__init__.py", line 172, in query
req = self.session.get((url), params=urlencode(params))
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.ring.com', port=443): Max retries exceeded with url: /clients_api/doorbots/2903653/health?api_version=9&auth_token=p7ogTG3s3dV8UYYbuuPj&limit=20 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6de072d0>: Failed to establish a new connection: [Errno -3] Try again',))
2018-01-10 22:38:57 ERROR (SyncWorker_10) [ring_doorbell] Error!! HTTPSConnectionPool(host='api.ring.com', port=443): Max retries exceeded with url: /clients_api/ring_devices?api_version=9&auth_token=p7ogTG3s3dV8UYYbuuPj&limit=20 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ddf0>: Failed to establish a new connection: [Errno -3] Try again',))
2018-01-10 22:38:57 ERROR (MainThread) [homeassistant.helpers.entity] Update for binary_sensor.ring_front_door_ding fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3.6/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again