The download of the file requested by boto3 s3.download_file is hanging. Why is that?
Our build suddenly broke between the 9th and 10th September 2019, but we didn't change anything.
We're using a dockerized environment and we already have some threading going on besides the boto3 s3.download_file.
The fix for us was to disable threading:
s3.download_file(Bucket=amazon_s3_bucket, Key=amazon_s3_path, Filename=filepath, Config=boto3.s3.transfer.TransferConfig(use_threads=False))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With