gitlab-zip-cat fails with `net/http: request canceled`
We introduced in gitlab-zip-cat
support for externally hosted .zip
archives, allowing us to do range download to fetch only parts of archive to download specific file.
However, this works like 50% of time.
When it does not work it fails with:
net/http: request canceled
Some reproduce case:
export ARCHIVE_PATH=https://s3.amazonaws.com/challengepost/zip_files/production/4553/zip_files/BD%20MGIT%20Technology%20PFH%20Binder.zip
export ENCODED_FILE_NAME=$(echo -n "BD MGIT Technology PFH Binder.pdf" | base64)
./gitlab-zip-cat
(Try to use also different .zip archives, it fails the same way).
@nick.thomas Do you have some idea where we hit the timeout?