Skip to content

Commit d38035e

Browse files
committed
Add session stop and ssh error to retryable ascp errors
1 parent e97b868 commit d38035e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/galaxy/files/sources/ascp_fsspec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ def _is_retryable_error(self, exception: MessageException) -> bool:
327327
"timed out",
328328
"refused",
329329
"unreachable",
330+
"session stop", # Session Stop (Error: Client unable to connect to server (check UDP port and firewall))
331+
"connect via SSH", # Unable to connect via SSH, exiting
330332
]
331333

332334
return any(pattern in error_msg for pattern in retryable_patterns)

0 commit comments

Comments
 (0)