Docker error "tls: bad record MAC" pulling homeassistant/raspberrypi4-64-homeassistant:0.118.0

Hi all,

I’m doing an installation from scratch on Raspberry Pi 4 8GB, and using the image Raspberry Pi 4 Model B (1 GB, 2 GB, 4 GB and 8 GB model) 64-bit and the installation is always failing with the error:

Can’t install homeassistant/raspberrypi4-64-homeassistant:0.118.0 → 404 Client Error: Not Found (“no such image: homeassistant/raspberrypi4-64-homeassistant:0.118.0: No such image: homeassistant/raspberrypi4-64-homeassistant:0.118.0”).
This error is often caused by not having enough disk space available. Available space in /data is: 109.7 GiB
Error on Home Assistant installation. Retry in 30sec

Through SSH, when pulling the docker image I’m getting the following output:

$ docker pull homeassistant/raspberrypi4-64-homeassistant:0.118.0
0.118.0: Pulling from homeassistant/raspberrypi4-64-homeassistant
5f621e34cdf4: Already exists
db625357d068: Already exists
70f7eb9511ab: Already exists
90caeaa0743c: Already exists
eb8e9a3350e1: Already exists
53f0cfc347ec: Already exists
5a1dcae6b156: Already exists
6ea0d18f9a53: Already exists
9c8cff05eadb: Already exists
51a42a9f7176: Already exists
2adc186523f8: Already exists
cd37c14cebb8: Already exists
a308643de3ab: Already exists
973bbf5828b9: Already exists
9fa75041d990: Already exists
e14fe6a29a08: Already exists
fa9bb7f8dc74: Already exists
e09bf2db0d4d: Already exists
f5a7218efdaa: Extracting [==================================================>] 5.317MB/5.317MB
6a63f99091b4: Downloading [==================================================>] 202.6MB/202.6MB
f7b7a3ae1f51: Download complete
c86464c0f063: Download complete
d428cb6ca4a0: Download complete
d6cfd6c70c49: Download complete
efec5dc78b14: Download complete
454909ba5637: Download complete
local error: tls: bad record MAC

I’ve done several installations from scratch of this image in the past weeks on another sd-card of 8GB and on another network, but now I’m also getting this error even when trying to redo these installation steps in the old network and using the old sd-card (didn’t confirm docker pull output through ssh)

Can anyone help?

So I’ve managed to understand that this was related to my network setup where I have a couple of TP-Link Deco X20 routers and a switch. After connecting the raspberry pi directly to the Deco X20 unit, I’ve stopped having corrupted packages and I was able to properly install HassOS.

In the debug process I’ve tried to install Ubuntu 20 on the raspberry, and when upgrading the system after the install I was also getting some files corrupted.