Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.2 jetzt im Latest!

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    js-controller 3.2 jetzt im Latest!

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

      @uwerlp sagte in js-controller 3.2 jetzt im Latest!:

      Ausser obige Auffälligkeit

      Was ist die Auffälligkeit?

      status "all" liefert genau diese Ausgabe .. es fehlen glaube ich nur die Instanzen noch dazu

      UweRLP 1 Reply Last reply Reply Quote 0
      • UweRLP
        UweRLP @apollon77 last edited by

        @apollon77

        Diese Ausgabe

        OBJECTS/OPTIONS/retryStrategy: reconnectCount => {
                    if (!ready && initError && ignoreErrors) {
                        return new Error('No more tries');
                    }
                    if (this.stop) {
                        return new Error('Client has stopped ... no retries anymore');
                    }
                    if (ready && reconnectCount >= retry_max_count) {
                        return new Error('Stop trying to reconnect');
                    }
                    // A function that receives an options object as parameter including the retry attempt,
                    // the total_retry_time indicating how much time passed since the last time connected,
                    // the error why the connection was lost and the number of times_connected in total.
                    // If you return a number from this function, the retry will happen exactly after that
                    // time in milliseconds. If you return a non-number, no further retry will happen and
                    // all offline commands are flushed with errors. Return an error to return that
                    // specific error to all offline commands.
        
                    if (!ready) {
                        return 300;
                    } else {
                        return retry_max_delay;
                    }
                    /*if (options.error.code === 'ECONNREFUSED') {
                        // End reconnecting on a specific error and flush all commands with a individual error
                        return new Error('The server refused the connection');
                    }
                    if (options.total_retry_time > 1000 * 60 * 60) {
                        // End reconnecting after a specific timeout and flush all commands with a individual error
                        return new Error('Retry time exhausted');
                    }
                    if (options.times_connected > 10) {
                        // End reconnecting with built in error
                        return undefined;
                    }
                    // reconnect after
                    return Math.max(options.attempt * 100, 3000);*/
                }
        

        und das

        STATES/OPTIONS/retryStrategy: reconnectCount => {
                    if (!ready && initError) {
                        return new Error('No more tries');
                    }
                    if (this.stop) {
                        return new Error('Client has stopped ... no retries anymore');
                    }
                    if (ready && reconnectCount >= retry_max_count) {
                        return new Error('Stop trying to reconnect');
                    }
                    // A function that receives an options object as parameter including the retry attempt,
                    // the total_retry_time indicating how much time passed since the last time connected,
                    // the error why the connection was lost and the number of times_connected in total.
                    // If you return a number from this function, the retry will happen exactly after that
                    // time in milliseconds. If you return a non-number, no further retry will happen and
                    // all offline commands are flushed with errors. Return an error to return that
                    // specific error to all offline commands.
        
                    if (!ready) {
                        return 300;
                    }
                    return retry_max_delay;
                    /*if (options.error.code === 'ECONNREFUSED') {
                        // End reconnecting on a specific error and flush all commands with a individual error
                        return new Error('The server refused the connection');
                    }
                    if (options.total_retry_time > 1000 * 60 * 60) {
                        // End reconnecting after a specific timeout and flush all commands with a individual error
                        return new Error('Retry time exhausted');
                    }
                    if (options.times_connected > 10) {
                        // End reconnecting with built in error
                        return undefined;
                    }
                    // reconnect after
                    return Math.max(options.attempt * 100, 3000);*/
                }
        
        

        habe ich als Fehlermeldung interpretiert.
        Wenn die Ausgabe so in Ordnung ist dann mein Fehler 😊

        foxriver76 Thomas Braun 2 Replies Last reply Reply Quote 0
        • UncleSam
          UncleSam Developer @Diginix last edited by

          @diginix Was ich nicht verstehe: wieso benutzt du LE für interne Server? LE ist ja eigentlich für externe Server gedacht und da gibt es nur einen Port 443. Oder wie löst du das? Split-Horizon-DNS?

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

            @uwerlp Ausgabe ist so i. O., allerdings ist aufgefallen, dass das auflisten der Instanzen fehlt, daher gut dass du es gepostet hast 😉

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

              @uwerlp
              Nicht alles wo das Wort 'Error' drin vorkommt ist auch eine Error-Meldung.
              Das was du da gefunden hast ist doch nur die retryStrategy für den Fall, das die aufgeführten Errors im System auftauchen.

              1 Reply Last reply Reply Quote 0
              • E
                ente34 @Kueppert last edited by

                @kueppert
                oder mit Taste "c" in top

                1 Reply Last reply Reply Quote 0
                • Feuersturm
                  Feuersturm @eXectiX last edited by

                  @exectix sagte in js-controller 3.2 jetzt im Latest!:

                  @feuersturm @apollon77

                  Auch beim Zugriff auf den Admin kommt es mir so vor, dass er länger lädt bis alles komplett aufgebaut ist.

                  Das Gefühl habe ich auch seit der 3.2!

                  @apollon77 @eXectiX Vermutlich hängt es mit dem Fully Browser zusammen. Heute Nachmittag lief meine eigentliche Produktivinstanz auch deutlich träger als sonst. Nachdem ich den Fully Browser dann zu und wieder auf gemacht habe war es wieder flotter. Hat also erstmal nichts mit dem js-controller zu tun, werde vermutlich ein neue Diskussion dazu aufmachen.

                  1 Reply Last reply Reply Quote 1
                  • Diginix
                    Diginix @UncleSam last edited by

                    @unclesam sagte in js-controller 3.2 jetzt im Latest!:

                    @diginix Was ich nicht verstehe: wieso benutzt du LE für interne Server? LE ist ja eigentlich für externe Server gedacht und da gibt es nur einen Port 443. Oder wie löst du das? Split-Horizon-DNS?

                    Ich habe eine myfritz Domain mit der ich von außen auf MaterialUI zugreife und für die ist auch das LE Cert.
                    Aber wenn ich im Heimnetz bin habe ich bisher dann logischerweise lokale IPs genutzt.
                    Wozu gibt es LE denn, wenn nicht genau für das was ich damit mache?
                    Es klang so, als ob man weiterhin parallel auch lokale IPs nutzen könne, auch ohne, dass greenlock ein Fix erhält.

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @Diginix last edited by

                      @diginix mal ne blöde Frage: wenn du lokal zugreifst per ip kam Dann bisher immer eine ssl Warnung oder?! Weil der Domain Name hat ja nicht gepasst oder?!

                      Aber ja die Änderung ist scheinbar das jetzt nur noch der fqdn Zugriff von Greenlock verarbeitet wird und nicht einfach die certs so genutzt werden. 😞

                      Diginix 1 Reply Last reply Reply Quote 0
                      • Diginix
                        Diginix @apollon77 last edited by

                        @apollon77 Ja, genau der Browser hat das nat. bemerkt und als unsicher markiert, aber der Webserver hat ja geliefert. Was er eben nun nicht mehr macht.

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @Diginix last edited by

                          @diginix Ja das ist blöd, mal schauen ob wir was hinbekommen. Effektiv ists aber so ne Sache. Sauberer wäre eine web Instanz zu haben die du von extern nutzt und eine andere für Lokal 🙂

                          Diginix 1 Reply Last reply Reply Quote 0
                          • Diginix
                            Diginix @apollon77 last edited by

                            @apollon77 Supi.
                            Würde denn eine zweite web Instanz Stand heute etwas nützen?
                            Wär ja kein Problem die zu installierend, LE darin nicht zu aktivieren und z.B. Port 80 zu verwenden.
                            Aber kommen die anderen Frontend Adapter damit klar?

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Diginix last edited by

                              @diginix Am Ende kannst Du denke die gleichen alle über die andere Web Instanz auch erreichen ... musst nur angeben das es alle web's sind und nicht nur eine Instanz

                              Diginix 1 Reply Last reply Reply Quote 1
                              • Diginix
                                Diginix @apollon77 last edited by

                                @apollon77
                                Bei den betroffenen Instanzen kann man doch aber gar nicht auswählen mit welcher web Instanz sie arbeiten:
                                c8d36d2b-24aa-46c8-acbf-677cc9c086fe-image.png

                                Oder was meinst du mit "angeben dass es alle web's sind..."?

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Diginix last edited by

                                  @diginix Dann sollten die in allen webs drin sein. Versuchs mal

                                  Diginix O 2 Replies Last reply Reply Quote 0
                                  • Diginix
                                    Diginix @apollon77 last edited by Diginix

                                    @apollon77 Oh man das war jetzt echt zu einfach! 👍 🤣 Bist mein Held!
                                    ist jetzt ja noch besser als vorher, weil ohne Login möglich und sauber mit http auf Port 80 oder ein anderer freier.

                                    1 Reply Last reply Reply Quote 1
                                    • O
                                      oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                                      @apollon77
                                      Wird es die 3.2.12 kurzfristig geben? Dann spare ich mir nämlich das Update auf die .11.

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @oFbEQnpoLKKl6mbY5e13 last edited by

                                        @ofbeqnpolkkl6mby5e13 Morgen oder Freitag

                                        O 1 Reply Last reply Reply Quote 0
                                        • O
                                          oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                                          @apollon77
                                          Okay.

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            So, guten morgen alle zusammen,

                                            die 3.2.12 (Stable RC2) ist auf dem Weg ins Latest und enthält noch ein paar kleinere Optimierungen und Fixes:

                                            3.2.12 (2021-01-28)

                                            • (foxriver76) fix repo cli
                                            • (foxriver76) add instances list back to 'status all'
                                            • (Apollon77) optimize logging in db classes
                                            • (Apollon77) enhance letsencrypt to also allow to specify alternative names for certs
                                            • (Apollon77) deleting a not existing object is handled as success instead of Not-Exists error
                                            O 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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            575
                                            95139
                                            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