From e53d390ff92d9428b25cf34e595f8651705beadc Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Sat, 2 Oct 2021 19:42:23 +0200 Subject: [PATCH] http: explicitly ignore all http-related errors (from server side to client connection drops) (#6728) --- dvc/fs/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dvc/fs/http.py b/dvc/fs/http.py index ccfe4b326..cededc1a0 100644 --- a/dvc/fs/http.py +++ b/dvc/fs/http.py @@ -102,6 +102,7 @@ class HTTPFileSystem(NoDirectoriesMixin, FSSpecWrapper): attempts=self.SESSION_RETRIES, factor=self.SESSION_BACKOFF_FACTOR, max_timeout=self.REQUEST_TIMEOUT, + exceptions=[aiohttp.ClientError], ) # The default timeout for the aiohttp is 300 seconds