Comments (6)
Update: I re-started the add-on, and now it's working. The issue of "refresh token is not valid" occurs every now and then. Hard to tell why. Thanks for the prompt response.
from ring.
ring-hassio is a long dead project based on ring-client-api from ages ago that is unlikely to work at this point. Ring API changes over time and dead projects will eventually not work. I noticed you forked it and just replaced ring-client-api with new major version, but doesn't appear that you made other required changes.
I'm not sure what you are trying to do, but if you are looking for live streaming, I might humbly suggest my own project, ring-mqtt as a replacement for ring-hassio.
from ring.
@msl2424 Not every problem Ring has is related to this project, I'd always suggest, when you experience a sudden issue, that you check Ring status first (well, after giving them 30 mintues or so to acknowledge that the issue exist). Ring is currently experiencing a major system outage:
Well, technically they claim everything is back, but it was at least a 2.5 hour outage which has only been marked as resolved in the last 15 minutes or so. Authentication was down for all apps and web pages.
from ring.
I'm going to close this now as we know that current ring-client-api works and can generate usable tokens. If you have additional issues in the future, please provide detailed steps and sample code from current versions of ring-client-api and we can look into it.
from ring.
I have a related issue. This evening I suddenly got the following message in my logs:
2023-07-28T23:21:55.317Z ring-mqtt Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens 2023-07-28T23:22:24.312Z ring-mqtt Websocket for location id e952c570-d654-4e0c-9f91-debf3303c150 is disconnected
To resolve, I attempted to re-authenticate via the Web UI, but I received this message in the logs:
2023-07-29T00:08:44.234Z ring-mqtt Username/Password was accepted, waiting for 2FA code to be entered. 2023-07-29T00:08:48.652Z ring-mqtt Saving updated refresh token to state file 2023-07-29T00:08:48.653Z ring-mqtt A new refresh token was generated, attempting to re-establish connection to Ring API 2023-07-29T00:08:49.731Z ring-mqtt Successfully saved updated state file: /data/ring-state.json 2023-07-29T00:08:50.656Z ring-mqtt Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens 2023-07-29T00:08:50.657Z ring-mqtt Failed to re-establish connection to Ring API using generated refresh token
The wiki listed at https://github.com/dgreif/ring/wiki/Refresh-Tokens was not super helpful to me. Any guidance on what to do to re-connect Ring-MQTT with Video Streaming? All my Ring entities are offline in Home Assistant.
from ring.
It's not that hard to tell why, you can almost always be sure it's a Ring outage. Ring has lots of short, unacknowledged outages, especially with authentication. I agree there could be improvements in recoverability from these issues, but as we don't control Ring servers, it's somewhat difficult to predict the various failure modes that can occur and pretty much impossible to test such scenarios. We can emulate things like no connectivity at all, but partial failures where existing connections are still alive but new connections report the token being invalid can be difficult to deal with.
from ring.
Related Issues (20)
- myQ Integration HOT 1
- Alarm triggered when using Apple Home intercom HOT 2
- Front door Ring doorbell motion pop up notifications no longer show up on Apple TV 4K HOT 5
- Difference in quality between Ring Camera (getSnapshot) and video search HOT 1
- brief delay in HomePods chime when pressing intercom button HOT 3
- Live Streaming of camera fails after HomeKit architecture upgrade HOT 6
- RIng Server Failure with latest Node.JS HOT 1
- Ring Homebridge camera becomes non-responsive at Apple TV after ~ 5 minutes. HOT 4
- Ring Intercom HOT 1
- Trouble recording video to file or live streaming on an M1 Mac Mini HOT 3
- Ring Plugin v 12.1.0 works for everything but Live Video in Homebridge HOT 1
- Ring Door Opener not working anymore HOT 5
- Add Chime Pro Nightlight as Automation Option HOT 3
- Ring Intercom - not possible to choose which HomePods should ring HOT 8
- Strange error when viewing live streaming from "Home" app HOT 1
- Battery Level in Home
- Ring Intercom HOT 5
- Accessories not exposed to HomeKit HOT 1
- onDoorbellPressed not sending updates HOT 1
- Response Code 422 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ring.