diff --git a/raiden/src/retry/mod.rs b/raiden/src/retry/mod.rs index 0a83e28a..abd95922 100644 --- a/raiden/src/retry/mod.rs +++ b/raiden/src/retry/mod.rs @@ -74,6 +74,10 @@ impl RetryStrategy for DefaultRetryStrategy { RaidenError::InternalServerError(_) | RaidenError::ProvisionedThroughputExceeded(_) | RaidenError::RequestLimitExceeded(_) + // Sometimes I ran into `HttpDispatchError { message: "Error during dispatch: connection closed before message completed" }` and + // CredentialsError { message: "Request ID: Some(\"xxx\") Body: \n \n Sender\n Throttling\n Rate exceeded\n \n xxx\n\n" } + | RaidenError::HttpDispatch(_) + | RaidenError::Credentials(_) // INFO: For now, return true, when unknown error detected. // This is because, sometimes throttlingException is included in unknown error. // please make more rigorous classification of errors.