ring: 9.12.4 no longer talks to server reliably
Live Streaming Issue
Describe the live streaming issue
after upgrading to the lasted build i only get snapshots once in a while .Config is with a valid token. At start up it says
Ring] Configuring 9 cameras and 9 devices for location “Seattle” - locationId: b70931a7-
In the past it would list out the cameras { “platform”: “Ring”, “plugin_map”: { “plugin_name”: “homebridge-ring” }, “refreshToken”: “”, “hideDeviceIds”: [], “locationIds”: [], “onlyDeviceTypes”: [] }
Screenshots/Logs
11/19/2020, 6:53:51 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/doorbots/45019745/live_view. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds...11/19/2020, 6:53:52 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/doorbots/42252265/live_view. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:52 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/ring_devices. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:52 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/doorbots/35032463/live_view. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:52 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/timestamps. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:53 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/dings/active. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:53 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:53 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_INTERNAL_ERROR. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_INTERNAL_ERROR. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/snapshots/update_all. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/ring_devices. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:54 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/ring_devices. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:55 AM [Ring] Failed to reach Ring server at https://api.ring.com/clients_api/ring_devices. Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM. Trying again in 5 seconds… 11/19/2020, 6:53:56 AM
Recommended solution
Please describe what you think is causing this issue, and how you recommend it be fixedEnvironment
- Ring Camera: [e.g. Stickup Cam Battery]
- OS: [e.g. Raspbian]
- Node.js: [e.g. 12.14.1]
- NPM: [e.g 6.13.4]
- homebridge-ring 9.12.4
- homebridge (if applicable): [e.g. 0.4.50 or N/A]
- hoobs (if applicable): 3.2.10
Network Environment
Comast Xfinity home network Orbi Mesh Wifi 6000 Router
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 39 (7 by maintainers)
Just chiming in that with everything on the latest version it’s working great for me. Thanks for the awesome work you’ve put into this @dgreif
Yep, I reintroduced HTTP2 in
9.14.1and thought the issue had disappeared after successful tests by myself and many other users. Turns out this issue is specific to older versions of NodeJS. If you update node to the latest node 14, the error should go away.I finally got around to trying this plugin and installed v9.12.5 of the plugin on HomeBridge v1.1.6 just today. Running on a Raspberry Pi with NodeJS v12.19.1.
I was getting the “NGHTTP2_ENHANCE_YOUR_CALM” error at first. I upgraded packages via APT and restarted the Pi and am now getting the following error:
I’ve disabled IPv6 on the Pi and made sure that 127.0.0.1 localhost is present in the hosts file
Not sure if it’s related or not. Happy to file a separate issue if you would rather.
I’m seeing errors again now too. I’ll try to get an update out to fix this today or tomorrow.