Can't fetch versions

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?