Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker hat eine langsame Verbindung erkannt

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker hat eine langsame Verbindung erkannt

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Atticus @arteck last edited by

      @arteck sorry, komme gerade von der Nachtschicht 🙂

      pi@ioBroker482:~ $ iob setup custom
      Current configuration:
      - Objects database:
        - Type: jsonl
        - Host/Unix Socket: 127.0.0.1
        - Port: 9001
      - States database:
        - Type: jsonl
        - Host/Unix Socket: 127.0.0.1
        - Port: 9000
      - Data Directory: ../../iobroker-data/
      
      Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]:
      
      
      A 1 Reply Last reply Reply Quote 0
      • A
        Atticus @Atticus last edited by Atticus

        ich geh jetzt erst mal schlafen, bis heute MIttag ✋

        arteck 1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @Atticus last edited by arteck

          @atticus machmal.gut nächtle...

          wir nutzen das Redis Protokoll für die kommunikation..

          machmal bitte

          cd /opt/iobroker
          iob stop
          iob fix
          iob start
          
          A 1 Reply Last reply Reply Quote 0
          • A
            Atticus @arteck last edited by

            @arteck Hallo, ja super, das hat geklappt. Der iobroker läuft wieder. Kannst du mir aber mal sagen, was die Ursache war? Die meisten Probleme sitzen ja vor dem PC 🙂 aber ich bin mir keiner Schuld bewusst 😦
            Ist deriobroker so empfindlich?

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

              @atticus

              Nein, der iobroker ist nicht empfindlich.
              Der reagiert nur auf den vermutlich falschen Umgang mit ihm.

              sudo iob status
              

              iobroker wird NICHT per sudo angepackt. Nie!

              A 1 Reply Last reply Reply Quote 0
              • A
                Atticus @Thomas Braun last edited by Atticus

                @thomas-braun Gott sei dank hast Du "vermutlich" geschrieben.
                Wenn der iobroker aber so ein Verhalten an den Tag legt, ist er empfindlich.
                Ich habe den iobroker NICHT außerhalb der Adapter "bedient", da kommt keine Warnmeldung, kein Hinweis, nichts. Und Stunden später popt dann so eine Fehlermeldung auf, die ich in keinen (zeitlichen und bedinungstechnischen) Zusammenhang bringen kann. Worin soll also die "vermutlich" falsche Bedingung liegen?
                Ich bin beruflich im elektrotechnischen Service in der Industrie, habe da mit vielen Softwareprodukten zu tun, und bin von daher schon viel Kummer gewohnt, und deshalb auch recht Vorsichtig beim der Bedinung derartiger Software.
                Aber das der iobroker wirklich wie aus "heiterem Himmel" seine Arbeit einstellt, ist schon recht frustrierend.

                Vielleicht sollte man mal eine Liste der Dinge aufstellen, die der iobroker nicht mag.

                Danke

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

                  @atticus sagte in ioBroker hat eine langsame Verbindung erkannt:

                  Vielleicht sollte man mal eine Liste der Dinge aufstellen, die der iobroker nicht mag.

                  Den Umgang mit 'sudo' hab ich aus deinem geposteten Auszug aus der Konsole. Und wenn da schon was simples wie die status-Abfrage mit sudo angeleiert wurde steht zu vermuten, dass auch ansonsten damit hantiert wurde. Das verbiegt dir halt ggf. das recht feingesponnene Rechtesystem auf Linux.

                  Hier noch einer:

                  pi@ioBroker482:~ $ sudo iobroker iqontrol.0 stop
                  

                  Nach dem

                  iob fix
                  

                  (welches u. a. die Rechte wieder geraderückt) funktioniert es ja laut deiner eigenen Aussage wieder.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Atticus @Thomas Braun last edited by

                    @thomas-braun wenn ich aber schon mit einem "sudo" vor einem Befehl aus der iobroker-Werkzeugkiste das ganze "feingesponnene" System zum wanken bringen, ist es vielleicht doch etwas zu fein, oder?
                    Und noch mal, ich hab bis zum Zeitpunkt, als ich die Fehlermeldung gesehen habe, nicht in der Konsole mit "sudo" "rumgefummelt", nein, nur im iobroker, in den Adaptern.
                    Und ja, ich werde in Zukunft den "sudo" weglassen.

                    A Thomas Braun 2 Replies Last reply Reply Quote 0
                    • A
                      Atticus @Atticus last edited by

                      Ja, und da wir gerade beim Thema sind: vor ca. 2 Stunden hab ich das gemacht, was @arteck geschrieben hat, es hat auch funktioniert, gerade wollte ich noch mal dem iobroker schauen, und, er ist schon wieder nicht so richtig fit. Ohne mein Eingreifen, kein "sudo", kein "root", er hat einfach so vor sich hin gerechnet, und nun wieder das:

                      pi@ioBroker482:~ $ iob status
                       Cannot determine Set feature status: Connection is closed.
                       Unable to subscribe to expiry Keyspace events from Redis Serv
                       Unable to subscribe to evicted Keyspace events from Redis Ser
                       Unable to subscribe to meta namespace "meta." changes: Connec
                      No connection to databases possible ...
                      pi@ioBroker482:~ $
                      
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Atticus last edited by

                        @atticus sagte in ioBroker hat eine langsame Verbindung erkannt:

                        ist es vielleicht doch etwas zu fein, oder?

                        Nö. Ist genau richtig.

                        A 2 Replies Last reply Reply Quote 0
                        • A
                          Atticus @Thomas Braun last edited by

                          @thomas-braun sagt doch bitte mal was zum eigentlichen Problem, bzw. zu der Beseitigung des selben.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Atticus last edited by

                            @atticus sagte in ioBroker hat eine langsame Verbindung erkannt:

                            gerade wollte ich noch mal dem iobroker schauen, und, er ist schon wieder nicht so richtig fit. Ohne mein Eingreifen, kein "sudo", kein "root", er hat einfach so vor sich hin gerechnet, und nun wieder das:

                            dann wird vermutlich irgendetwas dein System lahmlegen. Möglicherweise ein Skript, dass irgendwann startet, oder eventuell beginnendes swapping.......

                            1 Reply Last reply Reply Quote 0
                            • A
                              Atticus @Thomas Braun last edited by

                              kann man (ich) den irgendwie feststellen, woher der Fehler "Langsame Verbindung erkannt..." kommt, was diese verursacht?

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

                                @atticus

                                dmesg -T
                                

                                anschauen. Könnte auch mit dem Dateisystem in Zusammenhang stehen.

                                htop
                                

                                bzw.

                                top
                                

                                hilft auch evtl. weiter.

                                A S 2 Replies Last reply Reply Quote 0
                                • A
                                  Atticus @Thomas Braun last edited by

                                  Ich hab den Raspberry einmal neu gestartet. Es kam wieder "Langsame Verbindung..", stellen Sie die Zeit auf 1 Minute. Hab ich dann auch getan.
                                  Der iobroker starte auch, alle Adapter wurden geladen.
                                  Für den Mqtt-Adpter stand ein Update an, welche sich mal gestartet habe.
                                  MIt folgendem Ergebniss:

                                  $ iobroker upgrade mqtt@3.0.6
                                  
                                  /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^Error: Connection is closed. at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (events.js:520:26) at Socket.emit (events.js:400:28) at TCP.<anonymous> (net.js:686:12)Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                  
                                  ERROR: Process exited with code 1
                                  

                                  Also gut ist anders.

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

                                    @atticus sagte in ioBroker hat eine langsame Verbindung erkannt:

                                    Also gut ist anders.

                                    korrekt!

                                    Dann erzähl uns mal alles!

                                    Was hast du da fürcein System und was hast du damit gemacht?

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Atticus last edited by

                                      dmesg -T ergibt

                                      [Mi Mai 11 17:45:16 2022] Bluetooth: hci0: Frame reassembly failed (-84)
                                      [Mi Mai 11 17:45:19 2022] Bluetooth: hci0: SCO packet for unknown connection handle 1318
                                      
                                      

                                      und das seitenweise.

                                      System: Raspberry P4 mit 8GB Ram, Raspbian Buster, und sonst ist da nur der iobroker installiert. Der Raspberry bootet von einer M2 SSD.

                                      In den letzten Tagen habe ich den MQTT Adapter installiert, ich will damit Raspberrys steuern. Ansonsten nur die Updates, die im iobroker angeboten werden.

                                      A Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
                                      • A
                                        Atticus @Atticus last edited by

                                        Wie kann ich die Ausgabe von htop am besten hier darstellen?

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

                                          @atticus sagte in ioBroker hat eine langsame Verbindung erkannt:

                                          und das seitenweise.

                                          das sollte nicht vom ioBroker kommen.

                                          da hab ich aber keine Ahnung. ist was für @Thomas-Braun

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

                                            @atticus
                                            Dann starte die Kiste neu und dann mit einem frischen System

                                            dmesg -T
                                            

                                            Da steht neben seitenweise Bluetooth-Zeug (was auch schon ungewöhnlich ist) auch noch anderes drin

                                            A 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

                                            687
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            75
                                            9382
                                            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