Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Shelly Adapter stürzt ab ENETUNREACH

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Shelly Adapter stürzt ab ENETUNREACH

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

      Hallo zusammen,

      folgendes Fehlerbild. Ca alle 2-5 Tage verabschiedet sich der Shelly Adapter. Der geloggte Grund ist ENETUNREACH eines der Shelly Devices. Laut Log wird der Adapter auch neu gestartet aber es ist dann kein Shelly erreichbar (es finden sich danach keine Device connected Meldungen im Log) erst wenn man den Adapter manuell neu startet (meistens am nächsten Morgen) funktioniert es wieder. Im Log sieht man auch dass andere Adapter ihre devices verlieren. Scheint es ein Netzwerkausfall (Router / Raspberry) zu sein?

      Ich frage mich:
      Wie kann man das Setup Fehlertoleranter gestalten, so dass er erstens bei nicht Erreichbarkeit eines Devices nicht abstürzt und wenn der Adapter neu startet dann auch entsprechend lange auf die Geräte wieder wartet
      Wie finde ich die Ursache des Problems heraus (Netzwerk weg oder Problem mit Raspi oder irgendwas anderes)

      daae1d8a-e751-475a-b708-097cbe4afe40-image.png

      Danke schon mal für eure Unterstützung

      arteck Asgothian 2 Replies Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @rockflopp last edited by arteck

        @rockflopp update des js-contreoller bitte..wir sind auf 4.x

        R 1 Reply Last reply Reply Quote 1
        • R
          rockflopp @arteck last edited by rockflopp

          Done... jetzt dauert es tatsächlich einiges länger aber dennoch:
          2efcf2ac-96c1-49d4-98e0-f0d7f6f73e23-image.png

          ENETUNREACH, Absturz, Restart, Keine Shellys werden gefunden, Nur manueller Restart des Shelly Adapters hilft

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @rockflopp last edited by

            @rockflopp

            Bring dein nodejs auf Version 14.

            R 1 Reply Last reply Reply Quote 0
            • R
              rockflopp @Thomas Braun last edited by

              @thomas-braun
              done, nun Problem mit BLE Adapter welcher nicht mehr startet 😞

              4e0fe31e-544d-44b0-8d0c-21304770210f-image.png

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @rockflopp last edited by

                @rockflopp

                Lösung steht im Screenshot.
                Da ich den nicht kopieren kann: Schau selber.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rockflopp @Thomas Braun last edited by

                  @thomas-braun
                  so wirklich voran geht es nicht, jedesmal ne andere Fehlermeldung aber das Ergebnis ist immer noch das gleiche. Netzwerkfehler führt zu Absturz des Shelly Adapters und nur ein restart hilft....
                  55d7fe3a-b2ec-4278-a2e7-bf8ff673613a-image.png

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @rockflopp last edited by

                    @rockflopp

                    Screenshots kann ich nicht lesen.

                    1 Reply Last reply Reply Quote 0
                    • Asgothian
                      Asgothian Developer @rockflopp last edited by

                      @rockflopp sagte in Shelly Adapter stürzt ab ENETUNREACH:

                      Ich frage mich:
                      Wie kann man das Setup Fehlertoleranter gestalten, so dass er erstens bei nicht Erreichbarkeit eines Devices nicht abstürzt und wenn der Adapter neu startet dann auch entsprechend lange auf die Geräte wieder wartet

                      Wie macht man das ?

                      • Issue auf GitHub aufmachen (am Adapter Repository)
                      • Aussagekräftige Fehlermeldung Eintragen
                      • Entsprechenden Kontext mitliefern (Adapterversionen Node Version, etc.)
                      • Entsprechende Log einträge mit liefern (Und das nicht als Screenshot)

                      A.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rockflopp @Asgothian last edited by

                        @asgothian

                        Nach allen updates besteht der Fehler weiterhin. Noch eine Idee oder nun den von dir beschriebenen Weg beschreiten?

                        2022-05-24 06:32:30.727 - error: shelly.0 (28522) uncaught exception: send ENETUNREACH 192.168.0.24:5683
                        2022-05-24 06:32:30.740 - error: shelly.0 (28522) Error: send ENETUNREACH 192.168.0.24:5683
                        at doSend (dgram.js:714:16)
                        at defaultTriggerAsyncIdScope (internal/async_hooks.js:452:18)
                        at afterDns (dgram.js:660:5)
                        at processTicksAndRejections (internal/process/task_queues.js:83:21)
                        2022-05-24 06:32:30.741 - error: shelly.0 (28522) Exception-Code: ENETUNREACH: send ENETUNREACH 192.168.0.24:5683
                        2022-05-24 06:32:30.818 - info: shelly.0 (28522) Closing Adapter
                        2022-05-24 06:32:30.819 - info: shelly.0 (28522) terminating
                        2022-05-24 06:32:30.822 - warn: shelly.0 (28522) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2022-05-24 06:32:30.988 - error: host.iobroker-pi Caught by controller[0]: Error: send ENETUNREACH 192.168.0.24:5683
                        2022-05-24 06:32:30.996 - error: host.iobroker-pi Caught by controller[0]: at doSend (dgram.js:714:16)
                        2022-05-24 06:32:30.996 - error: host.iobroker-pi Caught by controller[0]: at defaultTriggerAsyncIdScope (internal/async_hooks.js:452:18)
                        2022-05-24 06:32:30.996 - error: host.iobroker-pi Caught by controller[0]: at afterDns (dgram.js:660:5)
                        2022-05-24 06:32:30.997 - error: host.iobroker-pi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:83:21)
                        2022-05-24 06:32:30.998 - error: host.iobroker-pi instance system.adapter.shelly.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        2022-05-24 06:32:30.998 - info: host.iobroker-pi Restart adapter system.adapter.shelly.0 because enabled
                        2022-05-24 06:32:32.158 - info: host.iobroker-pi instance system.adapter.shelly.0 started with pid 8151
                        2022-05-24 06:32:34.562 - info: shelly.0 (8151) starting. Version 5.3.2 in /opt/iobroker/node_modules/iobroker.shelly, node: v14.19.2, js-controller: 4.0.23
                        2022-05-24 06:32:35.130 - info: shelly.0 (8151) Starting in CoAP mode.
                        2022-05-24 06:32:35.207 - info: shelly.0 (8151) [CoAP] Listening for packets in the network
                        

                        Beste Grüße

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rockflopp @rockflopp last edited by

                          Eine Suche bei den Github Issues gab es einen Lösungsvorschlag bei dem die maximale Stromentnahme hochgesetzt wird, das werde ich jetzt mal probieren.
                          https://github.com/iobroker-community-adapters/ioBroker.shelly/issues/65

                          Acer54 created this issue in iobroker-community-adapters/ioBroker.shelly

                          closed error send ENETUNREACH #65

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @rockflopp last edited by

                            @rockflopp

                            Betreibst du denn einen WLAN-Stick an einem der USB-Ports? Der iobroker-Server sollte eigentlich immer per LAN-Kabel betrieben werden.

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rockflopp @Thomas Braun last edited by rockflopp

                              @thomas-braun nein per LAN plus Zigbee Stick

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @rockflopp last edited by

                                @rockflopp
                                Im Issue ging es um WLAN-Sticks, die zu wenig Saft über USB bekamen und dann Aussetzer im Netz verursacht haben.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mbw last edited by

                                  Hi zusammen,

                                  gibt es hier etwas Neues? Ich habe auch das Problem mit dem abstürzenden Shelly-Adapter, alle paar Stunden wird bei mir nach dem gleichen Fehler die Instanz neue gestartet.

                                  Danke!

                                  da_Woody Homoran 2 Replies Last reply Reply Quote 0
                                  • da_Woody
                                    da_Woody @mbw last edited by

                                    @mbw was soll es neues geben? am shelly adapter liegts sicher nicht. seit 3 jahren COAP instanz am laufen, seit monaten eine 2. MQTT, kein einziger absturz trotz jeder beta.
                                    ich tipp da eher auf euer netzwerk.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      mbw @da_Woody last edited by

                                      @da_woody ja, das kann ja sein, aber trotzdem wird ja hier eine Exception nicht behandelt weswegen der Adapter dann abstürzt.

                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • da_Woody
                                        da_Woody @mbw last edited by

                                        @mbw das mein ich ja, der adapter stürzt nich einfach ab. da muss was anderes sein im netzwerk.
                                        hab da auch schon einiges drüber getippt.
                                        igmp snooping... als tip
                                        waren zwar keine abstürze, aber es kamen keine daten mehr.

                                        R 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @mbw last edited by Homoran

                                          @mbw sagte in Shelly Adapter stürzt ab ENETUNREACH:

                                          alle paar Stunden wird bei mir nach dem gleichen Fehler die Instanz neue gestartet.

                                          wirklich identisch?
                                          zeigen!

                                          @mbw sagte in Shelly Adapter stürzt ab ENETUNREACH:

                                          trotzdem wird ja hier eine Exception nicht behandelt weswegen der Adapter dann abstürzt.

                                          ist das so?

                                          1 Reply Last reply Reply Quote 1
                                          • R
                                            rockflopp @da_Woody last edited by

                                            Hallo @da_woody, der Fehler tritt bei mir leider auch weiterhin mehr weniger regelmäßig auf. Sollen wir mal einen Bug Report direkt beim Adapter aufmachen? Oder konntest du inzwischen die Ursache lokalisieren?
                                            Habe 50 WLAN IOT Geräte mit fixer IP und einen zusätzlichen WLAN Accesspoint.

                                            Dass ein Shelly mal nicht erreichbar ist sollte nicht zum Absturz des Adapters führen. Zumindest suggeriert das ja die Fehlermeldung.

                                            2023-03-21 06:05:03.095 - error: shelly.0 (866) uncaught exception: send ENETUNREACH 192.168.0.66:5683
                                            2023-03-21 06:05:03.101 - error: shelly.0 (866) Error: send ENETUNREACH 192.168.0.66:5683
                                            at doSend (dgram.js:714:16)
                                            at defaultTriggerAsyncIdScope (internal/async_hooks.js:452:18)
                                            at afterDns (dgram.js:660:5)
                                            at processTicksAndRejections (internal/process/task_queues.js:83:21)
                                            2023-03-21 06:05:03.102 - error: shelly.0 (866) Exception-Code: ENETUNREACH: send ENETUNREACH 192.168.0.66:5683
                                            2023-03-21 06:05:03.130 - info: shelly.0 (866) terminating
                                            2023-03-21 06:05:03.132 - warn: shelly.0 (866) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                            2023-03-21 06:05:03.266 - error: host.iobroker-pi Caught by controller[0]: Error: send ENETUNREACH 192.168.0.66:5683
                                            2023-03-21 06:05:03.273 - error: host.iobroker-pi Caught by controller[0]: at doSend (dgram.js:714:16)
                                            2023-03-21 06:05:03.274 - error: host.iobroker-pi Caught by controller[0]: at defaultTriggerAsyncIdScope (internal/async_hooks.js:452:18)
                                            2023-03-21 06:05:03.274 - error: host.iobroker-pi Caught by controller[0]: at afterDns (dgram.js:660:5)
                                            2023-03-21 06:05:03.275 - error: host.iobroker-pi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:83:21)
                                            2023-03-21 06:05:03.276 - error: host.iobroker-pi instance system.adapter.shelly.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                            2023-03-21 06:05:03.276 - info: host.iobroker-pi Restart adapter system.adapter.shelly.0 because enabled
                                            2023-03-21 06:05:04.431 - info: host.iobroker-pi instance system.adapter.shelly.0 started with pid 26157
                                            2023-03-21 06:05:06.682 - info: shelly.0 (26157) starting. Version 6.3.1 in /opt/iobroker/node_modules/iobroker.shelly, node: v14.19.2, js-controller: 4.0.24
                                            2023-03-21 06:05:07.363 - info: shelly.0 (26157) [firmwareUpdate] Auto-Update enabled - devices will be updated automatically
                                            2023-03-21 06:05:07.365 - info: shelly.0 (26157) Starting in CoAP mode. Listening on 0.0.0.0:5683
                                            2023-03-21 06:05:07.455 - info: shelly.0 (26157) [CoAP Server] Listening for packets in the network
                                            [s=]
                                             
                                            [/s]
                                            
                                            da_Woody 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            532
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            23
                                            1593
                                            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