stfnhmplr / homebridge-synology

Control your Synology Diskstation with Homekit
MIT License
162 stars 16 forks source link

Error shutting down Diskstation: Can't login to Diskstation. Error: getaddrinfo EAI_AGAIN undefined #41

Closed enssenje closed 2 years ago

enssenje commented 4 years ago

Hi,

status of Diskstation is not reported correctly. I have had a completely new setup of my homebridge server and downloaded / installed newest version of this plugin.

I can wake up my devices via WoL throughout the Home App on my iPhone but neither can collect stats nor temperature nor can shutdown the device by a fingertip.

Error message by shutting down the device is the one sticked in the subject. I have 2 Diskstations 1x DS212+ & 1x DS213+. The OS-Level is identical: DSM 6.2.2-24922 Update 4

The homebridge user is unique on both appliances and assigned to the admin group. HTTPS and plain HTTP are enabled on Port 5001 respectively 5000. Both methods are not working at all.

My configuration looks like this...sensitive data removed

        "accessory": "Synology",
        "name": "Synology Backupstation",
        "host": "192.168.xx.xx",
        "mac": "00:xx:xx:xx:xx:xx",
        "port": "5001",
        "secure": true,
        "account": "homebridge",
        "password": "xxxxxxxxxxxxxx",
        "version": 6,
        "timeout": 5000,
        "disabled": [],
        "doPolling": true,
        "pollingInterval": 60

Any ideas how I get rid of this!? Thanks in advance.

stfnhmplr commented 2 years ago

EAI_AGAIN is a DNS lookup timed out error, which means it is a network connectivity or proxy-related error.

Since the error indicates a local problem, I can't really help here. Maybe try the new version, which has been completely rewritten. Please note the necessary configuration changes.