From 0c2fdc1b11f7abc8684937af7c877926c6f2000a Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Mon, 23 Sep 2024 09:33:28 +0200 Subject: [PATCH] add 500 to retry list openEO on cdse also throws 500, job manager should not immediately give up, but continue with retrying https://github.com/Open-EO/openeo-python-client/issues/624 --- openeo/extra/job_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openeo/extra/job_management.py b/openeo/extra/job_management.py index b70a394b8..83d6a2a0b 100644 --- a/openeo/extra/job_management.py +++ b/openeo/extra/job_management.py @@ -234,7 +234,7 @@ def _make_resilient(connection): 504 Gateway Timeout """ # TODO: refactor this helper out of this class and unify with `openeo_driver.util.http.requests_with_retry` - status_forcelist = [502, 503, 504] + status_forcelist = [500, 502, 503, 504] retries = Retry( total=MAX_RETRIES, read=MAX_RETRIES,