Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. openHAB3 - Adapter Error

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    276

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    591

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

openHAB3 - Adapter Error

Geplant Angeheftet Gesperrt Verschoben Error/Bug
9 Beiträge 2 Kommentatoren 836 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D Offline
    D Offline
    derzico
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich habe die Notwendigkeit wegen zwei Kostal Wechselrichter und einer Heizungsregel aktuell noch openHAB nebenbei lafuen zu lassen. Beim initialen Start des iobroker Adapters werden die Items angelegt und auch die Werte werden richtig geschrieben.
    Allerdings werden danach die Items nicht mehr aktualisiert.

    Im Debuglog des Adapters kommt folgender Fehler.

    Error: {"type":"error","message":"getaddrinfo EAI_AGAIN admin"}
    

    Schon mal gesehen? Vielen Dank.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • D derzico

      Hallo,

      ich habe die Notwendigkeit wegen zwei Kostal Wechselrichter und einer Heizungsregel aktuell noch openHAB nebenbei lafuen zu lassen. Beim initialen Start des iobroker Adapters werden die Items angelegt und auch die Werte werden richtig geschrieben.
      Allerdings werden danach die Items nicht mehr aktualisiert.

      Im Debuglog des Adapters kommt folgender Fehler.

      Error: {"type":"error","message":"getaddrinfo EAI_AGAIN admin"}
      

      Schon mal gesehen? Vielen Dank.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #2

      @derzico

      Ja, ist die Meldung wenn es da Trouble im Netzwerk gibt. Insbesonde DNS. PiHole oder sowas im Einsatz?
      Oder NodeJS>16?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      D 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @derzico

        Ja, ist die Meldung wenn es da Trouble im Netzwerk gibt. Insbesonde DNS. PiHole oder sowas im Einsatz?
        Oder NodeJS>16?

        D Offline
        D Offline
        derzico
        schrieb am zuletzt editiert von
        #3

        @thomas-braun
        Hey, ja nodejs ist 16.18.0.

        DNS wohl eher nicht, spreche das System mit IP an und auch alle anderen Items im openHAB

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • D derzico

          @thomas-braun
          Hey, ja nodejs ist 16.18.0.

          DNS wohl eher nicht, spreche das System mit IP an und auch alle anderen Items im openHAB

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #4

          @derzico

          Schon DNS.
          Der Fehler ist so definiert:

          EAI_AGAIN actually means a temporary failure in name resolution or simply the name server returned a temporary failure indication. It will ask you to try again later.
          EAI_AGAIN is actually a DNS lookup timed out error means it is either a network connectivity error or some proxy related error.

          Wie bist du beim Thema nodeJS/npm aufgestellt?

          sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
          uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          D 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @derzico

            Schon DNS.
            Der Fehler ist so definiert:

            EAI_AGAIN actually means a temporary failure in name resolution or simply the name server returned a temporary failure indication. It will ask you to try again later.
            EAI_AGAIN is actually a DNS lookup timed out error means it is either a network connectivity error or some proxy related error.

            Wie bist du beim Thema nodeJS/npm aufgestellt?

            sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
            uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            
            D Offline
            D Offline
            derzico
            schrieb am zuletzt editiert von
            #5

            @thomas-braun

            sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
            administrator@iobroker:~$ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            x86_64
            Kein Docker
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.18.0
            v16.18.0
            8.19.2
            4.0.23
            administrator
            administrator adm cdrom sudo dip plugdev lxd iobroker
            tty
            
            /home/administrator
            Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
            Hit:2 https://deb.nodesource.com/node_16.x jammy InRelease
            Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
            Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
            Hit:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            19 packages can be upgraded. Run 'apt list --upgradable' to see them.
            nodejs:
              Installed: 16.18.0-deb-1nodesource1
              Candidate: 16.18.1-deb-1nodesource1
              Version table:
                 16.18.1-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages
             *** 16.18.0-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 12.22.9~dfsg-1ubuntu3 500
                    500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • D derzico

              @thomas-braun

              sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
              administrator@iobroker:~$ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              x86_64
              Kein Docker
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v16.18.0
              v16.18.0
              8.19.2
              4.0.23
              administrator
              administrator adm cdrom sudo dip plugdev lxd iobroker
              tty
              
              /home/administrator
              Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
              Hit:2 https://deb.nodesource.com/node_16.x jammy InRelease
              Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
              Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
              Hit:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              19 packages can be upgraded. Run 'apt list --upgradable' to see them.
              nodejs:
                Installed: 16.18.0-deb-1nodesource1
                Candidate: 16.18.1-deb-1nodesource1
                Version table:
                   16.18.1-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages
               *** 16.18.0-deb-1nodesource1 100
                      100 /var/lib/dpkg/status
                   12.22.9~dfsg-1ubuntu3 500
                      500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @derzico

              Okay, passt soweit. Spiel die Updates ein.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              D 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @derzico

                Okay, passt soweit. Spiel die Updates ein.

                D Offline
                D Offline
                derzico
                schrieb am zuletzt editiert von derzico
                #7

                @thomas-braun
                hab ich eingespielt, hab jetzt mal in das Log von openHAB reingeschaut.

                ==> /var/log/openhab/openhab.log <==
                2022-11-29 11:26:38.941 [WARN ] [ore.io.rest.auth.internal.AuthFilter] - Unauthorized API request from 192.168.2.16: Invalid Basic authentication credential format
                

                wenn man mal die einstellung ändert und wieder zurück, kommt folgender Fehler.

                host.iobroker
                2022-11-29 11:36:50.986	warn	Do not restart adapter system.adapter.openhab.0 because restart loop detected
                host.iobroker
                2022-11-29 11:36:50.986	info	Restart adapter system.adapter.openhab.0 because enabled
                host.iobroker
                2022-11-29 11:36:50.986	error	instance system.adapter.openhab.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                
                openhab.0
                2022-11-29 11:36:50.441	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                
                openhab.0
                2022-11-29 11:36:50.441	info	terminating
                
                openhab.0
                2022-11-29 11:36:50.441	info	cleaned everything up...
                
                openhab.0
                2022-11-29 11:36:50.440	error	Exception-Code: ERR_UNESCAPED_CHARACTERS: Request path contains unescaped characters
                
                openhab.0
                2022-11-29 11:36:50.440	error	TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:182:13) at Object.request (node:http:97:10) at connect (/opt/iobroker/node_modules/eventsource/lib/eventsource.js:142:37) at new EventSource (/opt/iobroker/node_modules/eventsource/lib/eventsource.js:260:3) at /opt/iobroker/node_modules/iobroker.openhab/main.js:779:26 at Timeout.syncObjects [as _onTimeout] (/opt/iobroker/node_modules/iobroker.openhab/main.js:385:21) at listOnTimeout (node:internal/timers:561:11) at processTimers (node:internal/timers:502:7)
                
                openhab.0
                2022-11-29 11:36:50.439	error	uncaught exception: Request path contains unescaped characters
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • D derzico

                  @thomas-braun
                  hab ich eingespielt, hab jetzt mal in das Log von openHAB reingeschaut.

                  ==> /var/log/openhab/openhab.log <==
                  2022-11-29 11:26:38.941 [WARN ] [ore.io.rest.auth.internal.AuthFilter] - Unauthorized API request from 192.168.2.16: Invalid Basic authentication credential format
                  

                  wenn man mal die einstellung ändert und wieder zurück, kommt folgender Fehler.

                  host.iobroker
                  2022-11-29 11:36:50.986	warn	Do not restart adapter system.adapter.openhab.0 because restart loop detected
                  host.iobroker
                  2022-11-29 11:36:50.986	info	Restart adapter system.adapter.openhab.0 because enabled
                  host.iobroker
                  2022-11-29 11:36:50.986	error	instance system.adapter.openhab.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                  
                  openhab.0
                  2022-11-29 11:36:50.441	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                  
                  openhab.0
                  2022-11-29 11:36:50.441	info	terminating
                  
                  openhab.0
                  2022-11-29 11:36:50.441	info	cleaned everything up...
                  
                  openhab.0
                  2022-11-29 11:36:50.440	error	Exception-Code: ERR_UNESCAPED_CHARACTERS: Request path contains unescaped characters
                  
                  openhab.0
                  2022-11-29 11:36:50.440	error	TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:387:5) at new ClientRequest (node:_http_client:182:13) at Object.request (node:http:97:10) at connect (/opt/iobroker/node_modules/eventsource/lib/eventsource.js:142:37) at new EventSource (/opt/iobroker/node_modules/eventsource/lib/eventsource.js:260:3) at /opt/iobroker/node_modules/iobroker.openhab/main.js:779:26 at Timeout.syncObjects [as _onTimeout] (/opt/iobroker/node_modules/iobroker.openhab/main.js:385:21) at listOnTimeout (node:internal/timers:561:11) at processTimers (node:internal/timers:502:7)
                  
                  openhab.0
                  2022-11-29 11:36:50.439	error	uncaught exception: Request path contains unescaped characters
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #8

                  @derzico

                  Ist dein Passwort evtl. mit Sonderzeichen? Da scheint was drin zu sein, was als Befehlsoption interpretiert wird.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  D 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @derzico

                    Ist dein Passwort evtl. mit Sonderzeichen? Da scheint was drin zu sein, was als Befehlsoption interpretiert wird.

                    D Offline
                    D Offline
                    derzico
                    schrieb am zuletzt editiert von
                    #9

                    @thomas-braun
                    tatsächlich, danke dir. Ich beobachte das mal aber sieht gut aus :)

                    1 Antwort Letzte Antwort
                    0
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    688

                    Online

                    32.5k

                    Benutzer

                    81.9k

                    Themen

                    1.3m

                    Beiträge
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Home
                    • Aktuell
                    • Tags
                    • Ungelesen 0
                    • Kategorien
                    • Unreplied
                    • Beliebt
                    • GitHub
                    • Docu
                    • Hilfe