Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. Cloud services
    4. SSL/TLS errors in Google Home adapter

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    SSL/TLS errors in Google Home adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Martin van Dijken
      Martin van Dijken last edited by

      Hi all,

      Yesterday my Google Home adapter suddenly stopped connecting to my Google homes, which it did properly the day before. I get this error:

      chromecast.0	2021-02-21 09:13:42.704	warn	(7899) Woonkamer - Client error: Error: Client network socket disconnected before secure TLS connection was established
      chromecast.0	2021-02-21 09:13:34.679	warn	at processTicksAndRejections (internal/process/task_queues.js:84:21)
      chromecast.0	2021-02-21 09:13:34.679	warn	at endReadableNT (_stream_readable.js:1241:12)
      chromecast.0	2021-02-21 09:13:34.679	warn	at TLSSocket.emit (events.js:326:22)
      chromecast.0	2021-02-21 09:13:34.679	warn	at Object.onceWrapper (events.js:420:28)
      chromecast.0	2021-02-21 09:13:34.679	warn	at TLSSocket.onConnectEnd (_tls_wrap.js:1549:19)
      chromecast.0	2021-02-21 09:13:34.679	warn	at connResetException (internal/errors.js:609:14)
      

      This is to my Google Nest Hub, but the same thing happens to my LG WK-7 Chromecast audio. I cannot seem to find anything that I have configured wrong, can anybody provide a hint? Maybe @vegetto ?

      Thanks in advance,

      Martin

      P.S. Deutsche antworte kann ich sehr gut lesen, schreiben kann ich schlecht. 😢

      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Martin van Dijken last edited by

        @martin-van-dijken die you tried power off and on of the Google device? In fact the device disconnects.

        Martin van Dijken 1 Reply Last reply Reply Quote 0
        • Martin van Dijken
          Martin van Dijken @apollon77 last edited by

          @apollon77 , yes I did do a power cycle on my Google devices. There is some kind of connection error indeed, strange that it only started occurring last week, where it did work properly before.

          Anyone else have this error?

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @Martin van Dijken last edited by

            @martin-van-dijken Could it be that Google changed the TLS certificate handling or such on the devices?

            Martin van Dijken 1 Reply Last reply Reply Quote 0
            • Martin van Dijken
              Martin van Dijken @apollon77 last edited by

              @apollon77, could be, I would expect a lot more errors in the community if that were the case. Strange!

              BTW, 1 speaker is an LG branded Chromecast, but I also have a bunch of Google Mini's and a Nest Hub. None of them seem to be working well 😞

              Could it somehow be related to the fact that I am running iobroker in a Docker container?

              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @Martin van Dijken last edited by

                @martin-van-dijken sagte in SSL/TLS errors in Google Home adapter:

                Could it somehow be related to the fact that I am running iobroker in a Docker container?

                No idea, I would not know that docker limits "outgoing" connections ...

                Martin van Dijken 1 Reply Last reply Reply Quote 0
                • Martin van Dijken
                  Martin van Dijken @apollon77 last edited by

                  @apollon77, SSL connections are somewhat more complicated, but it still sounds like it should just work. The reproduction steps for me are very simple, created an issue at the Google home project:

                  https://github.com/angelnu/ioBroker.chromecast/issues/80

                  sunsear created this issue in angelnu/ioBroker.chromecast

                  closed Unable to connect to Chromecast due to SSL/TLS-error #80

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @Martin van Dijken last edited by

                    @martin-van-dijken I would help but do not really have such a device. Sorry.

                    Martin van Dijken 1 Reply Last reply Reply Quote 0
                    • Martin van Dijken
                      Martin van Dijken @apollon77 last edited by Martin van Dijken

                      @apollon77 , I do have the devices and also have javascript web development experience. I would love to debug this in more detail. In fact, this might be an interesting side project to help maintain.

                      Could you advise on a method to test this in isolation? I'd really like to be able to run the code locally in a "unit test"-like setup and be able to debug the code...

                      apollon77 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @Martin van Dijken last edited by

                        @martin-van-dijken Maybe then it is a good idea to comie into the Discord. There is a develoment group with developers that can help you to setup your IDE /dev system so that you can really debug the adapter. Would that be an option?

                        Would be cool if you can look deeper into it.

                        Short: in fact you can stop the adapter in admin, change to command line and start "iobroker debug chromecast.0" ... then you can attach a debugger to it ... or start that from your ide. And we also have other options.

                        Martin van Dijken 1 Reply Last reply Reply Quote 0
                        • Martin van Dijken
                          Martin van Dijken @apollon77 last edited by

                          @apollon77 awesome advice, I will definitely do that when I run into trouble and/or have something I want to start developing. For now, I have resolved the issue by buying a raspberry PI 4 and installing iobroker into it directly, so not in Docker. That seems to have solved quite a few network issues. I am now realising that mDNS also didn't work properly, I had to manually configure my chromecast in the plugin, now they all appear magically.

                          What I am seeing is that I apparently had the wrong port. I am now connecting to port 8009, not port 8008 as is the default I found elsewhere. I assume 8008 is probably without encryption and 8009 with encryption. How it can have worked in the first place I am completely puzzled by.

                          For now, thanks for the assist!

                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @Martin van Dijken last edited by

                            @martin-van-dijken yes Docker and udp based stuff is always a hassle ( in my experience) ... great that it solved your topic.

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            660
                            Online

                            31.6k
                            Users

                            79.4k
                            Topics

                            1.3m
                            Posts

                            2
                            12
                            1470
                            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