Closed stevehoek closed 1 year ago
Unless you start seeing these constantly, to the point where the code is not working, then there's really no reason to report this. Believe it or not, sometimes Ring API doesn't respond in a timely way, as it states in the log, the code simply retries such request after waiting 5 seconds. Only if it repeats over and over after these retries is this a concern and, even then, it's unlikely to be anything this project can do to resolve it as the code is only logging that this happens, it's not unexpected to see these sometimes.
Unless you start seeing these constantly, to the point where the code is not working, then there's really no reason to report this. Believe it or not, sometimes Ring API doesn't respond in a timely way, as it states in the log, the code simply retries such request after waiting 5 seconds. Only if it repeats over and over after these retries is this a concern and, even then, it's unlikely to be anything this project can do to resolve it as the code is only logging that this happens, it's not unexpected to see these sometimes.
Thanks for the input. I have 2 other sites running RPi+Homebridge+Ring all withing 75 miles of each other and the other two are not showing API timeouts. That is what led me to wonder if there is some rate limiting going on at this location due to the motion storm over the weekend.
I'll just monitor it for now and see if it lessens or goes away. Currently it is showing 6-12 timeouts per hour.
Motions are handled via push notifications, so don't really go through the Ring API at all so I think that it is unlikely. Push notifications are received from Firebase Cloud Messaging which uses a socket connection.
It's pretty normal to see these timeouts, I get probably 4-5/day on average. In ring-mqtt I don't log these because it makes people open issues even though it's completely normal that the request will occasionally timeout. Usually if you are being throttled you will get a different response, like a 429 response, not a timeout.
Closing as I don't believe it is an issue, and even if it is, there's not much that can be done about it from the plugin perspective.
Is there an existing issue for this?
Describe The Bug
I'm getting frequent Ring API timeouts but everything else seems to be working (snapshots, live view). I've refreshed my token a few times, rebooted the RPi that Homebridge is on. I had a significant amount of motion over the last two days (constantly tiriggered for about 6 hours each day), so I wonder if I am rate limited for awhile?
To Reproduce
No response
Expected behavior
Not timeouts
Relevant log output
Screenshots
No response
Homebridge Ring Config
Additional context
No response
OS
Raspbian
Node.js Version
18.17.1
NPM Version
9.81
Homebridge/HOOBs Version
1.4.1
Homebridge Ring Plugin Version
latest
Operating System
Raspbian