minio / minio-py

MinIO Client SDK for Python

Home Page:https://docs.min.io/docs/python-client-quickstart-guide.html

Repository from Github https://github.comminio/minio-pyRepository from Github https://github.comminio/minio-py

java.net.SocketException: Connection reset error

chatnord opened this issue · comments

Hi,

thanks for your work! I am using your library to download a series of files from AWS S3 (multiprocessing) and, from time to time, I get a java.net.SocketException: Connection reset error. I understand that, from time to time, AWS could get stuck. Is there a parameter I can set somewhere to retry a few times, instead of crashing? I reckon boto3 has some option like this.

Thank you!

Pass your custom http client to Minio class.