You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or the server closing the connection because the image download has stalled for too long.
The last can happen if you are using large disk images with a lot of empty space in it, that compresses very well.
The image write script downloads the image from the server, uncompresses it and writes it to storage on the fly, streaming it, without using temporary files.
In the case the image has a lot of empty space, it is taking a very long time to write all those zeroes to eMMC, but it doesn't download anything new from the server during that time, because the part of the compressed .img.gz that has all those zeroes is very small, and was already downloaded and it doesn't need to download the rest yet.
If the server doesn't sees any progress on the download for a minute it will drop the connection.
If that is happening, you can try raising the timeout in the nginx server settings.
E.g.:
on the cmprovision server, edit /etc/nginx/sites-available/cmprovision and toss in the "server" section:
send_timeout 600s;
Run "sudo systemctl restart nginx" afterwards.
(Would probably be better if someone would fix that in the cmprovision package)
I have never been able to get this to work - I always am getting this same error. Does this system even work anymore for ANYONE??????
The text was updated successfully, but these errors were encountered: