ring: error undefined after install 9.4.0
Bug Report
Describe the Bug
error undefined after install 9.4.0. i try to get another token even if i had one since the beggining, but now the response is undefined if i try to install older version the response is the same.
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
[7/5/2020, 7:31:13 AM] [Ring] Request to https://app.ring.com/rhq/v1/devices/v1/locations failed with status undefined. Response body: undefined [7/5/2020, 7:31:13 AM] [Ring] Error connecting to API [7/5/2020, 7:31:13 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:116:15) at RingRestClient.<anonymous> (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:120:36) at Generator.next (<anonymous>) at /usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:27:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:23:12) at RingRestClient.getAuth (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:119:16) at RingRestClient.refreshAuth (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:214:33) at RingRestClient.<anonymous> (/usr/local/lib/node_modules/homebridge-ring/lib/api/rest-client.js:231:26) at Generator.throw (<anonymous>)
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: mac catalina
- Node.js: 14.0.0
- NPM: 6.14.4
- homebridge-ring:9.4.0
- homebridge: 1.1.1
- hoobs: [e.g. 0.4.50 or N/A]
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 49 (17 by maintainers)
just reset my homebridge instance and is working back again, thanks for your help to all
v14.5.1 installed and everything working as it should, cameras and alarm.
Ive installed 14.5.0 and now i dont have the error but i can see the camera on homekit (((
oka i upgraded to 14.5.0 and it seems to be working fine now!
I was on node v14.1.0, installed LTS version, uninstalled ring plugin and reinstalled. I now have ring plugin working. Thank you very much for your help. Am I to remain on the LTS node version for the foreseeable future?
On Tue, 7 Jul 2020 at 21:53, divemasterjm notifications@github.com wrote:
Thanks for the reply, yeah I used the config UI-X to get refresh token. I’ll take do as you suggest and let you know how I get on.
On Sun, 5 Jul 2020 at 15:00, Dusty Greif notifications@github.com wrote: