Thank you so much my friend.
Thanks, this worked for me
@Mijn.Handen, you’re a legend! many thanks my friend!!! I was going around in circles and you’re solution fixed the issue immediately.
YESSS indeed. Works for me as well!
This helped me very well, Thank you!
This helped me to. Thanks man
you are the man!, wonderful, Thank you so much bro
I was struggling with some Spotify integration problems (500, invalid client etc). In my case the fault was that my dockerized Home Assistant could not connect to DNS server.
Firstly check is DNS is a problem:
- Login to HA container - on my setup it was:
sudo docker exec -it homeassistant /bin/bash
- Ping any domain
ping google.com- if command is not responding with ping, you know that it is DNS problem.
In my docker-compose file add DNS configuration
homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/raspberrypi3-homeassistant:stable" volumes: ... restart: unless-stopped dns: - 18.104.22.168 privileged: true network_mode: host
I have picked google DNS 22.214.171.124, you can pick anything you like.
Then restart docker-compose, in my case it was:
sudo docker compose -f ./home-assistant.yml stop
sudo docker compose -f ./home-assistant.yml up -d
Proceed with official documentation. Then it worked form me, with local IP.