HAOS update failing

@sairon, actually I do. I checked the Nextcloud AIO I have on another VM and I cannot use the menu script. It relies on GitHub as well. Also, the Apps section cannot be accessed as well and it reports there is no Internet connection. At the same time file sync, apps and web app work both inside and outside the network.

Some time ago I moved to the other place temporarily and I moved the computer to other network. I reconfigured DNS records etc. I’m starting to think it can be related, although weirdly the HA addon store didn’t fail right after moving, but only after about a month when I restarted the machine.

The most significant difference is that I don’t have IPv6 now and I did have it before.

Network config on both HA and Nextcloud is automatic. I do have SSL configured, browser reports certificate as valid.

I have a feeling that two factors involved here might be GitHub and IPv4, allthough I don’t have a clue if it makes sense.

Oh. And the Home Assistant Core has updated successfully right now to version 2024.9.2.

@sairon
Sorry for my late response. Been a bit busy with work.

I tried both the stable version download and the other one you asked for. Both outputs end with “URL rejected: No host part in the URL”.
I compared the output with my previous output and there are some differences like timestamps etc.
Are there any specific texts I should be looking for in the output?

OK.

Eventually also due to sub-par connection speed I decided to replace the router with a new one (the previous was very old, I think it had Wi-Fi 3 only or so).

All the problems are gone, store works, Matter works, Home Assistant OS updated successfully to 13.1.

I have totally no idea what exactly the problem was. I also have no idea if that router was somehow faulty apart from being ancient or is there really some problem with Home Assistant itself that affects only some configurations.

Thanks for your effort to help! :slight_smile:

This turned out to be a combination of two things, one of which I consider a deficiency in HA, versus my connection to the outside world.

  1. HA sets up containers with their network interface MTU at 1500, even though it (correctly) gets a local network MTU (which can be lower) for it’s host-OS external interface. Result: the TCP SYN carries an MSS for full-size packets.

  2. Github is ignoring ICMP frag-needed packets sent its way. Although it’s possibly my internet providers fault, that is less likely if others are getting this problem.

So a big packet from github (eg. the TLS Server Hello) never gets back to HA, and the https connection never gets fully made. So all your add-ons repos disappear, and HA claims that the add-ons you are running have been deleted from their repos.

My workaround is to get my local firewall to clamp outbound TCP MSS values. Unfortunately this is unlikely to be feasible for many people.

2 Likes

I have looked into my router settings, but there I cannot find an option to limit package size or something like that.

Also tried to update HA by downloading the file, putting it onto an usb drive and inserting it into the raspberry, that seems to do nothing, also not after a restart. Probably i’m doing something wrong there because if I understand it correctly, this way of updating should work.

As far as I know, my setup is very common (just a raspberry pi 5 with a standard HA setup). What could trigger my HA to not be able to update, while it seems that a there are not a lot of other people having the same issue?

Hope there is someone out there that can help me. If any extra info is needed, please ask.

With kind regards,
Danny