App store downloads fail for bigger apps packages
When installing an application via the App Store that has a package size of more than roughly 1MB, the Download view infinitely hangs on the "Downloading..." state. When I run the view with mpremote to debug it, the urequests.get
call throws OSError(-202)
.
If it cannot be fixed (urequests
doesn't support chunking, but maybe we could use some other module that supports it?), we could at least display how many retries we attempted and set the retries threshold to e.g. 10 to not make it hang forever.
Tested on John Paul II
and Captain
apps.