ring: Request to https://api.ring.com/clients_api/dings/active failed:

Bug Report

Describe the Bug

The system does not refresh the token after ~1 hour or so. Error message:

Request to https://api.ring.com/clients_api/dings/active failed: [8/2/2021, 8:43:07 AM] [Ring] Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens at RingRestClient.getGrantData (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:93:15) at RingRestClient.<anonymous> (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:97:36) at Generator.next (<anonymous>) at /usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:4:12) at RingRestClient.getAuth (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:96:16) at RingRestClient.<anonymous> (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:121:33) at Generator.throw (<anonymous>) at rejected (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:6:65) "

{“error”:“Unauthorized”,“status_code”:401}

To Reproduce

Steps to reproduce the behavior:

  • Start Homebridge
  • Attempt to …
  • See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots/Logs

If applicable, add screenshots and log output to help explain your problem.

Additional context

Add any other context about the problem here.

Homebridge Ring Config

Post homebridge-ring platform config without sensitive information


HIGHLIGHT THIS TEXT AND POST CONFIG HERE
DO NOT INCLUDE YOUR REFRESH TOKEN OR EMAIL/PASSWORD (replace them with xxx)

Environment

  • OS: [e.g. MacOS]
  • Node.js: [e.g. 12.14.1]
  • NPM: [e.g 6.13.4]
  • homebridge-ring: [e.g 6.0.3]
  • homebridge: [e.g. v19.0.0]
  • hoobs: [ N/A]

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 31 (5 by maintainers)

Most upvoted comments

Yes, I was using a Mac.

To be fair, Ring was experiencing a major outage until a short while ago.

https://status.ring.com/

The status page now claims it’s “fully operational”, but they also only claim 2 hours of outage even though reports of issues had been ongoing for 4+ hours. I think Ring is always quite generous with their status page, their outages are always listed about 1-2 hours shorter than they actually are mainly because it takes them so long to acknowledge that a problem exist.

The specific incident:

https://status.ring.com/incidents/tq2fx8m7tzlp

@dgreif switched to a raspberry pi, and everything now seems to be fine.