core: Ring integration stops working
The problem
The Ring integration stops reporting motion and events after a while and the only way to fix it is a restart of home assistant.
Environment
- Home Assistant Core release with the issue: 0.112.4
- Last working Home Assistant Core release (if known): none
- Operating environment (OS/Container/Supervised/Core): HassOS 4.11 running on VmWare ESXi 6.5
- Integration causing this issue: Ring
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/ring
Problem-relevant configuration.yaml
No specific configuration done to the ring integration
Traceback/Error logs
Logger: homeassistant.components.ring
Source: components/ring/__init__.py:303
Integration: Ring (documentation, issues)
First occurred: July 11, 2020, 10:33:53 PM (41 occurrences)
Last logged: 2:21:56 AM
Error fetching Ring history data for device xxxx: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Error fetching Ring history data for device xxxx: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Error fetching Ring history data for device xxxx: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Error fetching Ring history data for device xxxx: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Error fetching Ring history data for device xxxx: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Logger: homeassistant.helpers.entity
Source: __main__.py:356
First occurred: July 11, 2020, 4:05:13 AM (1323 occurrences)
Last logged: July 20, 2020, 10:02:29 PM
Update of camera.front_door is taking over 10 seconds
Update of camera.living_room is taking over 10 seconds
Update of camera.office is taking over 10 seconds
Update of camera.front is taking over 10 seconds
Update of camera.garden is taking over 10 seconds
Logger: homeassistant.components.ring.camera
Source: components/ring/camera.py:153
Integration: Ring (documentation, issues)
First occurred: July 11, 2020, 2:40:26 PM (55 occurrences)
Last logged: July 20, 2020, 8:26:04 PM
Time out fetching recording url for camera camera.front
Time out fetching recording url for camera camera.front_door
Time out fetching recording url for camera camera.garden
Additional information
The timeouts from the logs occur even when the integration is working so i’m not sure if it’s relevant. The whole integration just seems to stop and give up and doesn’t even retry or recover ever and i’m forced to restart home assistant. Is there any way to reload or restart a single integration ? i’d rather not restart the whole home assistant instance due to z-wave integration firing alot of event upon restart.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 6
- Comments: 68 (2 by maintainers)
Same issue here (core-2021.6.6). Ring was working fine for the last ~12 months. Suddenly, HA is not showing camera snapshots nor video footage anymore and there are a lot of errors in the logs. Reloading the Ring integration seems to fix things only for a few minutes. I have also tried to remove & reinstall the integration completely, but this did not solve anything.
Hi All - also receiving errors in my logs :
“WARNING (MainThread) [homeassistant.components.ring] Error fetching Ring active dings data: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))”
I think Ring is rate limiting us because the integration hits their api too hard. Can a poll frequency be added to fix this?
I have the same problem, with the Ring integration.
Its not just live stream. It can play last 5 motion events. Last 5 ding events. Last 5 custom recorded events. It has a motion sensor, last motion sensor, last ding sensor, all the info attributes for every device regardless of battery or hardwire (update available, battery level, wifi strength sensors etc.). It can do camera snapshots at predefined periods (or follow whats set in the app). Works with all the Ring Alarm devices, base stations, door and window sensors, motion sensors, sirens. Ring floodlights. For cameras with sirens and lights the are all sensors you can turn on and off. I have all the above in my system. Its really worth trying out.
Quite how this integration hasn’t been removed yet is beyond me. Just use this and get this core integration uninstalled: https://community.home-assistant.io/t/ring-device-integration-via-mqtt/102105. I have zero issues with it and he just added live and event streaming.
@bartvollebregt any further progress on debugging? anything rest of us can do to help?
–updated info– I pip installed ring-doorbell.py 0.7.0 - didn’t fix
Any update on this? I’m using 2021.1.0 and my logs have this message every two minutes.
2021-01-07 05:55:55 WARNING (MainThread) [homeassistant.components.ring] Error fetching Ring active dings data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
In that linked forum post the first post has links to the githubs. The wiki on those gits has all the documentation. You need MQTT setup, but yeah once configured with your ring token devices are auto discovered. Prob best to ask further question on the forum post. I just wanted to raise it as recently hes added more functionality which allowed me personally to switch over completely and doesn’t come with the problems still existing in this integration.
Is the Ring integration essentially unmaintained? There’s multiple issues about this problem and essentially no response from maintainers.
Same issue as the last update from @donagrejja. Seen previously on other recent versions but still present on HA 0.118.2
Now there’s a new error that has surfaced with Home Assistant version 1.116.x - the effect is still that the ring integration just stops working but now it even affects the data of the sensors. So when it’s unable to connect to ring it stops trying and both binary sensors and data sensors stops working. I even get low battery warnings because the battery stops getting data.
Here’s something from the log.
Logger: homeassistant.components.ring Source: components/ring/init.py:210 Integration: Ring (documentation, issues) First occurred: October 27, 2020, 2:11:49 PM (20 occurrences) Last logged: 9:09:59 AM
Error fetching Ring active dings data: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’)) Error fetching Ring device data: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’)) Error fetching Ring device data: 401 Client Error: Unauthorized for url: https://api.ring.com/clients_api/ring_devices?api_version=9 Error fetching Ring active dings data: 502 Server Error: Bad Gateway for url: https://api.ring.com/clients_api/dings/active?api_version=9
I have the same problem. Binary sensor for ring doorbell (motion and ding) is not updating. Last activity, last motion and last ding is updating correctly.
This also happens daily in the logs: