Internet Connectivity Issue

Apologies if this is the wrong thread, I’m new to Home Assistant and this community.

System
NUC with stand alone home assistant plugged into the network directly to the router.

Issue Context
–Experianced this issue after latest update–

I have an internet connectivity issue which I first noticed yesterday when my Cloudflared addon stopped working. After a lot of digging I now know that Home Assistant is experiancing network/internet connectivity issues. with ha network info returning supervisor internet: false.

via Terminal - pinging google, googles DNS (8.8.8.8) and my home router returns excessive lost packets (+85% packet loss rate). pinging the loop back address 127.0.0.1 runs fine.

The failed packets gets reflected in the HA interface via failed page loads, eg needed to refresh a page a few times before it fully loads. Also failed add ons and components as seen in the system logs.

The rest of my home network works well, so it isnt the rounter (hopefully).

Actions
Before I realised there were network connectivity issues I tried to uninstall and reinstall Cloudflared as suggested by the Addon only to recieve an error stating the addon could no access a github repo.

Digging further in the logs I saw similar issueswith other addons as well as issues such as
WARNING (MainThread) [supervisor.jobs] ‘GitRepo.pull’ blocked from execution, no supervisor internet connection.

I restarted my SAN (was one of the copnnectivity errors), router and home asssistant (full reboot). Also ran “ha network reload”.

I’ve checked the newtwork settings (really dislike the bug which wipes the details), and found two new network interfaces, one with a wireless option available.

Network Settings
IPv6 is disabled, IPv4 enabled and I cant disable the wireless network connection (I cant see an option).

HA Network Info
address:
- 192.168.188.4/24
gateway: 192.168.188.1
method: static
nameservers:
- 192.168.188.1
ready: true
ipv6:
address:
- fe80::9411:1906:7d55:b4de/64
gateway: null
method: disabled
nameservers:
ready: true
mac: D8:43:AE:9C:FE:15
primary: true
type: ethernet
vlan: null
wifi: null

  • connected: false
    enabled: false
    interface: enp45s0
    ipv4:
    address:
    gateway: null
    method: disabled
    nameservers:
    ready: false
    ipv6:
    address:
    gateway: null
    method: disabled
    nameservers:
    ready: false
    mac: D8:43:AE:9C:FE:14
    primary: false
    type: ethernet
    vlan: null
    wifi: null
  • connected: true
    enabled: true
    interface: wlo1
    ipv4:
    address:
    gateway: null
    method: disabled
    nameservers:
    ready: true
    ipv6:
    address:
    • fe80::9669:2305:6a5b:9ecb/64
      gateway: null
      method: disabled
      nameservers:
      ready: true
      mac: D4:F3:2D:40:27:AC
      primary: false
      type: wireless
      vlan: null
      wifi:
      auth: wpa-psk
      mode: infrastructure
      signal: 100
      ssid: Miko -->cant seem to turn this off but enabled it during debug proicess (after bug appeared)
      supervisor_internet: false

There are also no settings enabled in my ASUS router, that I can see, that would be causing the packet loss.

I’m at a loss about the issue as it was working perfectly with a stable network connection until the latest update.

Any help would be appreciated and happy to get further debug info if needed.

Pinging 192.168.188.1 would tell you if it is HA server - router connection or somewhere out on the internet that is the culprit.

Also doing a traceroute to 8.8.8.8 might tell you the next jump after your router, which can then also be pinged. This tells you if it is your internet line to the ISP or if it is something more general.

Thanks WayyR, as mentioned, pinging the loop back address works without issue,pinging the router experiances major packet loss, beyond that (google etc) more again.

Apart from HA, nothing on my network is experiancing network issues.

Everything worked well last week, the only change has been updating HA and the Cloudflared addon.

tracing the route to Google clearly isnt having a good day

And what if you ping from your normal work device to the router and google?
My guesstimate is that it is the router having issues and maybe a restart could solve it.
It is just HA that rely on a lot of connections and actually show that something is wrong that makes you point the finger at it.

Hi Wally, thanks for the response.

As mentioned, all of the devices involved have been restarted and the rest of my network is fine and functions correctly. Making ping calls from another device from my network both internally and externally works as expected.

I’m posting to see if anyone else has any ideas of things to check or rabbit holes to look into.

For the sake of clarity, nothing else on my network has changed other than an update to HA and the cloudflared addon. After the updates were run I have a new network interface under (system->networking) and issues with my network connectivity.

Update on the issue… it just went away. 48 hours or so of connectivity issues and now… it works.

Reinstalled cloudflared and all is working well.

No change to the router, HA, service provider.

Strange.

Wally thanks for jumping in.

Happy that it now works, but it leave us wondering what went wrong.

I completely agree, the issue seems to have been between HA and the router.

If the issue happens again I’ll be looking at physical problems in the comms area, maybe a defective cable or equipment proximity issues of some sort.

I am at a loss.

So this was a carbon based issue :wink:

So the intermittent natuire of this network connectivitiy issue has been solved.

I have a TV connected in a room downstairs which is only on when the kids are down there. the IP address was manually configured and was conflicting with the one set for HA.

When the kids watched a movie… HA had network issues.

I’ve fixed the IP on the TV and the issues have gone away.