Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Bekomme keine Verbindung zu Kodi

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Bekomme keine Verbindung zu Kodi

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Robertinho last edited by Robertinho

      Läuft bei Euch der Kodi-Adapter? Ich habe den erst gestern eingerichtet.

      Es läuft auf einem separaten RasPi 4 und ist über das WLan ins Netz eingebunden.

      Die Einstellungen bei Kodi sind richtig (sämtliche Fernzugriffsreche gesetzt). IP-Adresse, Port und Passwort im IOB-Adapter passen auch (d.h. ich kann von der Instanz aus die Kodi-Oberfläche über den Browser aufrufen).

      Ich habe den Adapter nun schon mehrfach gestartet, einmal stand er kurz auf grün, dann nach 10 Sekunden wieder zurück auf gelb.

      Hat irgendwer eine Idee, woran das liegen kann? Ganz viel einzustellen ist ja nicht 🙂

      sigi234 OliverIO 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @Robertinho last edited by

        @robertinho

        Er wird nur Grün wenn du Kodi gestartet hast.

        R 1 Reply Last reply Reply Quote 0
        • R
          Robertinho @sigi234 last edited by

          @sigi234 Danke, aber Kodi läuft die ganze Zeit und ist über das Netz erreichbar. Nur der IOBroker-Adapter findet die Verbindung eigenartigerweise nicht.

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Robertinho last edited by sigi234

            @robertinho

            Welche Adapter Version?
            Was sagt das Log? Mal auf debug setzen.
            Wie sind deine Diensteinstellungen in Kodi?

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

              @robertinho sagte in Bekomme keine Verbindung zu Kodi:

              Läuft bei Euch der Kodi-Adapter?

              kurz und knapp .. JA

              1 Reply Last reply Reply Quote 0
              • R
                Robertinho @sigi234 last edited by

                @sigi234 Ich habe jetzt nochmal ein wenig rumprobiert, bekomme aber keine Lösung.

                Der Adapter ist Version 2.0.8 - eine aktuellere Version habe ich nicht gefunden.
                Die Diensteinstellungen auf dem Kodi sind: Steuerung über HTTP erlauben, Port 8080, keine Authentifizierung erforderlich (habe es auch schon mit versucht)
                Das Log sagt: Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                Die Kodi-Version ist 19.4 (Matrix)

                Von allen anderen Geräten komme ich ohne Probleme auf das System.

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

                  @robertinho sagte in Bekomme keine Verbindung zu Kodi:

                  Die Diensteinstellungen auf dem Kodi sind: Steuerung über HTTP erlauben, Port 8080, keine Authentifizierung erforderlich (habe es auch schon mit versucht)

                  der muss vorhanden sein mit user password

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Robertinho @arteck last edited by

                    @arteck Mit User und Passwort hatte ich es auch schon probiert. Ich habe das eben nochmal eingestellt, leider ohne Veränderung. Per Browser und verschiedenen Apps verbindet sich Kodi ohne Probleme, nur mit dem IOBroker nicht.

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

                      @robertinho adapter auf debug und logs posten.. irgendwas machst du verkehrt.. bei mir läuft das ding schon seid jahren

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Robertinho @arteck last edited by

                        @arteck Danke, dass Du Dir das anschaust. Hier ist das Log.

                        kodi.0
                        2022-04-06 10:36:50.818 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:45.816 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:45.704 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:40.703 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:40.684 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:35.682 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:35.656 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:30.655 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:30.536 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:25.535 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:25.417 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:20.416 debug getConnection Error: Socket error: Unexpected server response: 401

                        kodi.0
                        2022-04-06 10:36:20.344 debug KODI connecting to: 192.168.178.55:8085

                        kodi.0
                        2022-04-06 10:36:15.304 info starting. Version 2.0.8 in /opt/iobroker/node_modules/iobroker.kodi, node: v14.18.3, js-controller: 3.3.22

                        kodi.0
                        2022-04-06 10:36:15.048 debug statesDB connected

                        kodi.0
                        2022-04-06 10:36:15.047 debug States connected to redis: 127.0.0.1:9000

                        kodi.0
                        2022-04-06 10:36:15.037 debug States create User PubSub Client

                        kodi.0
                        2022-04-06 10:36:15.035 debug States create System PubSub Client

                        kodi.0
                        2022-04-06 10:36:15.026 debug Redis States: Use Redis connection: 127.0.0.1:9000

                        kodi.0
                        2022-04-06 10:36:15.023 debug objectDB connected

                        kodi.0
                        2022-04-06 10:36:15.014 debug Objects connected to redis: 127.0.0.1:9001

                        kodi.0
                        2022-04-06 10:36:14.990 debug Objects client initialize lua scripts

                        kodi.0
                        2022-04-06 10:36:14.989 debug Objects create User PubSub Client

                        kodi.0
                        2022-04-06 10:36:14.987 debug Objects create System PubSub Client

                        kodi.0
                        2022-04-06 10:36:14.985 debug Objects client ready ... initialize now

                        kodi.0
                        2022-04-06 10:36:14.936 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

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

                          @robertinho sagte in Bekomme keine Verbindung zu Kodi:

                          debug getConnection Error: Socket error: Unexpected server response: 401

                          das sieht doch ein Blinder mi dem krückstock

                          debug getConnection Error: Socket error: Unexpected server response: 401
                          

                          kann der iobroker den kodi sehen ?? kannst den anpingen vom iobroker aus ?

                          bzw.. was ist mit den login daten.. im psw vielleicht ein sonderzeichen ?? teste mal mit einfachem psw

                          Test1234
                          
                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Robertinho @arteck last edited by

                            @arteck Habe ich schon mit "kodi" - etwas einfacheres ist mit nicht eingefallen 🙂

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

                              @robertinho 66c50b45-d6d7-4fa2-9a6b-2400efb6556c-grafik.png

                              so alles eingestellt..bitte erst genau so.. nix am ..port oder user oder oder umfummeln

                              R 2 Replies Last reply Reply Quote 1
                              • R
                                Robertinho @arteck last edited by

                                @arteck Ja, so ist es eingestellt. Ich hatte nur den Port mal zum Probieren auf 8085 gestellt, weil es mit 8080 ja nicht funktioniert hatte. Anpingen habe ich mit dem "Ping" Adapter gerade probiert, dort steht der Kodi bei "Alive" auf "true".

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

                                  @robertinho und du hast den installiert

                                  https://github.com/iobroker-community-adapters/iobroker.kodi

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    Robertinho @arteck last edited by

                                    @arteck Kann es sein, dass Du eine ältere Kodi-Version hast? Bei mir sind noch ein paar Punkte extra zu sehen (z.B. SSL).
                                    Vielleicht ist Kodi 19.4 nicht kompatibel.

                                    arteck 1 Reply Last reply Reply Quote 0
                                    • OliverIO
                                      OliverIO @Robertinho last edited by

                                      @robertinho

                                      Fehlercode 401 ist Unauthorized
                                      https://developer.mozilla.org/de/docs/Web/HTTP/Status/401

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Robertinho @arteck last edited by

                                        @arteck Ja, 2.0.8 - testweise habe ich auch schon ältere Versionen probiert, die haben alle den gleichen Fehler gezeigt.

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

                                          @robertinho ich hab auch die matrix ..alles gut

                                          schau dir mal die advancedsettings.xml vom kodi an

                                          und füge

                                          <jsonrpc>
                                              <compactoutput>true</compactoutput>
                                              <tcpport>9090</tcpport>
                                          </jsonrpc>
                                          

                                          ein
                                          dann kodi neustarten und im kodi adapter den port angeben
                                          c18bf501-a0fb-4e98-9730-a62bf19040e2-grafik.png

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            Robertinho @arteck last edited by

                                            DANKE, das hat geholfen!

                                            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

                                            856
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            20
                                            1115
                                            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