Please describe what you are doing to trigger the bug:
Backup to flaky S3 endpoint over flaky connection
Please describe what you expect to happen (but doesn’t):
I expect duplciacy to retry S3 request if it fails spuriously and continue backup
Please describe what actually happens (the wrong behaviour):
Duplicacy aborts backup with the message similar to:
Failed to upload the chunk 25f315347a7b6bf50f5fd363729945c4785717b77cf10d91003c51fd078a2687: RequestError: send request failed caused by: Put "https://duplicacy.gateway.storjshare.io/duplicacy/chunks/25/f315347a7b6bf50f5fd363729945c4785717b77cf10d91003c51fd078a2687": read tcp 10.0.17.48:31127->185.244.226.3:443: read: connection reset by peer