diff --git a/aws/retry/retryable_error.go b/aws/retry/retryable_error.go index c695e6fe527..4c770e59a23 100644 --- a/aws/retry/retryable_error.go +++ b/aws/retry/retryable_error.go @@ -100,7 +100,8 @@ func (r RetryableConnectionError) IsErrorRetryable(err error) aws.Ternary { case errors.As(err, &conErr) && conErr.ConnectionError(): retryable = true - case strings.Contains(err.Error(), "connection reset"): + case strings.Contains(err.Error(), "connection reset"), + strings.Contains(err.Error(), "use of closed network connection"): retryable = true case errors.As(err, &urlErr):