From d593c4f43c7dd17e4c782e28dab04707d7432383 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 5 Aug 2021 16:17:03 +0200 Subject: Retry stdlib ssl.SSLError Apparently, connection to the agent can fail with Unexpected error when processing next clean step. SSLError: ('timed out',): ssl.SSLError: ('timed out',) This change adds SSLError to retriable errors since most of them are related to temporary conditions, and the certificate validation failure is handled by requests separately. Change-Id: I4805d410b4bc98196e77d8c44a217e363dc88f0a (cherry picked from commit 528eb9e4a99762dea5ef5e08f3dd42d459ce2d1c) --- releasenotes/notes/sslerror-287edf7f8b3c5f1c.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 releasenotes/notes/sslerror-287edf7f8b3c5f1c.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/sslerror-287edf7f8b3c5f1c.yaml b/releasenotes/notes/sslerror-287edf7f8b3c5f1c.yaml new file mode 100644 index 000000000..9eac955bf --- /dev/null +++ b/releasenotes/notes/sslerror-287edf7f8b3c5f1c.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Retries ``ssl.SSLError`` when connecting to the agent. -- cgit v1.2.1