NEWS
Synology Adapter Error / Keine Daten
-
@ilovegym
Den lokalen Port der Syno (5000) kann ich nicht umlegen. Dann kommt die o. g. Fehlermeldung: Port schon belegt.
@dslraser
Entscheidend scheint zu sein, dass du zwei physische LAN-Anschlüsse hast.
Ich habe an der kleinen DS218+ aber nur einen LAN-Anschluss.
Über den ist die Syno selbst /DSM errreichbar mit http://192.168.10.2:5000
Und ioBroker mit http://192.168.10.13:8081/
Und da komme ich partout nicht vom Syno-Adapter in iobroker auf die Syno.synology.0 2020-08-12 00:44:28.692 error (2841) *** ERROR : src: *sendPolling syno[dsm][getPollingData] code: EHOSTUNREACH message: connect EHOSTUNREACH 192.168.10.2:5002 synology.0 2020-08-12 00:44:28.691 debug (2841) * No response, read next.Habt ihr noch Ideen?
Grüße, EckartS -
@EckartS sagte in Synology Adapter Error / Keine Daten:
EHOSTUNREACH 192.168.10.2:5002
... ist der Port jetzt 5002 , ist das richtig !?
Hier noch etwas ... vielleicht kannst du das gebrauchen : Link Text
Der Link war jedenfalls nützlich. Da steht, dass Docker-Container auf der Syno ihren Host aus Sicherheitsgründen nicht direkt, sondern nur mit der IP 172.17.0.1 erreichen können.
Diese IP lässt sich aus dem ioBroker-Terminal auch anpingen. Leider aber komme ich mit dieser IP und Port 5000 in den Adapter-Einstellungen auch nicht weiter: Keine Verbindung, gelb, Connection TimeOut
Debug-Log:synology.0 2020-08-12 12:44:14.422 debug (9997) * Get info from (firstPoll) api: DSM method: getPollingData params: {} synology.0 2020-08-12 12:44:14.421 debug (9997) * sendPolling. namePolling = firstPoll | iteration = 0 | typeof poll = object | poll = {"api":"dsm","method":"getPollingData","params":{}} synology.0 2020-08-12 12:44:14.421 debug (9997) ----------------------------------------------------------------------------------------------------- synology.0 2020-08-12 12:44:14.420 error (9997) *** ERROR : src: *sendPolling syno[dsm][getPollingData] code: ETIMEDOUT message: connect ETIMEDOUT 172.17.0.1:5000 synology.0 2020-08-12 12:44:14.419 debug (9997) * No response, read next. mihome-vacuum.0 2020-08-12 12:44:04.415 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:43:44.643 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:43:24.398 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:43:18.034 debug (9997) system.adapter.admin.0: logging false mihome-vacuum.0 2020-08-12 12:43:04.398 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:42:24.397 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:42:07.111 debug (9997) * Get info from (firstPoll) api: DSM method: getPollingData params: {} synology.0 2020-08-12 12:42:07.111 debug (9997) * sendPolling. namePolling = firstPoll | iteration = 0 | typeof poll = object | poll = {"api":"dsm","method":"getPollingData","params":{}} synology.0 2020-08-12 12:42:07.110 debug (9997) ----------------------------------------------------------------------------------------------------- synology.0 2020-08-12 12:42:04.918 info (9997) starting. Version 0.1.18 in /opt/iobroker/node_modules/iobroker.synology, node: v10.20.1, js-controller: 3.1.4 mihome-vacuum.0 2020-08-12 12:42:04.397 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:42:03.782 debug (9997) Plugin sentry Initialize Plugin (enabled=true) synology.0 2020-08-12 12:42:01.839 debug (9997) statesDB connected synology.0 2020-08-12 12:42:01.831 debug (9997) States connected to redis: 127.0.0.1:9000 synology.0 2020-08-12 12:42:01.802 debug (9997) States create System PubSub Client synology.0 2020-08-12 12:42:01.800 debug (9997) States create User PubSub Client synology.0 2020-08-12 12:42:01.783 debug (9997) Redis States: Use Redis connection: 127.0.0.1:9000 synology.0 2020-08-12 12:42:01.781 debug (9997) objectDB connected synology.0 2020-08-12 12:42:01.774 debug (9997) Objects connected to redis: 127.0.0.1:9001 synology.0 2020-08-12 12:42:01.749 debug (9997) Objects client initialize lua scripts synology.0 2020-08-12 12:42:01.748 debug (9997) Objects create User PubSub Client synology.0 2020-08-12 12:42:01.747 debug (9997) Objects create System PubSub Client synology.0 2020-08-12 12:42:01.743 debug (9997) Objects client ready ... initialize now synology.0 2020-08-12 12:42:01.706 debug (9997) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.iobroker 2020-08-12 12:41:59.486 info instance system.adapter.synology.0 started with pid 9997 host.iobroker 2020-08-12 12:41:59.415 info "system.adapter.synology.0" enabledFällt euch im Log noch etwas auf, das auf andere Einstellungsnotwendigkeiten hindeutet? Wo würdet ihr noch suchen?
Gibt es hier jemanden, bei dem meine Konfiguration - ioBroker auf Syno + Syno-Adapter - funktioniert?Grüße und besten Dank für all die Hinweise bisher, EckartS
-
Der Link war jedenfalls nützlich. Da steht, dass Docker-Container auf der Syno ihren Host aus Sicherheitsgründen nicht direkt, sondern nur mit der IP 172.17.0.1 erreichen können.
Diese IP lässt sich aus dem ioBroker-Terminal auch anpingen. Leider aber komme ich mit dieser IP und Port 5000 in den Adapter-Einstellungen auch nicht weiter: Keine Verbindung, gelb, Connection TimeOut
Debug-Log:synology.0 2020-08-12 12:44:14.422 debug (9997) * Get info from (firstPoll) api: DSM method: getPollingData params: {} synology.0 2020-08-12 12:44:14.421 debug (9997) * sendPolling. namePolling = firstPoll | iteration = 0 | typeof poll = object | poll = {"api":"dsm","method":"getPollingData","params":{}} synology.0 2020-08-12 12:44:14.421 debug (9997) ----------------------------------------------------------------------------------------------------- synology.0 2020-08-12 12:44:14.420 error (9997) *** ERROR : src: *sendPolling syno[dsm][getPollingData] code: ETIMEDOUT message: connect ETIMEDOUT 172.17.0.1:5000 synology.0 2020-08-12 12:44:14.419 debug (9997) * No response, read next. mihome-vacuum.0 2020-08-12 12:44:04.415 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:43:44.643 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:43:24.398 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:43:18.034 debug (9997) system.adapter.admin.0: logging false mihome-vacuum.0 2020-08-12 12:43:04.398 info (556) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-12 12:42:24.397 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:42:07.111 debug (9997) * Get info from (firstPoll) api: DSM method: getPollingData params: {} synology.0 2020-08-12 12:42:07.111 debug (9997) * sendPolling. namePolling = firstPoll | iteration = 0 | typeof poll = object | poll = {"api":"dsm","method":"getPollingData","params":{}} synology.0 2020-08-12 12:42:07.110 debug (9997) ----------------------------------------------------------------------------------------------------- synology.0 2020-08-12 12:42:04.918 info (9997) starting. Version 0.1.18 in /opt/iobroker/node_modules/iobroker.synology, node: v10.20.1, js-controller: 3.1.4 mihome-vacuum.0 2020-08-12 12:42:04.397 info (556) connecting, this can take up to 10 minutes ... synology.0 2020-08-12 12:42:03.782 debug (9997) Plugin sentry Initialize Plugin (enabled=true) synology.0 2020-08-12 12:42:01.839 debug (9997) statesDB connected synology.0 2020-08-12 12:42:01.831 debug (9997) States connected to redis: 127.0.0.1:9000 synology.0 2020-08-12 12:42:01.802 debug (9997) States create System PubSub Client synology.0 2020-08-12 12:42:01.800 debug (9997) States create User PubSub Client synology.0 2020-08-12 12:42:01.783 debug (9997) Redis States: Use Redis connection: 127.0.0.1:9000 synology.0 2020-08-12 12:42:01.781 debug (9997) objectDB connected synology.0 2020-08-12 12:42:01.774 debug (9997) Objects connected to redis: 127.0.0.1:9001 synology.0 2020-08-12 12:42:01.749 debug (9997) Objects client initialize lua scripts synology.0 2020-08-12 12:42:01.748 debug (9997) Objects create User PubSub Client synology.0 2020-08-12 12:42:01.747 debug (9997) Objects create System PubSub Client synology.0 2020-08-12 12:42:01.743 debug (9997) Objects client ready ... initialize now synology.0 2020-08-12 12:42:01.706 debug (9997) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.iobroker 2020-08-12 12:41:59.486 info instance system.adapter.synology.0 started with pid 9997 host.iobroker 2020-08-12 12:41:59.415 info "system.adapter.synology.0" enabledFällt euch im Log noch etwas auf, das auf andere Einstellungsnotwendigkeiten hindeutet? Wo würdet ihr noch suchen?
Gibt es hier jemanden, bei dem meine Konfiguration - ioBroker auf Syno + Syno-Adapter - funktioniert?Grüße und besten Dank für all die Hinweise bisher, EckartS
-
@Glasfaser
Danke für den Link. Das hat einiges geklärt.Zusammenfassung:
- Mit MACVLAN kann ioBroker im Docker-Container die Host Syno aus Sicherheitsgründen grundsätzlich nicht erreichen
- Das lässt sich auf Synos mit 2 LAN-Ports umgehen
- Auf einer Syno mit nur einem LAN-Port mit Gebastel wohl auch, aber die Lösungen übersteigen meine Fähigkeiten und bergen womöglich auch Risiken, die ich nicht abschätzen kann.
Fazit: ich lasse es bleiben. Kein Syno-Adapter in meiner ioBroker-Installation.
Es sei denn, es findet sich hier jemand, der das zuwege gebracht hat und versichert, dass es stabil und ohne Nebenwirkungen läuft.Viele Grüße,
EckartS