From 9915e909b97f9b27c8f1bb84ec85457d3bae2957 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 16 Dec 2024 11:49:12 -0600 Subject: [PATCH] Retry on CondaSSLError. (#127) --- tools/rapids-conda-retry | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/rapids-conda-retry b/tools/rapids-conda-retry index aa35cc7..9704a1b 100755 --- a/tools/rapids-conda-retry +++ b/tools/rapids-conda-retry @@ -92,6 +92,9 @@ function runConda { retryingMsg="Retrying after cleaning tarball cache, found 'CondaMultiError:' in output..." needToRetry=1 needToClean=1 + elif grep -q CondaSSLError: "${outfile}"; then + retryingMsg="Retrying, found 'CondaSSLError:' in output..." + needToRetry=1 elif grep -q "Connection broken:" "${outfile}"; then retryingMsg="Retrying, found 'Connection broken:' in output..." needToRetry=1 @@ -123,6 +126,7 @@ function runConda { 'ChunkedEncodingError:', \ 'CondaHTTPError:', \ 'CondaMultiError:', \ +'CondaSSLError:', \ 'Connection broken:', \ 'ConnectionError:', \ 'DependencyNeedsBuildingError:', \