From e94dc40b7a41b16b392939ff4d50cb4e3d4737a4 Mon Sep 17 00:00:00 2001 From: Larissa Date: Wed, 3 Apr 2024 10:24:29 -0400 Subject: [PATCH] fix connection reset by peer error --- polaris/hub/polarisfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polaris/hub/polarisfs.py b/polaris/hub/polarisfs.py index 8d0efa9d..c9c36290 100644 --- a/polaris/hub/polarisfs.py +++ b/polaris/hub/polarisfs.py @@ -186,7 +186,7 @@ def pipe_file( pipe_path = self.sep.join([self.base_path, path]) # PUT request to Polaris Hub to put object in path - response = self.polaris_client.put(pipe_path, timeout=timeout, content=content) + response = self.polaris_client.put(pipe_path, timeout=timeout) if response.status_code != 307: raise PolarisHubError("Could not get signed URL from Polaris Hub.")