# \[Error\] All container images fail to download (to a specific device)

**URL:** <https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923>\
**Category:** Product support\
**Tags:** raspberrypi3\
**Created:** [July 31, 2019, 9:34pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923 "2019-07-31T21:34:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [July 31, 2019, 9:34pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/1 "2019-07-31T21:34:31Z")

</div>

I have been developing a multi-container setup on a Raspberry Pi (BalenaCloud is awesome!), with another device set up on the same application but disconnected from the internet since the outset.

Everything has been running smoothly on the ‘development Pi’, but having now finished, I have booted up the ‘production Pi’ (which is currently still on ‘Factory build’) and it repeatedly fails to download any image, each time giving an error such as:

> Failed to download image ‘[registry2.balena-cloud.com/v2/\*\*\*\*\*\*@\*\*\*\*\*\*\*\*\*\*l](http://registry2.balena-cloud.com/v2/ ******@********** l)’ due to '(HTTP code 500) server error - Get [https://registry2.balena-cloud.com/v2/:](https://registry2.balena-cloud.com/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ’

Has anyone encountered this problem before? The images begin to download (at a snails pace) but then fail at some point each time, at that point, the Pi will go Offline for a while.

SSH (to the Host OS) usually fails, so too does Diagnostics (every time), The device in question is running balenaOS 2.29.2+rev2 / supervisor 9.0.1

---

<div class="post-metadata">

**Author:** ![dt-rush](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dt-rush/32/1405_2.png) [@dt-rush](https://forums.balena.io/u/dt-rush)\
**Post date:** [July 31, 2019, 9:51pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/2 "2019-07-31T21:51:42Z")

</div>

It sounds as though the quality of the network link is very poor. Failure to download images could be several things, but if SSH is also affected, along with diagnostics, all points to that. What is the nature of the network link, and can you benchmark it in some way?

---

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [July 31, 2019, 10:12pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/3 "2019-07-31T22:12:52Z")

</div>

Unfortunately I don’t have physical access to the second Pi, but I have been assured it is placed right next to the Wifi router. I asked someone nearby to do a speedtest on the same wifi, and they reported ~50Mbps download, so it shouldn’t be the fault of the network (that’s not to say its not the fault of the Raspberry Pi’s Wifi module)

I have committed a release which is now just one (very small) container, it appears to be downloading, albeit very slowly, I am currently at 88%, the plan is to let at least one service install and attempt to SSH to benchmark the connection that way

---

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [July 31, 2019, 10:18pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/4 "2019-07-31T22:18:19Z")

</div>

nope. got to 94% then received the error:

> Failed to download image '[registry2.balena-cloud.com/v2/](http://registry2.balena-cloud.com/v2/)_**’ due to '(HTTP code 404) no such image - no such image: [registry2.balena-cloud.com/v2/](http://registry2.balena-cloud.com/v2/)**_: No such image: [registry2.balena-cloud.com/v2/\*\*\*](http://registry2.balena-cloud.com/v2/***) ’

---

<div class="post-metadata">

**Author:** ![dt-rush](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dt-rush/32/1405_2.png) [@dt-rush](https://forums.balena.io/u/dt-rush)\
**Post date:** [July 31, 2019, 10:22pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/5 "2019-07-31T22:22:17Z")

</div>

Now that’s another type of error entirely. Could you share support access to the device?

---

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [July 31, 2019, 10:35pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/6 "2019-07-31T22:35:08Z")

</div>

Done 🙂 (not sure if I need to send any link to the device?)

---

<div class="post-metadata">

**Author:** ![dt-rush](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dt-rush/32/1405_2.png) [@dt-rush](https://forums.balena.io/u/dt-rush)\
**Post date:** [July 31, 2019, 10:46pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/7 "2019-07-31T22:46:50Z")

</div>

Could you share the link to the device with me via private message? (click on my username, and then “message”)

---

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [July 31, 2019, 10:57pm UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/8 "2019-07-31T22:57:02Z")

</div>

I cannot find a button to message (maybe I need a badge?), but the UUID is 89ab5ed3bd42182891a6afa381428bce if that works

---

<div class="post-metadata">

**Author:** ![jomwells](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jomwells](https://forums.balena.io/u/jomwells)\
**Post date:** [August 1, 2019, 12:48am UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/9 "2019-08-01T00:48:15Z")

</div>

It has managed to install one container, and (hopefully) update, I will see if the rest will download/install soon, but otherwise the issue is sorted thank you 😃

---

<div class="post-metadata">

**Author:** ![dt-rush](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dt-rush/32/1405_2.png) [@dt-rush](https://forums.balena.io/u/dt-rush)\
**Post date:** [August 1, 2019, 3:17am UTC](https://forums.balena.io/t/error-all-container-images-fail-to-download-to-a-specific-device/22923/10 "2019-08-01T03:17:46Z")

</div>

Hmmm… transient errors like this are hard to debug. If it still occurs, let us know and we can try to hop in and take a look. Cheers!
