NEWS
(solved) Fritz!OS 7.25: Commands via Adapter buggy?
-
Systemdata Bitte Ausfüllen Hardwaresystem: Synology NAS Arbeitsspeicher: 9GB Festplattenart: HDD Betriebssystem: Linux Node-Version: Nodejs-Version: 12.21.0 NPM-Version: 6.14.11 Installationsart: Skript Image genutzt: Ja - Docker Ort/Name der Imagedatei: bua.net Ich überwache neben meiner eigenen Fritzbox 6490 noch zwei weitere (Fritz!Boxen 7590) an anderen Standorten, die über VPN-Verbindung mein lokales Netz erweitern. Die Überwachung ist über die Command-CommandResult-Schnittstelle realisiert. Nach Update der beiden "Remote-Boxen" kann ich zwar nach wie vor die Commands absetzen, aber das Result kommt entweder gar nicht oder nur sporadisch. Auch die Gerätesuche über die Instanz-Konfiguration ist "schleppend" (dauert bis zu 30min und mehr) bzw. liefert kein oder nur ein unvollständiges Ergebnis.
Ich habe schon den Adapter gelöscht und alles neu installiert - keine Verbesserung. Als nächstes will ich auf Fritz!OS 7.21 zurücksetzen.
Kennt jemand das Phänomen??? -
@iobroker_rainer sagte in Fritz!OS 7.25: Absetzen von Commands über Adapter buggy?:
Ich habe schon den Adapter gelöscht und alles neu installiert
Welchen Adapter?
Logfiles?
-
@wendy2702 ... der TR-064 Adapter in der Version 4.2.11 ist installiert. Habe es auch schon mit älteren Versionen probiert - gleiches Phänomen.
Instanz .1 und .2 gehen jeweils auf eine FritzBox 7590 mit Fritz OS 7.25. Auf beiden setzen ich das Command ab:
{"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1", "action": "X_AVM-DE_GetOnlineMonitor", "params": {"NewSyncGroupIndex":0} }
Im Fall der Instanz .2 sieht man in Zeile 2 das gelieferte Ergebnis. Bei tr-064.1 wird kein Ergebnis zurückgeliefert.
Allerdings liefert auch tr-064.2 nicht IMMER ein Ergebnis zurück.
Wenn ich richtig gelesen habe, dann hat AVM mit dem neuesten Fritz!OS u.a. den Log-In-Prozess verändert - vielleicht liegt es daran.
Meine Fritzbox 6591 hat jedenfalls noch 7.20 und liefert immer zuverlässig Results - allerdings ist die auch lokal und nicht via VPN verbunden.tr-064.1 2021-04-15 22:05:03.358 debug (10178) system.adapter.admin.0: logging true tr-064.2 2021-04-15 22:04:49.675 info (12357) {"NewTotalNumberSyncGroups":"1","NewSyncGroupName":"sync_dsl","NewSyncGroupMode":"VDSL","Newmax_ds":"12835875","Newmax_us":"3735375","Newds_current_bps":"82664,119953,21,114543,86141,1602,947 tr-064.1 2021-04-15 22:04:37.928 debug (10178) system.adapter.admin.0: logging false tr-064.1 2021-04-15 22:01:44.698 debug (10178) Set Template: "<!-- Variables: id, type, caller, called, callednumber, name, numbertype, device, port date, duration, count, path.to use with %() e.g. %(date) --><div>The last call was from % tr-064.1 2021-04-15 22:01:44.642 debug (10178) Calllist Config after normalizing: {"all":{"generateJson":true,"generateHtml":true,"maxEntries":"10"},"missed":{"generateJson":true,"generateHtml":true,"maxEntries":"10"},"outbound":{"generat tr-064.1 2021-04-15 22:01:44.595 info (10178) starting. Version 4.2.11 in /opt/iobroker/node_modules/iobroker.tr-064, node: v12.21.0, js-controller: 3.2.16 tr-064.1 2021-04-15 22:01:44.390 debug (10178) Plugin sentry Initialize Plugin (enabled=true) tr-064.1 2021-04-15 22:01:44.246 debug (10178) statesDB connected tr-064.1 2021-04-15 22:01:44.245 debug (10178) States connected to redis: 127.0.0.1:9000 tr-064.1 2021-04-15 22:01:44.199 debug (10178) States create User PubSub Client tr-064.1 2021-04-15 22:01:44.198 debug (10178) States create System PubSub Client tr-064.1 2021-04-15 22:01:44.191 debug (10178) Redis States: Use Redis connection: 127.0.0.1:9000 tr-064.1 2021-04-15 22:01:44.189 debug (10178) objectDB connected tr-064.1 2021-04-15 22:01:44.181 debug (10178) Objects connected to redis: 127.0.0.1:9001 tr-064.1 2021-04-15 22:01:44.171 debug (10178) Objects client initialize lua scripts tr-064.1 2021-04-15 22:01:44.170 debug (10178) Objects create User PubSub Client tr-064.1 2021-04-15 22:01:44.168 debug (10178) Objects create System PubSub Client tr-064.1 2021-04-15 22:01:44.166 debug (10178) Objects client ready ... initialize now tr-064.1 2021-04-15 22:01:44.139 debug (10178) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.iobroker 2021-04-15 22:01:42.942 info instance system.adapter.tr-064.1 started with pid 10178 host.iobroker 2021-04-15 22:01:40.384 info instance system.adapter.tr-064.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.iobroker 2021-04-15 22:01:39.845 info stopInstance system.adapter.tr-064.1 send kill signal tr-064.1 2021-04-15 22:01:39.814 info (12958) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason tr-064.1 2021-04-15 22:01:39.812 info (12958) terminating tr-064.1 2021-04-15 22:01:39.806 info (12958) Got terminate signal TERMINATE_YOURSELF host.iobroker 2021-04-15 22:01:39.796 info stopInstance system.adapter.tr-064.1 (force=false, process=true) web.0 2021-04-15 22:00:05.584 info (655) <==Disconnect system.user.admin from ::ffff:192.168.178.8 vis.0
-
@iobroker_rainer ... Adapter nochmals neu installiert - es gibt wohl ein Problem bei der Anmeldung (durch den Adapter. User und Passwort passen, wenn ich mich an der Fritz-Oberfläche anmelde. Objekte werden nicht angelegt durch den Adapter ...
Ich werde morgen mal versuchen, die Fritzbox in den Auslieferungszustand zu versetzen - dann sehen wir weiter ...tr-064.1 2021-04-15 23:09:10.147 info (13234) starting. Version 4.2.11 in /opt/iobroker/node_modules/iobroker.tr-064, node: v12.21.0, js-controller: 3.2.16 host.iobroker 2021-04-15 23:09:08.619 info instance system.adapter.tr-064.1 started with pid 13234 host.iobroker 2021-04-15 23:09:06.105 info instance system.adapter.tr-064.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.iobroker 2021-04-15 23:09:05.566 info stopInstance system.adapter.tr-064.1 send kill signal tr-064.1 2021-04-15 23:09:05.532 info (13041) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason tr-064.1 2021-04-15 23:09:05.531 info (13041) terminating tr-064.1 2021-04-15 23:09:05.527 info (13041) Got terminate signal TERMINATE_YOURSELF host.iobroker 2021-04-15 23:09:05.521 info stopInstance system.adapter.tr-064.1 (force=false, process=true) tr-064.1 2021-04-15 23:05:09.215 info (13041) starting. Version 4.2.11 in /opt/iobroker/node_modules/iobroker.tr-064, node: v12.21.0, js-controller: 3.2.16 host.iobroker 2021-04-15 23:05:07.644 info instance system.adapter.tr-064.1 started with pid 13041 host.iobroker 2021-04-15 23:05:00.620 info Restart adapter system.adapter.tr-064.1 because enabled host.iobroker 2021-04-15 23:05:00.619 error instance system.adapter.tr-064.1 terminated with code 1 (JS_CONTROLLER_STOPPED) tr-064.1 2021-04-15 23:05:00.051 warn (13014) Terminated (JS_CONTROLLER_STOPPED): Fatal error. Can not connect to your FritzBox. tr-064.1 2021-04-15 23:05:00.049 error (13014) ~ tr-064.1 2021-04-15 23:05:00.049 error (13014) ~~ If configuration, network, IP address, etc. ok, try to restart your FritzBox tr-064.1 2021-04-15 23:05:00.049 error (13014) ~~ Fatal error. Can not connect to your FritzBox. tr-064.1 2021-04-15 23:05:00.048 error (13014) ~ tr-064.1 2021-04-15 23:05:00.047 error (13014) Error: sendSOAPActionRequest Error action=GetInfo serviceType=urn:dslforum-org:service:WLANConfiguration:1: 401 - {"code":401} tr-064.1 2021-04-15 23:04:59.422 info (13014) starting. Version 4.2.11 in /opt/iobroker/node_modules/iobroker.tr-064, node: v12.21.0, js-controller: 3.2.16 host.iobroker 2021-04-15 23:04:57.898 info instance system.adapter.tr-064.1 started with pid 13014 host.iobroker 2021-04-15 23:04:27.880 info Restart adapter system.adapter.tr-064.1 because enabled host.iobroker 2021-04-15 23:04:27.879 error instance system.adapter.tr-064.1 terminated with code 1 (JS_CONTROLLER_STOPPED) tr-064.1 2021-04-15 23:04:27.317 warn (12977) Terminated (JS_CONTROLLER_STOPPED): Fatal error. Can not connect to your FritzBox. tr-064.1 2021-04-15 23:04:27.316 error (12977) ~ tr-064.1 2021-04-15 23:04:27.316 error (12977) ~~ If configuration, network, IP address, etc. ok, try to restart your FritzBox tr-064.1 2021-04-15 23:04:27.315 error (12977) ~~ Fatal error. Can not connect to your FritzBox. tr-064.1 2021-04-15 23:04:27.315 error (12977) ~ tr-064.1 2021-04-15 23:04:27.314 error (12977) Error: sendSOAPActionRequest Error action=GetInfo serviceType=urn:dslforum-org:service:WLANConfiguration:1: 401 - {"code":401} tr-064.1 2021-04-15 23:04:26.638 info (12977) starting. Version 4.2.11 in /opt/iobroker/node_modules/iobroker.tr-064, node: v12.21.0, js-controller: 3.2.16 host.iobroker 2021-04-15 23:04:25.061 info instance system.adapter.tr-064.1 started with pid 12977 host.iobroker 2021-04-15 23:04:23.032 info iobroker exit 0 host.iobroker 2021-04-15 23:04:22.008 info iobroker host.iobroker object system.adapter.tr-064.1 created host.iobroker 2021-04-15 23:04:21.958 info iobroker host.iobroker object system.adapter.tr-064.1.alive created host.iobroker 2021-04-15 23:04:21.926 info iobroker host.iobroker object system.adapter.tr-064.1.connected created host.iobroker 2021-04-15 23:04:21.895 info iobroker host.iobroker object system.adapter.tr-064.1.compactMode created host.iobroker 2021-04-15 23:04:21.863 info iobroker host.iobroker object system.adapter.tr-064.1.cpu created host.iobroker 2021-04-15 23:04:21.831 info iobroker host.iobroker object system.adapter.tr-064.1.cputime created host.iobroker 2021-04-15 23:04:21.802 info iobroker host.iobroker object system.adapter.tr-064.1.memHeapUsed created host.iobroker 2021-04-15 23:04:21.767 info iobroker host.iobroker object system.adapter.tr-064.1.memHeapTotal created host.iobroker 2021-04-15 23:04:21.735 info iobroker host.iobroker object system.adapter.tr-064.1.memRss created host.iobroker 2021-04-15 23:04:21.702 info iobroker host.iobroker object system.adapter.tr-064.1.uptime created host.iobroker 2021-04-15 23:04:21.668 info iobroker host.iobroker object system.adapter.tr-064.1.inputCount created host.iobroker 2021-04-15 23:04:21.637 info iobroker host.iobroker object system.adapter.tr-064.1.outputCount created host.iobroker 2021-04-15 23:04:21.605 info iobroker host.iobroker object system.adapter.tr-064.1.eventLoopLag created host.iobroker 2021-04-15 23:04:21.574 info iobroker host.iobroker object system.adapter.tr-064.1.sigKill created host.iobroker 2021-04-15 23:04:21.538 info iobroker host.iobroker object system.adapter.tr-064.1.logLevel created host.iobroker 2021-04-15 23:04:21.525 info iobroker host.iobroker create instance tr-064 host.iobroker 2021-04-15 23:04:19.896 info iobroker add tr-064 1 --host iobroker host.iobroker 2021-04-15 23:03:35.862 info iobroker exit 0 host.iobroker 2021-04-15 23:03:35.195 info Do not restart adapter system.adapter.tr-064.1 because desired by instance host.iobroker 2021-04-15 23:03:35.192 error instance system.adapter.tr-064.1 terminated by request of the instance itself and will not be restarted, before user restarts it. host.iobroker 2021-04-15 23:03:34.682 info stopInstance system.adapter.tr-064.1 send kill signal host.iobroker 2021-04-15 23:03:34.638 info iobroker host.iobroker Deleting 75 state(s). tr-064.1 2021-04-15 23:03:34.630 info (12154) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason tr-064.1 2021-04-15 23:03:34.629 debug (12154) Plugin sentry destroyed tr-064.1 2021-04-15 23:03:34.628 info (12154) terminating tr-064.1 2021-04-15 23:03:34.627 info (12154) Got terminate signal TERMINATE_YOURSELF host.iobroker 2021-04-15 23:03:34.621 info stopInstance system.adapter.tr-064.1 (force=false, process=true) host.iobroker 2021-04-15 23:03:34.619 info object deleted system.adapter.tr-064.1 host.iobroker 2021-04-15 23:03:33.132 info iobroker host.iobroker Deleting 87 object(s). host.iobroker 2021-04-15 23:03:33.130 info iobroker host.iobroker Counted 1 objects of tr-064.1 host.iobroker 2021-04-15 23:03:32.685 info iobroker host.iobroker Counted 15 states (system.adapter.tr-064.1.*) from states host.iobroker 2021-04-15 23:03:32.671 info iobroker host.iobroker Counted 60 states (io.tr-064.1.*) from states host.iobroker 2021-04-15 23:03:32.665 info iobroker host.iobroker Counted 15 states of system.adapter.tr-064.1 host.iobroker 2021-04-15 23:03:32.654 info iobroker host.iobroker Counted 60 states of tr-064.1 host.iobroker 2021-04-15 23:03:32.643 info iobroker host.iobroker Counted 5 channels of tr-064.1 host.iobroker 2021-04-15 23:03:32.633 info iobroker host.iobroker Counted 5 devices of tr-064.1 host.iobroker 2021-04-15 23:03:32.623 info iobroker host.iobroker Counted 1 instances of tr-064.1 host.iobroker 2021-04-15 23:03:32.611 info iobroker Delete adapter "tr-064.1" tr-064.1 2021-04-15 23:03:31.990 debug (12154) system.adapter.admin.0: logging false host.iobroker 2021-04-15 23:03:31.087 info iobroker del tr-064.1
-
@iobroker_rainer Oft reicht bei Login Problemen:
FB neu starten
User löschen und neu anlegen. -
@wendy2702 ... vielen Dank für den Tipp mit dem Kennwort. Nach mehreren Installationen von Fritzbox bzw. Adapter incl. Restart Docker-Container und auch Kennwort-Wechsel läuft alles wieder wie vorher :-))))