balena-os / balenahup

BALENA Host os UPdater
https://balena.io/
36 stars 11 forks source link

Update failed due to network blip: `unexpected EOF` #207

Open xginn8 opened 5 years ago

xginn8 commented 5 years ago

resinHUP could handle hostOS image download failures more gracefully by perhaps retrying with a backoff (example EOF below):

[000000008][LOG]Starting hostapp-update
8b14979301e5
Untagged: registry.hub.docker.com/resin/resinos:2.12.0_rev1-raspberrypi3
Deleted: sha256:7644de6e6b7f996d32e1443a31cc1c4f973625f05322f8d42777c52f287cdac7
Deleted: sha256:e42c06f4950d0f2a0135be16efd9f3b9c50f3e91f242bb80dd6a66b392ad9101
2.29.0_rev1-raspberrypi3: Pulling from resin/resinos
0636a9ade0db: Pulling fs layer
0636a9ade0db: Ready to download
unexpected EOF
[000000263][ERROR]hostapp-update has failed...-

Front logo Front conversations

imrehg commented 5 years ago

Need retries when hostapp-update failes due to network issues.

balena-ci commented 5 years ago

[sradevski] This issue has attached support thread https://jel.ly.fish/#/support-thread~65b5f393-8bd6-4cea-ad14-78de27355a5a