Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When updating plugin to 13.0.0 getting:- Error Failed to reach Ring server at https://oauth.ring.com/oauth/token. fetch is not defined. #1463

Closed
1 task done
Andybishop opened this issue Aug 8, 2024 · 2 comments
Labels

Comments

@Andybishop
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe The Bug

When I update the plugin to 13.0.0 Ring devices are not working in Hoobs/Homebrige and checking the logs I see the following:-

Error Failed to reach Ring server at https://oauth.ring.com/oauth/token. fetch is not defined. Trying again in 5 seconds...

If I revert back to 12.1.1 everything starts to work again with no issues.

To Reproduce

Upgrade to 13.0.0 on Hoobs

Expected behavior

Following an update it would be expected to continue working as it did previously.

Relevant log output

08/08/2024, 11:39:12HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:17HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:22HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:27HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:32HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:37HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:42HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:47HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:52HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:39:57HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:02HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:07HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:12HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:17HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:22HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:27HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:32HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:37HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...08/08/2024, 11:40:42HOOBSRingErrorFailed to reach Ring server at https://oauth.ring.com/oauth/token.  fetch is not defined.  Trying again in 5 seconds...

Screenshots

No response

Homebridge Ring Config

{
    "hideDeviceIds": [
        "f48bbc40-4508-489a-985a-267152d75b18",
        "22b50eae-f298-4c43-85d5-ad346bd6d7ed",
        "7229fc68-cf8c-453e-9262-6b35c9a193be"
    ],
    "sendDoorbellMotionNotificationsToTv": false,
    "platform": "Ring",
    "alarmOnEntryDelay": false,
    "refreshToken": "redacted",
    "hideUnsupportedServices": true
}

Additional context

No response

OS

Linux

Node.js Version

16.20.2

NPM Version

7.17.0

Homebridge/HOOBs Version

1.7.0/4.3.1

Homebridge Ring Plugin Version

v13.0.0

Operating System

Ubuntu

@Andybishop Andybishop added the bug Something isn't working label Aug 8, 2024
@tsightler
Copy link
Collaborator

Please use search, this is a duplicate issue #1459. The requirement for NodeJS v18 or newer (ideally v20) is already documented in the v13 release notes.

@tsightler tsightler closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
@tsightler
Copy link
Collaborator

Just for a quick update here, we did reach out to HOOBS via a backchannel and there's a least a bit of life there as we did receive a response. They do have HOOBS 5 that they claim will release "soon", although no real indication when that would be. This has newer NodeJS and Homebridge so hopefully they can get that out. Apparently it's possible to install this today by switching to the "bleeding" branch. You can contact HOOBS support for instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants