Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Ring Adapter wirft seit einiger Zeit Fehler aus

    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] Ring Adapter wirft seit einiger Zeit Fehler aus

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dr. Bakterius
      Dr. Bakterius Most Active last edited by Dr. Bakterius

      Hallo zusammen!

      Seit einigen Wochen bekomme ich immer wieder Fehler vom Ring-Adapter. Ich habe nur eine Ring Intercom und sie funktioniert soweit auch korrekt. Bevor ich ein Issue aufmache, möchte ich hier nachfragen ob es an meiner Seite liegt oder am Adapter oder an Ring.

      Hier das Log:

      2024-12-24 08:19:37.097 - error: ring.0 (2317861) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2024-12-24 08:19:37.098 - error: ring.0 (2317861) unhandled promise rejection: Client destroyed
      2024-12-24 08:19:37.098 - error: ring.0 (2317861) Error: Client destroyed
      at #clearReady (/opt/iobroker/node_modules/@eneris/push-receiver/dist/client.js:176:32)
      at PushReceiver.destroy (/opt/iobroker/node_modules/@eneris/push-receiver/dist/client.js:117:25)
      at #socketRetry (/opt/iobroker/node_modules/@eneris/push-receiver/dist/client.js:208:14)
      at #handleSocketClose (/opt/iobroker/node_modules/@eneris/push-receiver/dist/client.js:201:26)
      at TLSSocket. (/opt/iobroker/node_modules/@eneris/push-receiver/dist/client.js:102:63)
      at TLSSocket.emit (node:events:530:35)
      at node:net:343:12
      at TCP.done (node:_tls_wrap:648:7)
      2024-12-24 08:19:37.098 - error: ring.0 (2317861) Client destroyed
      2024-12-24 08:19:37.100 - info: ring.0 (2317861) terminating
      2024-12-24 08:19:37.100 - warn: ring.0 (2317861) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2024-12-24 08:19:37.602 - info: ring.0 (2317861) terminating
      2024-12-24 08:19:37.641 - error: host.iobroker instance system.adapter.ring.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2024-12-24 08:20:09.192 - info: ring.0 (2636132) starting. Version 6.3.0 in /opt/iobroker/node_modules/iobroker.ring, node: v20.18.1, js-controller: 7.0.3
      2024-12-24 08:20:09.206 - info: ring.0 (2636132) Initializing Api Client
      2024-12-24 08:20:09.590 - info: ring.0 (2636132) Received new Refresh Token. Will use the new one until the token in config gets changed
      2024-12-24 08:20:11.166 - info: ring.0 (2636132) Get sunset and sunrise
      2024-12-24 08:20:11.187 - info: ring.0 (2636132) Daily sun parameter calculation scheduled for 00:00:37
      

      Diese Fehler treten unregelmäßig auf. Etwa einmal am Tag.

      Meine Internetverbindung ist sehr stabil - ich denke daran liegt es nicht. Scheinbar kann der Adapter eine Fehlfunktion nicht abfangen und wird daher neu gestartet.

      Jemand einen Tipp? Vielleicht @mcm1957?

      mcm1957 1 Reply Last reply Reply Quote 0
      • mcm1957
        mcm1957 @Dr. Bakterius last edited by

        @dr-bakterius
        Ein crash sollte nie auftreten.
        Daher bitte Issue im Adapterrepo anlegen.

        Dr. Bakterius 2 Replies Last reply Reply Quote 0
        • Dr. Bakterius
          Dr. Bakterius Most Active @mcm1957 last edited by

          @mcm1957 Danke. Ist erstellt: (https://github.com/iobroker-community-adapters/ioBroker.ring/issues/783)

          DrBakterius created this issue in iobroker-community-adapters/ioBroker.ring

          closed Adapter crashed #783

          1 Reply Last reply Reply Quote 0
          • Dr. Bakterius
            Dr. Bakterius Most Active @mcm1957 last edited by

            @mcm1957
            Nach einer Neuinstallation des Adapters ist seit einigen Tagen Ruhe.

            Albert K 1 Reply Last reply Reply Quote 1
            • Albert K
              Albert K @Dr. Bakterius last edited by

              @dr-bakterius

              Darf ich mal fragen welche Adapter Version Du benutzt?

              Habe auch ein Ring Interkom und das funktionierte so 1,5 Jahre recht gut (Ich benutze das eigentlich nur um mir selbst die Haustür mittels eines BT Buttons über den Türsummer zu öffnen)

              Jetzt habe ich meinen Raspi 5 neu aufgesetzt, das Backup zurückgespielt wobei mir der Ring Adapter nicht wiederhergestellt wird. Auch eine Neu Installation des RIng Adapters bricht ab. Funktioniert wohl sowieso nur mit einer älteren Version.

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

                @albert-k sagte in [gelöst] Ring Adapter wirft seit einiger Zeit Fehler aus:

                Auch eine Neu Installation des RIng Adapters bricht ab. Funktioniert wohl sowieso nur mit einer älteren Version.

                Meldungen dazu im Log? Denn grundsätzlich kann man den ring-Adapter nämlich installieren:

                echad@chet:/opt/iobroker $ iob add ring
                NPM version: 10.8.2
                Installing iobroker.ring@6.4.0... (System call)
                
                added 115 packages in 59s
                
                270 packages are looking for funding
                  run `npm fund` for details
                host.chet install adapter ring
                upload [25] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/admin.d.ts admin.d.ts video/mp2t
                upload [20] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/de.json i18n/de.json application/json
                upload [19] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/en.json i18n/en.json application/json
                upload [18] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/es.json i18n/es.json application/json
                upload [17] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/fr.json i18n/fr.json application/json
                upload [16] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/it.json i18n/it.json application/json
                upload [15] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/nl.json i18n/nl.json application/json
                upload [14] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pl.json i18n/pl.json application/json
                upload [13] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pt.json i18n/pt.json application/json
                upload [12] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/ru.json i18n/ru.json application/json
                upload [11] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/uk.json i18n/uk.json application/json
                upload [10] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/zh-cn.json i18n/zh-cn.json application/json
                upload [9] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/index_m.html index_m.html text/html
                upload [8] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/jsonConfig.json jsonConfig.json application/json
                upload [7] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/preferences-desktop-notification-bell-3.png preferences-desktop-notification-bell-3.png image/png
                upload [6] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/preferences-system-login.png preferences-system-login.png image/png
                upload [5] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/ring.png ring.png image/png
                upload [4] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/style.css style.css text/css
                upload [3] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tab_m.html tab_m.html text/html
                upload [2] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tab_m.js tab_m.js application/javascript
                upload [1] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tsconfig.json tsconfig.json application/json
                upload [0] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/words.js words.js application/javascript
                host.chet object system.adapter.ring created/updated
                Updating objects from io-package.json for adapter "ring" with version "6.4.0"
                host.chet create instance ring
                host.chet object system.adapter.ring.0.alive created
                host.chet object system.adapter.ring.0.connected created
                host.chet object system.adapter.ring.0.compactMode created
                host.chet object system.adapter.ring.0.cpu created
                host.chet object system.adapter.ring.0.cputime created
                host.chet object system.adapter.ring.0.memHeapUsed created
                host.chet object system.adapter.ring.0.memHeapTotal created
                host.chet object system.adapter.ring.0.memRss created
                host.chet object system.adapter.ring.0.uptime created
                host.chet object system.adapter.ring.0.inputCount created
                host.chet object system.adapter.ring.0.outputCount created
                host.chet object system.adapter.ring.0.eventLoopLag created
                host.chet object system.adapter.ring.0.sigKill created
                host.chet object system.adapter.ring.0.logLevel created
                host.chet object ring.0 created
                host.chet object system.adapter.ring.0 created
                echad@chet:/opt/iobroker $
                
                Albert K 1 Reply Last reply Reply Quote 0
                • Albert K
                  Albert K @Thomas Braun last edited by

                  @thomas-braun

                  Danke für die schnelle Reaktion👍

                  Bekomme dies im Log:

                  2025-07-04 00:03:14.684 - info: host.iobroker iobroker npm error code EBADENGINE
                  2025-07-04 00:03:14.685 - info: host.iobroker iobroker npm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: ring-client-api@13.2.1npm error notsup Not compatible with your version of node/npm: ring-client-api@13.2.1npm error notsup Required: {"node":"^18 || ^20 || ^22"}
                  2025-07-04 00:03:14.686 - info: host.iobroker iobroker npm error notsup Actual: {"npm":"10.9.2","node":"v23.11.1"}
                  2025-07-04 00:03:14.687 - info: host.iobroker iobroker npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-03T22_03_04_307Z-debug-0.log
                  2025-07-04 00:03:14.703 - error: host.iobroker iobroker npm error code EBADENGINEnpm error engine Unsupported enginenpm error engine Not compatible with your version of node/npm: ring-client-api@13.2.1npm error notsup Not compatible with your version of node/npm: ring-client-api@13.2.1npm error notsup Required: {"node":"^18 || ^20 || ^22"}npm error notsup Actual: {"npm":"10.9.2","node":"v23.11.1"}npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-03T22_03_04_307Z-debug-0.log
                  2025-07-04 00:03:14.703 - error: host.iobroker iobroker host.iobroker Cannot install iobroker.ring@6.3.0: 1
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Albert K last edited by

                    @albert-k

                    Wie kommst du auf nodejs23?
                    Die ist a) noch nicht für den ioBroker freigegeben, b) eine Entwickler-Version und c) nicht mehr unterhalten.

                    Installier da nodejs@20

                    iob nodejs-update 20
                    
                    Albert K 1 Reply Last reply Reply Quote 0
                    • Albert K
                      Albert K @Thomas Braun last edited by

                      @thomas-braun

                      Das ist in der Tat eine gute Frage! Ich kann es nur auf mein fortgeschrittenes Alter schieben 😲

                      Aber Du hast mich auf den richtigen Weg gebracht 👍 Jetzt läuft alles wieder wie es soll. Herzlichen Dank!

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

                        @albert-k

                        Der 'richtige Weg' stand aber auch schon im Log drin:

                        2025-07-04 00:03:14.703 - error: host.iobroker iobroker
                        npm error code EBADENGINE
                        npm error engine Unsupported engine
                        npm error engine Not compatible with your version of node/npm: ring-client-api@13.2.1
                        npm error notsup Not compatible with your version of node/npm: ring-client-api@13.2.1
                        npm error notsup Required: {"node":"^18 || ^20 || ^22"}
                        npm error notsup Actual: {"npm":"10.9.2","node":"v23.11.1"}
                        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-03T22_03_04_307Z-debug-0.log

                        Albert K 1 Reply Last reply Reply Quote 0
                        • Albert K
                          Albert K @Thomas Braun last edited by

                          @thomas-braun

                          Das ist richtig. Bin halt etwas rostig das auf Anhieb zu interpretieren. Hab auch sehr wenig an meinem iobroker gemacht in letzter Zeit ausser Updates, da eigentlich alles läuft. Hatte nur in Erinnerung dass es mit dem Ring Adapter öfter mal Schwierigkeiten gab.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          875
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          4
                          11
                          326
                          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