From 312f971bd547a52bb8fb565dc569a1f020c14b48 Mon Sep 17 00:00:00 2001 From: Rathish Cholarajan Date: Thu, 24 Feb 2022 15:26:53 -0500 Subject: [PATCH] Retry on 521 (#164) --- qiskit_ibm_runtime/api/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qiskit_ibm_runtime/api/session.py b/qiskit_ibm_runtime/api/session.py index 54744eaa2..95420e02a 100644 --- a/qiskit_ibm_runtime/api/session.py +++ b/qiskit_ibm_runtime/api/session.py @@ -34,6 +34,7 @@ 503, # Service Unavailable 504, # Gateway Timeout 520, # Cloudflare general error + 521, # Cloudflare web server is down 522, # Cloudflare connection timeout 524, # Cloudflare Timeout )