Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst]HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst]HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • rantanplan
      rantanplan last edited by rantanplan

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Virtuell / VMware
      Arbeitsspeicher: 4GB
      Festplattenart: HDD
      Betriebssystem: Windows Server 2012
      Node-Version: 10.x.x
      Nodejs-Version: 14.18.3
      NPM-Version: 6.14.15
      Installationsart: Manuell
      Image genutzt: Nein
      Ort/Name der Imagedatei: Link

      Hallo

      Ich habe 2 HM-RPC Instanzen RPC.0 für HM Geräte und RPC.2 für HM-IP Geräte.
      Ab Version 1.15.3 läuft immer nur 1 Instanz fehlerfrei.
      Stoppe ich Instanz 0 kann ich Instanz 2 starten, wird 2 gestoppt kann ich Instanz 0 starten.
      Ich habe alle Updates von v1.15.3 bis v1.15.10 ausprobiert immer der gleiche Fehler.

      Heute habe ich mal HM-RPC.2 gelöscht, dann update auf 1.15.10 durchgeführt.
      Instanz HM-RPC.0 lief danach ohne Fehler.
      Dann wieder eine Instanz für HM-IP hinzugefügt. Und der Fehler ist wieder da.
      Jede Instanz läuft fehlerfrei, wenn die Andere ausgeschaltet ist.

      Was kann ich tun?

      Grüße

      wendy2702 foxriver76 2 Replies Last reply Reply Quote 0
      • wendy2702
        wendy2702 @rantanplan last edited by

        @rantanplan Ich habe drei Instanzen fehlerfrei laufen.

        Stelle doch das loggen für die Instanzen mal auf Debug und Poste die Einstellungen.

        rantanplan 1 Reply Last reply Reply Quote 0
        • rantanplan
          rantanplan @wendy2702 last edited by wendy2702

          @wendy2702 Danke für die schnelle Antwort.

          Habe nochmal ein Update durchgeführt (gut das es Snapshots gibt).

          Hier mal ein Auszug aus dem Log.

           2022-03-18 14:42:35.437  - info: hm-rpc.2 (2864) new HMIP devices/channels after filter: 0
          2022-03-18 14:42:35.747  - info: host.XYZ instance system.adapter.hm-rpc.0 started with pid 4836
          2022-03-18 14:42:36.259  - debug: hm-rpc.0 (4836) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2022-03-18 14:42:36.283  - debug: hm-rpc.0 (4836) Objects client ready ... initialize now
          2022-03-18 14:42:36.284  - debug: hm-rpc.0 (4836) Objects create System PubSub Client
          2022-03-18 14:42:36.284  - debug: hm-rpc.0 (4836) Objects create User PubSub Client
          2022-03-18 14:42:36.323  - debug: hm-rpc.0 (4836) Objects client initialize lua scripts
          2022-03-18 14:42:36.326  - debug: hm-rpc.0 (4836) Objects connected to redis: 127.0.0.1:9001
          2022-03-18 14:42:36.345  - debug: hm-rpc.0 (4836) Redis States: Use Redis connection: 127.0.0.1:9000
          2022-03-18 14:42:36.357  - debug: hm-rpc.0 (4836) States create System PubSub Client
          2022-03-18 14:42:36.358  - debug: hm-rpc.0 (4836) States create User PubSub Client
          2022-03-18 14:42:36.378  - debug: hm-rpc.0 (4836) States connected to redis: 127.0.0.1:9000
          2022-03-18 14:42:36.474  - debug: hm-rpc.0 (4836) Plugin sentry Initialize Plugin (enabled=true)
          2022-03-18 14:42:36.476  - info: hm-rpc.0 (4836) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
          2022-03-18 14:42:36.570  - info: hm-rpc.0 (4836) starting. Version 1.15.10 in C:/iobroker/node_modules/iobroker.hm-rpc, node: v14.18.3, js-controller: 4.0.21
          2022-03-18 14:42:36.593  - debug: hm-rpc.0 (4836) Schedule restart: * 3 * * *
          2022-03-18 14:42:36.717  - error: hm-rpc.0 (4836) uncaught exception: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
          2022-03-18 14:42:36.717  - error: hm-rpc.0 (4836) Error: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
              at Server.setupListenHandle [as _listen2] (net.js:1331:16)
              at listenInCluster (net.js:1379:12)
              at doListen (net.js:1516:7)
              at processTicksAndRejections (internal/process/task_queues.js:83:21)
          2022-03-18 14:42:36.718  - error: hm-rpc.0 (4836) Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
          2022-03-18 14:42:36.721  - info: hm-rpc.0 (4836) terminating
          2022-03-18 14:42:36.722  - debug: hm-rpc.0 (4836) Plugin sentry destroyed
          2022-03-18 14:42:36.722  - warn: hm-rpc.0 (4836) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2022-03-18 14:42:36.724  - info: hm-rpc.0 (4836) binrpc server is trying to listen on xxx.xxx.xxx.214:2000
          2022-03-18 14:42:36.724  - info: hm-rpc.0 (4836) binrpc client is trying to connect to xxx.xxx.xxx.239:2001/ with ["xmlrpc_bin://xxx.xxx.xxx.214:2000","XYZ:hm-rpc.0:254afa92f42581a78b2fafcc930353b3"]
          2022-03-18 14:42:36.724  - debug: hm-rpc.0 (4836) Connect...
          2022-03-18 14:42:36.725  - debug: hm-rpc.0 (4836) binrpc -> xxx.xxx.xxx.239:2001/ init ["xmlrpc_bin://xxx.xxx.xxx.214:2000","XYZ:hm-rpc.0:254afa92f42581a78b2fafcc930353b3"]
          2022-03-18 14:42:36.727  - debug: hm-rpc.0 (4836) start connecting interval
          2022-03-18 14:42:36.768  - info: hm-rpc.0 (4836) Connected
          2022-03-18 14:42:36.768  - debug: hm-rpc.0 (4836) clear connecting interval
          2022-03-18 14:42:36.768  - debug: hm-rpc.0 (4836) start ping interval
          2022-03-18 14:42:37.288  - error: host.XYZ instance system.adapter.hm-rpc.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          2022-03-18 14:42:37.288  - info: host.XYZ Restart adapter system.adapter.hm-rpc.0 because enabled
          2022-03-18 14:42:38.344  - info: host.XYZ instance system.adapter.hm-rpc.0 started with pid 3608
          2022-03-18 14:42:38.860  - debug: hm-rpc.0 (3608) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2022-03-18 14:42:38.886  - debug: hm-rpc.0 (3608) Objects client ready ... initialize now
          2022-03-18 14:42:38.887  - debug: hm-rpc.0 (3608) Objects create System PubSub Client
          2022-03-18 14:42:38.887  - debug: hm-rpc.0 (3608) Objects create User PubSub Client
          2022-03-18 14:42:38.929  - debug: hm-rpc.0 (3608) Objects client initialize lua scripts
          2022-03-18 14:42:38.931  - debug: hm-rpc.0 (3608) Objects connected to redis: 127.0.0.1:9001
          2022-03-18 14:42:38.951  - debug: hm-rpc.0 (3608) Redis States: Use Redis connection: 127.0.0.1:9000
          2022-03-18 14:42:38.963  - debug: hm-rpc.0 (3608) States create System PubSub Client
          2022-03-18 14:42:38.963  - debug: hm-rpc.0 (3608) States create User PubSub Client
          2022-03-18 14:42:38.983  - debug: hm-rpc.0 (3608) States connected to redis: 127.0.0.1:9000
          2022-03-18 14:42:39.076  - debug: hm-rpc.0 (3608) Plugin sentry Initialize Plugin (enabled=true)
          2022-03-18 14:42:39.078  - info: hm-rpc.0 (3608) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
          2022-03-18 14:42:39.169  - info: hm-rpc.0 (3608) starting. Version 1.15.10 in C:/iobroker/node_modules/iobroker.hm-rpc, node: v14.18.3, js-controller: 4.0.21
          2022-03-18 14:42:39.191  - debug: hm-rpc.0 (3608) Schedule restart: * 3 * * *
          2022-03-18 14:42:39.313  - error: hm-rpc.0 (3608) uncaught exception: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
          2022-03-18 14:42:39.313  - error: hm-rpc.0 (3608) Error: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
              at Server.setupListenHandle [as _listen2] (net.js:1331:16)
              at listenInCluster (net.js:1379:12)
              at doListen (net.js:1516:7)
              at processTicksAndRejections (internal/process/task_queues.js:83:21)
          2022-03-18 14:42:39.314  - error: hm-rpc.0 (3608) Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000
          2022-03-18 14:42:39.316  - info: hm-rpc.0 (3608) terminating
          2022-03-18 14:42:39.317  - debug: hm-rpc.0 (3608) Plugin sentry destroyed
          2022-03-18 14:42:39.317  - warn: hm-rpc.0 (3608) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2022-03-18 14:42:39.318  - info: hm-rpc.0 (3608) binrpc server is trying to listen on xxx.xxx.xxx.214:2000
          2022-03-18 14:42:39.319  - info: hm-rpc.0 (3608) binrpc client is trying to connect to xxx.xxx.xxx.239:2001/ with ["xmlrpc_bin://xxx.xxx.xxx.214:2000","XYZ:hm-rpc.0:6c6678a40886b6feadcd5f7bfbf194e7"]
          2022-03-18 14:42:39.319  - debug: hm-rpc.0 (3608) Connect...
          2022-03-18 14:42:39.319  - debug: hm-rpc.0 (3608) binrpc -> xxx.xxx.xxx.239:2001/ init ["xmlrpc_bin://xxx.xxx.xxx.214:2000","XYZ:hm-rpc.0:6c6678a40886b6feadcd5f7bfbf194e7"]
          2022-03-18 14:42:39.322  - debug: hm-rpc.0 (3608) start connecting interval
          2022-03-18 14:42:39.370  - info: hm-rpc.0 (3608) Connected
          2022-03-18 14:42:39.370  - debug: hm-rpc.0 (3608) clear connecting interval
          2022-03-18 14:42:39.370  - debug: hm-rpc.0 (3608) start ping interval
          2022-03-18 14:42:39.886  - error: host.XYZ instance system.adapter.hm-rpc.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          2022-03-18 14:42:39.886  - info: host.XYZ Restart adapter system.adapter.hm-rpc.0 because enabled
          2022-03-18 14:42:39.887  - warn: host.XYZ Do not restart adapter system.adapter.hm-rpc.0 because restart loop detected
          
          

          Grüße

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @rantanplan last edited by

            @rantanplan sagte in HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler:

            2022-03-18 14:42:39.314 - error: hm-rpc.0 (3608) Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000

            Sieht so aus als wenn das schon was belegt ist.

            Eventuell hat das stoppen des Adapters nicht sauber funktioniert.

            Übrigens, das „XXX“ von lokalen IP Adressen kann man sich sparen.

            rantanplan 1 Reply Last reply Reply Quote 0
            • rantanplan
              rantanplan @wendy2702 last edited by

              @wendy2702 sagte in HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler:

              @rantanplan sagte in HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler:

              2022-03-18 14:42:39.314 - error: hm-rpc.0 (3608) Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use xxx.xxx.xxx.214:2000

              Sieht so aus als wenn das schon was belegt ist.
              Warum erst ab Version 1.15.3?

              Eventuell hat das stoppen des Adapters nicht sauber funktioniert.
              Mehrmals beide gestoppt. Und abwechselnt gestartet. Der als zweites gestartete endet mit Fehler.

              Übrigens, das „XXX“ von lokalen IP Adressen kann man sich sparen.
              Ja, manchmal aber auch nicht.

              1 Reply Last reply Reply Quote 0
              • foxriver76
                foxriver76 Developer @rantanplan last edited by

                @rantanplan Probier mal 1.15.11 ab 1.15.3 wurde der Adapter Port unbeabsichtigt anders ermittelt. Falls die anderen Ports blockiert sind o. ä. Wird das zu den Verhalten geführt haben.

                rantanplan 1 Reply Last reply Reply Quote 0
                • rantanplan
                  rantanplan @foxriver76 last edited by

                  @foxriver76 sagte in HM-RPC ab 1.15.3 nur eine Instanz ohne Fehler:

                  @rantanplan Probier mal 1.15.11 ab 1.15.3 wurde der Adapter Port unbeabsichtigt anders ermittelt. Falls die anderen Ports blockiert sind o. ä. Wird das zu den Verhalten geführt haben.

                  Ja das war's. Update auf die 1.15.11 hat geklappt.

                  Danke!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  746
                  Online

                  31.9k
                  Users

                  80.1k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  410
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo