homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

homebridge-mqtt-switch-tasmota - Can't install plugin #67

Closed jeylites closed 6 years ago

jeylites commented 6 years ago

I manage to install a bunch of plugins today, mqtt-switch-tasmota can't seem to install ....

pi@raspberrypi:~/homebridge $ docker exec homebridge_homein_1 npm install homebridge-mqtt-switch-tasmota npm WARN homebridge No description npm WARN homebridge No repository field. npm WARN homebridge No license field.

npm ERR! code EAI_AGAIN npm ERR! errno EAI_AGAIN npm ERR! request to https://registry.npmjs.org/pumpify/-/pumpify-1.4.0.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-02-15T09_17_08_971Z-debug.log pi@raspberrypi:~/homebridge $

oznu commented 6 years ago

Hi @jeylites,

EAI_AGAIN is a DNS lookup timed out error. I suspect this is going to be something wrong on your side of things as it installs fine here.

The docker container will use the same dns servers as the host - typically this will be whatever your router gave the Raspberry Pi via DHCP.

jeylites commented 6 years ago

Hello @oznu Thanks for the tip, I did a reboot of my devices and modem, it fixed it. Thank you!