Hi,
I have installed Home Assistant on an Optiplex running a fresh installation of Ubuntu Server. When Home Assistant is running, I can’t access some websites like GitHub even from a terminal that has nothing to do with Home Assisant. As soon as I stop Home Assistant, it works fine.
For example, when I do ping github.com, I get the response
ping: Do you want to ping broadcast? Then -b. If not, check your local firewall rules.
I also ran ip route get $(getent hosts github.com | awk '{print $1}' | head -n1) which gave me
140.82.121.4 via my-gateway fdev enp3s0 src my-ip uid 1000
cache
when Home Assistant was not running and
broadcast 140.82.121.4 via my-gateway dev enp3s0 src my-ip uid 1000
cache <local,brd>
when it was running.
This happens for a few pages, with GitHub being the most prominent.
I also have a second machine with the same Ubuntu version, that runs the same docker compose and works perfectly fine.
Not exactly, but i’m getting errors with “Network unreachable” with a similar configuration on an Odroid M1 and i’m trying to find a solution for some time already.
I have some some docker containers running and my observation is, when i stop one of these containers the error disappears until i retart home assistant.
What linux kernel version are you using, “uname -a”?
For local ones, they are NOT hackable, so no need, however as you have masked them, the critical information needed has been suppressed.
The symptoms are consistent with two devices using the same IP Address, possibly by two copies of docker containers.
Show the local addresses - the vital clues.
In any case, you appear to have a network configuration error, hence your data packets are not connecting to the outside world properly. Your best option is to go back and follow the configuration documentation, the one supplied by the vendor, very closely. Using guides from ChatGPT, AI and YouBoob sources will most likely confuse you with outdated information.