Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Neuer Adapter] radar-trap

    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

    [Neuer Adapter] radar-trap

    This topic has been deleted. Only users with topic management privileges can see it.
    • carsten04
      carsten04 Developer @Zarello last edited by

      @zarello Die Versionen sind alle ok. Da scheint bei der Installation irgend etwas schief gegangen zu sein. Lösche mal die Instanz und dann auch den Adapter und installiere dann bitte noch einmal alles neu.

      Zarello 2 Replies Last reply Reply Quote 0
      • Zarello
        Zarello @carsten04 last edited by

        @carsten04 Hmm, das habe ich schon einmal durchgeturnt, hat leider nichts gebracht. Ich kann es gerne nochmals machen, erhoffe mir dadurch aber keine Besserung.

        carsten04 1 Reply Last reply Reply Quote 0
        • carsten04
          carsten04 Developer @Zarello last edited by carsten04

          @zarello Kannst Du mal schauen ob in Chrome eine Konsolenausgabe kommt wenn Du versuchst eine Route anzulegen (in Chrome F12 drücken) und die Ausgabe hier Posten, falls eine da ist. Siehst Du eigentlich unter dem Reiter Karten die Deutschlandkarte?

          1 Reply Last reply Reply Quote 0
          • Zarello
            Zarello @carsten04 last edited by

            @carsten04 So, nochmals Instanz und Adapter gelöscht und neu installiert. Leider der gleiche Effekt.
            Im Log erscheint vom Adapter nur folgende Zeile:

            starting. Version 0.4.0 (non-npm: Steiger04/ioBroker.radar-trap#3ea629a966bad81cc5594df8e867134d3102c4d2) in /opt/iobroker/node_modules/iobroker.radar-trap, node: v14.19.2, js-controller: 4.0.23
            

            Das sieht für mich okay aus.

            carsten04 1 Reply Last reply Reply Quote 0
            • carsten04
              carsten04 Developer @Zarello last edited by

              @zarello Der Logeintrag hilft auch nicht weiter. Kannst Du mal wie oben beschrieben unter Chrome schauen, ob auf der Konsole eine Meldung kommt?

              Zarello 2 Replies Last reply Reply Quote 0
              • Zarello
                Zarello @carsten04 last edited by

                @carsten04 Ja:
                Die Karte sehe ich.
                Im Chrome ist folgendes im Log zu sehen:

                
                ██╗ ██████╗ ██████╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗ 
                ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
                ██║██║   ██║██████╔╝██████╔╝██║   ██║█████╔╝ █████╗  ██████╔╝
                ██║██║   ██║██╔══██╗██╔══██╗██║   ██║██╔═██╗ ██╔══╝  ██╔══██╗
                ██║╚██████╔╝██████╔╝██║  ██║╚██████╔╝██║  ██╗███████╗██║  ██║
                ╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝
                
                2.25763cc9.chunk.js:2 Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters
                2.25763cc9.chunk.js:2 Help us to create open source project with reactJS!
                2.25763cc9.chunk.js:2 See you :)
                socket.io.js:59 [2022-05-17T20:14:28.624Z] Try to connect
                DevTools failed to load source map: Could not load content for https://music-pi2:8081/adapter/radar-trap/static/js/2.25763cc9.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
                DevTools failed to load source map: Could not load content for https://music-pi2:8081/adapter/radar-trap/static/js/main.8b4235c5.chunk.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
                main.8b4235c5.chunk.js:1 Here we are...
                

                Das sieht nach einer Spur aus. Er findet offensichtlich ein paar Dateien nicht.

                carsten04 1 Reply Last reply Reply Quote 0
                • carsten04
                  carsten04 Developer @Zarello last edited by

                  @zarello Nein das sind nur die Sourcemaps das ist ok. Ist das die Ausgabe der Konsole nachdem Du auf den Button gedrückt hast? Konsole muss vorher auf sein.

                  Zarello 2 Replies Last reply Reply Quote 0
                  • Zarello
                    Zarello @carsten04 last edited by

                    @carsten04 Und das ist auch richtig, die fehlen bei mir auf dem Server:

                    /opt/iobroker/node_modules/iobroker.radar-trap/admin/static/js $ l
                    insgesamt 2180
                    drwxr-xr-x+ 2 iobroker iobroker    4096 17. Mai 22:04 ./
                    drwxr-xr-x+ 4 iobroker iobroker    4096 17. Mai 22:04 ../
                    -rw-r--r--+ 1 iobroker iobroker 2170201 26. Okt 1985  2.25763cc9.chunk.js
                    -rw-r--r--+ 1 iobroker iobroker    4199 26. Okt 1985  2.25763cc9.chunk.js.LICENSE.txt
                    -rw-r--r--+ 1 iobroker iobroker   39843 26. Okt 1985  main.8b4235c5.chunk.js
                    -rw-r--r--+ 1 iobroker iobroker    1604 26. Okt 1985  runtime-main.ff49fe11.js
                    

                    Oder gucke ich gerade im falschen Verzeichnis?

                    1 Reply Last reply Reply Quote 0
                    • Zarello
                      Zarello @carsten04 last edited by

                      @carsten04 sagte in [Neuer Adapter] radar-trap:

                      @zarello Nein das sind nur die Sourcemaps das ist ok. Ist das die Ausgabe der Konsole nachdem Du auf den Button gedrückt hast? Konsole muss vorher auf sein.

                      Ja, so sieht die Ausgabe beim Edit auf die Instanz aus und beim Klicken auf den Button kommt nichts mehr dazu.

                      1 Reply Last reply Reply Quote 0
                      • Zarello
                        Zarello @carsten04 last edited by

                        @carsten04 Moment, als ich jetzt nochmal hingeguckt hatte waren noch zwei Timeouts dazu gekommen:

                        2.25763cc9.chunk.js:2 Uncaught (in promise) f {type: 'FeathersError', name: 'Timeout', message: 'Timeout of 120000ms exceeded calling create on routes', code: 408, className: 'timeout', …}
                        Promise.catch (async)
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        onClick @ main.8b4235c5.chunk.js:1
                        qe @ 2.25763cc9.chunk.js:2
                        Xe @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        Tr @ 2.25763cc9.chunk.js:2
                        jr @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        Re @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        zr @ 2.25763cc9.chunk.js:2
                        Qt @ 2.25763cc9.chunk.js:2
                        Jt @ 2.25763cc9.chunk.js:2
                        t.unstable_runWithPriority @ 2.25763cc9.chunk.js:2
                        Zo @ 2.25763cc9.chunk.js:2
                        Ie @ 2.25763cc9.chunk.js:2
                        Yt @ 2.25763cc9.chunk.js:2
                        2.25763cc9.chunk.js:2 Uncaught (in promise) f {type: 'FeathersError', name: 'Timeout', message: 'Timeout of 120000ms exceeded calling create on routes', code: 408, className: 'timeout', …}
                        Promise.catch (async)
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        onClick @ main.8b4235c5.chunk.js:1
                        qe @ 2.25763cc9.chunk.js:2
                        Xe @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        Tr @ 2.25763cc9.chunk.js:2
                        jr @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        Re @ 2.25763cc9.chunk.js:2
                        (anonymous) @ 2.25763cc9.chunk.js:2
                        zr @ 2.25763cc9.chunk.js:2
                        Qt @ 2.25763cc9.chunk.js:2
                        Jt @ 2.25763cc9.chunk.js:2
                        t.unstable_runWithPriority @ 2.25763cc9.chunk.js:2
                        Zo @ 2.25763cc9.chunk.js:2
                        Ie @ 2.25763cc9.chunk.js:2
                        Yt @ 2.25763cc9.chunk.js:2
                        
                        carsten04 1 Reply Last reply Reply Quote 0
                        • carsten04
                          carsten04 Developer @Zarello last edited by

                          @zarello Hast Du bei Dir pihole oder adguard oder was ähnliches laufen was eventuell die mapbox api calls blockiert?

                          Zarello 2 Replies Last reply Reply Quote 0
                          • Zarello
                            Zarello @carsten04 last edited by

                            @carsten04 Nein, pihole oder adguard oder so sind nicht installiert.

                            Ich habe mir gerade die Konsolenausgabe im Firefox noch angeguckt. Dort kommt schon beim Laden der Seite und im 1-2 Sekundentakt folgende Meldung:

                            Laden von gemischten aktiven Inhalten "http://192.168.1.22:3030/socket.io/?EIO=3&transport=polling&t=O3Jid4M" wurde blockiert.
                            2.25763cc9.chunk.js:2:1894871
                            

                            Die IP ist die des RasPIs.

                            1 Reply Last reply Reply Quote 0
                            • Zarello
                              Zarello @carsten04 last edited by

                              @carsten04 Gerade nochmal im Router geguckt, da ist auch nichts blockiert.

                              carsten04 1 Reply Last reply Reply Quote 0
                              • carsten04
                                carsten04 Developer @Zarello last edited by

                                @zarello Wie rufst Du iobroker auf? Über https oder http? Falls über https probier mal bitte über http.

                                Zarello 1 Reply Last reply Reply Quote 0
                                • Zarello
                                  Zarello @carsten04 last edited by

                                  @carsten04 Ich rufe das über https auf. Http akzeptiert mein ioBroker nicht. Das habe ich wohl irgendwo mal ausgeschaltet.

                                  carsten04 1 Reply Last reply Reply Quote 0
                                  • carsten04
                                    carsten04 Developer @Zarello last edited by carsten04

                                    @zarello http geht eigentlich immer, wenn Du für die Seite eine unsichere Verbindung zuläßt. Solange Du nur in Deinem internen Netz bist ist das unkritisch.

                                    Zarello 3 Replies Last reply Reply Quote 0
                                    • Zarello
                                      Zarello @carsten04 last edited by

                                      @carsten04 sagte in [Neuer Adapter] radar-trap:

                                      @zarello http geht eigentlich immer, wenn Du für die Seite eine unsichere Verbindung zuläßt. Solange Du nur in Deinem internen Netz bist ist das unkritisch.

                                      Tja, eigentlich ist nun mal nicht bei mir:
                                      9ed1a09c-239b-406f-8160-4214a2d7fbe9-grafik.png

                                      Ich suche gerade, ob ich finde, wo ich das so eingestellt habe, dass er das nicht zulässt.

                                      1 Reply Last reply Reply Quote 0
                                      • Zarello
                                        Zarello @carsten04 last edited by

                                        @carsten04 Alles klar, das ist eine Instanzeinstellung in admin.0, dort habe ich https aktiviert. Allerdings bekomme ich auch eine Warnung, wenn ich das ausschalten möchte, da ich auch die Authentifizierung aktiviert habe: Das Passwort würde dann im Klartext übertragen werden.
                                        Das ist leider keine Option für mich.

                                        carsten04 1 Reply Last reply Reply Quote 0
                                        • Zarello
                                          Zarello @carsten04 last edited by

                                          @carsten04 sagte in [Neuer Adapter] radar-trap:

                                          @zarello http geht eigentlich immer, wenn Du für die Seite eine unsichere Verbindung zuläßt. Solange Du nur in Deinem internen Netz bist ist das unkritisch.

                                          Also, wenn ich https ausschalte, funktioniert es.
                                          Das ist für mich jedoch nicht unkritisch: Ich habe Kinder im Haus.
                                          Da ist eine gewisse Absicherung einfach notwendig. Es ist schon schlimm genug, dass ich in dem Zusammenhang den Vis-Editor nicht mit einem Passwort schützen kann.

                                          carsten04 1 Reply Last reply Reply Quote 0
                                          • carsten04
                                            carsten04 Developer @Zarello last edited by carsten04

                                            @zarello sagte in [Neuer Adapter] radar-trap:

                                            @carsten04 Alles klar, das ist eine Instanzeinstellung in admin.0, dort habe ich https aktiviert. Allerdings bekomme ich auch eine Warnung, wenn ich das ausschalten möchte, da ich auch die Authentifizierung aktiviert habe: Das Passwort würde dann im Klartext übertragen werden.
                                            Das ist leider keine Option für mich.

                                            Wenn Du nur intern auf den iobroker zugreifst ist das egal. Anders sieht es aus wenn Du den Port freigegeben hast. Sollte man aber sowieso nie machen. Dann immer über VPN (z.B. ipsec, ovpn, etc) oder direkt über die iobroker cloud.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            920
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            27
                                            222
                                            23569
                                            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