Closed elfive closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am having this issue as well. any updates?
I had the exact same error when trying to search for plugins. Even after a fresh install. I was trying WiFi only and Ethernet. But what I did to resolve was switch off my router and then switched the router on again. All working, I did a little celebration dance.
if you're still having this issue, it's not Homebridge, but OS config related.
My solution:
sudo nano /etc/sysctl.d/local.conf
- this is a non-existing file at this pointnet.ipv6.conf.all.disable_ipv6=1
sudo reboot
this solved it for me.
TL;DR: I could ping the resolved IP address but not registry.npmjs.org. Disabling IPv6 solved timeout issue as name resolution seemed to be behind the problem.
if you're still having this issue, it's not Homebridge, but OS config related.
My solution:
- SSH into PI
sudo nano /etc/sysctl.d/local.conf
- this is a non-existing file at this point- add a new line:
net.ipv6.conf.all.disable_ipv6=1
- ctrl-x, y, enter - this will create the new file and save the modifications you just made
sudo reboot
this solved it for me.
TL;DR: I could ping the resolved IP address but not registry.npmjs.org. Disabling IPv6 solved timeout issue as name resolution seemed to be behind the problem.
I knew it was an ipv6 issue but didn't know how to fix it. So many thanks, @dsylex !!
I am seeing the same issue with a RPI
System Info:
I was seeing this issue with my existing Homebridge, fresh installed SD card and seeing the same issues.
Error Messages:
The internet connection works perfectly fine. I have also tried the above IPv6 fix and this didn't seem to work.
Any help would be appreciated, I'm tearing my hair out over this
Under the covers it is doing this for each of your plugins, and substituting the plugin name each time
wget https://registry.npmjs.org/@homebridge%2fnode-pty-prebuilt-multiarch
And also doing this for the Failed to check for NodeJS version
wget https://nodejs.org/dist/index.json
Do these commands work in your environment ?
Describe The Bug: The web interface can not check homebridge plugin version, always shows:
and it will hangs out the whole web interface.
This issue starts from 'homebridge-config-ui-x' version 4.37.0 to 4.41.0, and version 4.36.0 is ok.
What's more, if you use the cli in homebridge-config-ui web ui, you can run
wget registry.npmjs.org
and can get a correct server answer.Since I use the same machine and same docker image to test all of this, I realy don't think this is a network problem.
Maybe the same issue(similar behavior): #1126
To Reproduce: Download the docker image (update: 2021.02) with homebridge version 1.2.5 and homebridge-config-ui-x version 4.36.0, update homebridge to version 1.3.4 and update 'homebridge-config-ui-x' to version 4.37.0 then this problem shows.
Expected behavior: Showing correct plugin version information,
Logs:
Homebridge Config:
Screenshots: this is my system information:
this is all the plugins that I installed:
Environment: