From 56e15d111f59f4357125f5bb23d03597eba9c48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Rami=CC=81rez=20Mondrago=CC=81n?= Date: Fri, 2 Dec 2022 16:00:15 -0600 Subject: [PATCH] feat: Catch and retry `ConnectionResetError` exceptions in HTTP taps --- 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,