Https problem and casting dashboard to Google nest hub

Im new to Home Assistans.
Im running HA on a computer with Debian 11 (no GUI).

I have created a “Duckdns domain” and “lets encrypt”.
Those seems to work.
Why i want those 2 are that i want to cast desbord to my Google Nest Hub (gen 1).
When i cast it recive it but it cant show any dashbord and i get an error saying “Not Connected. ERROR: Unable to connect to the Home Assistant websocket API”.
Where should i start looking?

Then i cant connect to Home Assistant with https. Could those two problems be connected somehow?

Note: It could be easier to just have the Home Assistant Cloud service. But i dont want to have subscription solution. At the moment i dont have a single subscription regarding my Smart Home.
I was paying for IFTTT but i canceled it cause i found Home Assistant.

Start by confirming that the Google hub supports websockets

For newbies out there who want to cast homeassistant dashboard to Google Nest Hub, you could try the following instructions as this is what works for me :slight_smile:

  1. If you do not have file editor on the left panel. Activate that by going to Settings > Add-ons > Search for file editor and activate it. Make sure that “Start on boot”, “Watch dog”, “Auto update” and “Show in side bar” are selected.

  2. Now go to the side panel and access file editor > click on the top left folder icon > configruation.yaml

  3. Go to duckdns.org > sign in with your google account > create a sub domain in duckdns.org with a name you like > to that sub domain add your homeassistant internal ip under the column “current ip” > click on update ip > note the [subdomain-you-created-with-internal-homeassistant-ip].duckdns.org for later use

  4. homeassistant:
    internal_url: http://[internal ip address]:8123
    external_url: https://[subdomain-you-created-with-internal-homeassistant-ip].duckdns.org

  5. Settings > Devices & Services > Google Cast > devices > find your google nest hub and add it to your dashboard

  6. Dashboard > go to the media card > browse media > dashboards > click on the dashboard you want displayed in your home assistant > you should hear a audio confirmation with the dashboard displayed in your Google Home device.

Good luck