Can't fetch versions

Same issue here. Everything works when i download the file from the web brower.

It seems like it is taking near exact 5 minutes to get the exception. It looks like some kind of timeout. The file were downloaded in way below a minute in my browser.

I did not work from CLI. Almost the same error.

Processing Done.

Error: Unknown Error, see logs
20-02-11 08:48:11 INFO (MainThread) [hassio.api.security] /hassos/update access from a0d7b954_ssh
20-02-11 08:48:11 INFO (MainThread) [hassio.hassos] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-3.10.raucb
20-02-11 08:53:12 WARNING (MainThread) [hassio.hassos] Can't fetch versions from https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-3.10.raucb: 
20-02-11 08:53:29 INFO (MainThread) [hassio.host.info] Update local host information
20-02-11 08:53:29 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-02-11 08:53:30 INFO (MainThread) [hassio.host.services] Update service information
20-02-11 08:53:30 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-02-11 08:53:30 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-02-11 08:53:30 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager

I tried at a later time and everything worked like it should. From UI. I don’t think I got any network issues. Everything is up and running except from that call. The call took 7 seconds now. This makes the issue kind of transient…

20-02-11 09:46:41 INFO (MainThread) [hassio.hassos] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-3.10.raucb
20-02-11 09:46:48 INFO (MainThread) [hassio.hassos] OTA update is downloaded on /data/tmp/hassos-3.10.raucb
20-02-11 09:46:48 INFO (MainThread) [hassio.utils.gdbus] Call de.pengutronix.rauc.Installer.Install on /

same here
with rp 2.

It is still failing for me. Non of the methods worked till now. Anyone else seen any success?

The reboot several times method got me to 3.9 but I had to import via USB to get to 3.10…

Can you explain how you updated it using USB drive?

There is some issue accessing/downloading “https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-64-3.10.raucb
Updating from UI or SSH both fail at this point.

20-02-12 06:24:02 INFO (MainThread) [hassio.api.security] /os/update access from core_ssh
20-02-12 06:24:02 INFO (MainThread) [hassio.hassos] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-64-3.10.raucb
20-02-12 06:26:28 INFO (MainThread) [hassio.host.info] Update local host information
20-02-12 06:26:28 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-02-12 06:26:28 INFO (MainThread) [hassio.host.services] Update service information
20-02-12 06:26:28 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-02-12 06:26:29 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-02-12 06:26:29 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-02-12 06:29:02 WARNING (MainThread) [hassio.hassos] Can't fetch versions from https://github.com/home-assistant/operating-system/releases/download/3.10/hassos_rpi4-64-3.10.raucb: 

Somehow is update automatically now. Just rebooted using server management and tried update from UI again, this time it worked without any issue.

That’s what happened to me to get to 3.9

Are you running the Pi-Hole addon? Maybe it’s the same issue as this one?

same here with AdGuard Home Assistant Community Add-on: AdGuard Home

fixed for me with a 2nd static DNS!

I am not able to update too. I am updating from 4.12 to 4.13. On a PI-4. Maybe someone with more knowledge than me knows why it all goes wrong. I have changed all keys/tokens as I don’t know if they are private.

~ $ ha os update --log-level debug
DEBU[0000] Adding homedir to searchpath                  homedir=/root
INFO[0000] No configfile found                          
DEBU[0000] Debug flags                                   apiToken=985f62bc2bb274044b3de0ab4f7a8a5ccd4e64cd52ed24aa266 cfgFile= endpoint=supervisor logLevel=debug noProgress=false rawJSON=false
DEBU[0000] os update                                     args="[]"
DEBU[0000] [GenerateURI]                                 base=supervisor command=update section=os
DEBU[0000] [GenerateURI] Result                          uri="http://supervisor/os/update" url="http://supervisor/os/update" url(string)="http://supervisor/os/update"
⣽ Processing... DEBU[0600] Response                                      body="{\"result\": \"error\", \"message\": \"\"}" fields.time=10m0.755535256s headers="map[Content-Length:[34] Content-Type:[application/json; charset=utf-8] Date:[Fri, 02 Oct 2020 13:31:30 GMT] Server:[Python/3.8 aiohttp/3.6.2]]" received-at="2020-10-02 15:31:30.284510746 +0200 CEST m=+600.766364013" request="&{POST http://supervisor/os/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer 985f62bc2bb274044b3de25435bda554e5b295b0d5ed24aa266] User-Agent:[go-resty/2.3.0 (https://github.com/go-resty/resty)]] <nil> 0x2e3e98 0 [] false supervisor map[] map[] <nil> map[]   <nil> <nil> <nil> 0x101a088}" status="400 Bad Request" statuscode=400
Processing... Done.

Error:

When updating from the web interface I get the following:

20-10-02 12:48:03 INFO (MainThread) [supervisor.hassos] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/4.13/hassos_rpi4-4.13.raucb
20-10-02 12:58:04 WARNING (MainThread) [supervisor.hassos] Can't fetch versions from https://github.com/home-assistant/operating-system/releases/download/4.13/hassos_rpi4-4.13.raucb: 
20-10-02 12:58:04 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-416769' coro=<HassOS.update() done, defined at /usr/src/supervisor/supervisor/hassos.py:125> exception=HassOSUpdateError()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/hassos.py", line 136, in update
    int_ota = await self._download_raucb(version)
  File "/usr/src/supervisor/supervisor/hassos.py", line 88, in _download_raucb
    raise HassOSUpdateError()
supervisor.exceptions.HassOSUpdateError

I am way further now! It on average takes 28 minutes to download the file from the shell… Using my laptop it takes around a minute or less on exactly the same network… As the timeout for downloading is 10 minutes it will always fail.

It is installed on a PI4 with 4gb ram connected using ethernet.

~ $ time wget https://github.com/home-assistant/operating-system/releases/download/4.13/hassos_rpi4-4.13.raucb
Connecting to github.com (140.82.121.4:443)
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.232.251:443)
saving to 'hassos_rpi4-4.13.raucb'
hassos_rpi4-4.13.rau 100% |*************************************************************************************************************************************************************************************************************************************************************************************| 90.8M  0:00:00 ETA
'hassos_rpi4-4.13.raucb' saved

real    28m44.256s
user    0m0.220s
sys     0m2.496s

And it gets even more bizar!

Downloading the 2gb Ubuntu image from the shell on the pi takes only 3 minutes…

So the problem is with AWS/GitHub?

 ~ $ time wget https://releases.ubuntu.com/18.04/ubuntu-18.04.5-desktop-amd64.iso
Connecting to releases.ubuntu.com (91.189.88.248:443)
saving to 'ubuntu-18.04.5-desktop-amd64.iso'
ubuntu-18.04.5-deskt 100% |*************************************************************************************************************************************************************************************************************************************************************************************| 2091M  0:00:00 ETA
'ubuntu-18.04.5-desktop-amd64.iso' saved

real    3m5.690s
user    0m0.472s
sys     0m16.516s

I have the exact same issue and ask myself if there is a way to predownload the file and feed that into the updater

@Sulumar
+1 as I was posting the same question when I saw yours, same problem here from HassOS 4.14 to 4.15 on RasPI4 8GB plenty of SD card space available.

The only way for me to update is the following but still I love to do it using an automatic download:

happy to report, using the usb method i successfully updated to the latest version and the builtin update mechanism works again too

Update HassOs to version 5.5. After 2 hours, the system will crash. Does it happen to you too?