From 18aca68a326a8e82ac4b7126120e9f769caa2f16 Mon Sep 17 00:00:00 2001 From: "Edgar R. M" Date: Fri, 2 Dec 2022 17:14:00 -0600 Subject: [PATCH] feat(taps): Catch and retry `ConnectionResetError` exceptions in HTTP taps (#1237) --- singer_sdk/streams/rest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/singer_sdk/streams/rest.py b/singer_sdk/streams/rest.py index 6feacba7b..db2f33d6f 100644 --- a/singer_sdk/streams/rest.py +++ b/singer_sdk/streams/rest.py @@ -220,6 +220,7 @@ def request_decorator(self, func: Callable) -> Callable: decorator: Callable = backoff.on_exception( self.backoff_wait_generator, ( + ConnectionResetError, RetriableAPIError, requests.exceptions.ReadTimeout, requests.exceptions.ConnectionError,