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

v13 does not work on HOOBS due to outdated NodeJS #1459

Closed
1 task done
caseyrichards opened this issue Aug 6, 2024 · 10 comments
Closed
1 task done

v13 does not work on HOOBS due to outdated NodeJS #1459

caseyrichards opened this issue Aug 6, 2024 · 10 comments
Labels

Comments

@caseyrichards
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe The Bug

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

To Reproduce

No response

Expected behavior

Was working until I upgraded to 13. Now this happens in the logs and nothing works.

Relevant log output

No response

Screenshots

Screenshot 2024-08-06 at 2 25 57 PM

Homebridge Ring Config

.

Additional context

No response

OS

Linux

Node.js Version

v16.20.2

NPM Version

?

Homebridge/HOOBs Version

v4.3.1

Homebridge Ring Plugin Version

v13

Operating System

?

@caseyrichards caseyrichards added the bug Something isn't working label Aug 6, 2024
@WhatTheMiguel
Copy link

I also have this issue

@tsightler tsightler added HOOBS and removed bug Something isn't working labels Aug 6, 2024
@tsightler
Copy link
Collaborator

tsightler commented Aug 6, 2024

You must upgrade your NodeJS version. NodeJS v16 has been unsupported for nearly a year (since 11 Sep 2023). It is stated in the release notes v13 will break any users on Node v16 or older. If you don't know how to upgrade your NodeJS version you should contact HOOBS support. Versions prior to v18 do not have fetch (latest LTS is v20 and is recommended) so the error is expected if you are on older versions.

@caseyrichards
Copy link
Author

caseyrichards commented Aug 6, 2024 via email

@tsightler
Copy link
Collaborator

tsightler commented Aug 6, 2024

Yes but I have performed the Hoobs node update steps and it doesn’t seem to allow installing past 16. Is there a way to manually force the install to a later version?

This is a question for HOOBS support.

@tsightler
Copy link
Collaborator

tsightler commented Aug 6, 2024

In looking at the website and community forums for HOOBS, I would say that HOOBS is a dead product. There have been effectively no commits from the two primary contributors since Mid-2003 (before that it was very active). People have been waiting for the second block of HOOBS Pro for 18 months with no updates. No responses to any issues on Github, no responses from anyone of the "forums" (a Facebook page). Everywhere people are calling them scams, etc.

There are mulitple Homebridge plugins that require NodeJS v18 or newer, Ring v13 is nowhere near the first to make this switch and we have no options as upstream dependencies are dropping support for older versions (push-receiver, for example, requires fetch as well). This makes total sense as NodeJS v18 and v20 are the supported versions and prior versions are EOL. Issues opened many months ago on the HOOBS Github page regarding plugin incompatibility requiring upgrades to at least NodeJS v18 have gone answered.

Unfortunately, you will likely have to accept that HOOBS is dead. The good thing is, it's not needed, you can install NodeJS and run Homebridge just fine without HOOBS and many posts indicate that this is what some HOOBS users have decided to do. We can't help here, we're just plugin maintainers, but that seems to be the reality of the HOOBS situation. If someone has information that is different than this, feel free to share it here but, IMO, and in that of dozens of other posters I was able to find, HOOBS is dead.

@tsightler tsightler changed the title v13 Upgrade Broken On Hoobs v13 does not work on HOOBS due to outdated NodeJS Aug 7, 2024
@tsightler tsightler closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
@caseyrichards
Copy link
Author

caseyrichards commented Aug 7, 2024 via email

@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.

@caseyrichards
Copy link
Author

caseyrichards commented Aug 16, 2024 via email

@markcarroll
Copy link

markcarroll commented Oct 1, 2024

I am getting this issue too. It makes HomeBridge unusable (maxes CPU and memory) until I reboot the container. The HomeBridge docker container is running Node 20. I have logs if you want them although I don't think they will tell you anything you haven't already seen here.
Note that rebooting doesn't actually fix the Ring plugin for long. I can change alarm state etc briefly after a reboot, but a couple of hours later it is broken again. Happy to help with more data as needed.

This is HomeBridge in Docker, not HOOBS, but it seems you are closing all other reports of this error in favor of this thread.

@tsightler
Copy link
Collaborator

@markcarroll I'm not really sure why you think the issue you are having is related to this issue when everything you describe is completely different that what is discussed here and in other HOOBS threads. If you would like help please open a new issue and provide all requested details and full logs.

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

4 participants