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
Hi guys
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.
Solution:
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:
- 8.8.8.8
privileged: true
network_mode: host
I have picked google DNS 8.8.8.8, 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.
Works fine, tks
I hope this is useful for people. I had my HA on docker on Debian (supervised) back then. Never had a issue with DNS like you had.
anyways⌠thanks for sharing this information.
Thank you very much
tks a lot.this worked for me!
Thanks a lot man, works for me!