I am using Homebridge for my smart home on the same device as pihole. Pihole works in my setup as the one and only dns (unbound) and dhcp server.
Since im using pihole, i'll get this messages in my homebridge log:
[2/2/2022, 8:25:09 AM] [Homebridge UI] Failed to check for Node.js version updates - check your internet connection.
[2/2/2022, 8:25:09 AM] [Homebridge UI] [npm] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:14 AM] [Homebridge UI] [homebridge] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:19 AM] [Homebridge UI] [@tuyapi/homebridge-plugin] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:19 AM] [Homebridge UI] [homebridge-airrohr] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:24 AM] [Homebridge UI] [homebridge-dummy] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:24 AM] [Homebridge UI] [homebridge-esphome-ts] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:29 AM] [Homebridge UI] [homebridge-fritz] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:29 AM] [Homebridge UI] [homebridge-hue] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:34 AM] [Homebridge UI] [homebridge-octoprint] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:34 AM] [Homebridge UI] [homebridge-mqttthing] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:39 AM] [Homebridge UI] [homebridge-philips-android-tv] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:39 AM] [Homebridge UI] [homebridge-plex-webhooks] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:44 AM] [Homebridge UI] [homebridge-tplink-smarthome] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:44 AM] [Homebridge UI] [homebridge-tuya-lan] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:49 AM] [Homebridge UI] [homebridge-yeelighter] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://git.io/JJSz6 for help.
[2/2/2022, 8:25:49 AM] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "getaddrinfo EAI_AGAIN registry.npmjs.org" - see https://git.io/JJSz6 for help.
We can see a lot of getaddrinfo EAI_AGAIN
and timeout
. Now lets go to the page https://git.io/JJSz6:
getaddrinfo
- your DNS resolver could not resolveregistry.npmjs.org
. Check your internet connection and DNS settings.ETIMEDOUT
orTimeout
- the request took to long, the npm registry may be down, slow, or you may have internet issues, check https://status.npmjs.org/.
Ok, DNS (Pihole) is the problem, because
1.) i only go this problem since pihole (never had this before with homebridge)
2.) most important: https://status.npmjs.org/ shows All Systems Operational
How can i fix this in pihole?