epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
144 stars 58 forks source link

Non-permanent failure with `pipe scp` #3438

Open NShaforostov opened 5 months ago

NShaforostov commented 5 months ago

Describe the bug

There is an intermittent bug appearing when try to scp files from the workstation to running cloud instances via pipe. The peculiarity of the bug is that it is reproduced only from time to time; sometimes the same script is executed without errors.

To Reproduce

Steps to reproduce the behavior:

  1. Launch the run and wait its full initialization
  2. On the workstation, open the terminal with installed pipe
  3. Copy a file from the workstation to the remote run instance, launched at step 1, using a command e.g.: pipe scp file.txt pipeline-12345:/common/workdir/file.txt
  4. See error: 2024-01-30 08:31:17,802:ERROR: Exception: Error reading SSH protocol banner 2024-01-30 08:31:17,803:ERROR: Traceback (most recent call last): 2024-01-30 08:31:17,804:ERROR: File "paramiko/transport.py", line 2039, in run 2024-01-30 08:31:17,804:ERROR: File "paramiko/transport.py", line 2216, in _check_banner 2024-01-30 08:31:17,804:ERROR: SSHException: Error reading SSH protocol banner 2024-01-30 08:31:17,804:ERROR: 2024-01-30 08:31:33,062:ERROR: Exception: Error reading SSH protocol banner 2024-01-30 08:31:33,062:ERROR: Traceback (most recent call last): 2024-01-30 08:31:33,062:ERROR: File "paramiko/transport.py", line 2039, in run 2024-01-30 08:31:33,062:ERROR: File "paramiko/transport.py", line 2216, in _check_banner

Expected behavior

A file is copied without errors.

Environment: