Uploaded image for project: 'YADE - Managed File Transfer'
  1. YADE - Managed File Transfer
  2. YADE-668

Compatibility with YADE 1.x - SFTP - KeepAlive functionality is broken

    XMLWordPrintable

Details

    Description

      Current Situation

      • The KeepAlive handling for the SFTP provider used by YADE, introduced with YADE-626, is incorrect, and the KeepAlive settings have no effect.

      Desired Behaviour

      • The KeepAlive settings should work as configured and keep the SFTP connection alive as intended.

      Test Instructions

      • Use the YADE CLI Client to enable the SSHJ provider output directly in the Job log.
      • Set the YADE log level to DEBUG.
      • Configure the KeepAlive settings on an SFTPFragment, e.g.:
        • KeepAliveInterval=1s
        • MaxAliveCount=10
      • Configure an SFTPPreProcessing / CommandBeforeOperation that executes a sleep command without producing any output, e.g.:
        • Windows: @powershell Start-Sleep -Seconds 10
        • Unix: sleep 10
      • Check the Job log for entries such as:
        [DEBUG][sshj-KeepAliveRunner-/...] ... - Making global request for keepalive@openssh.com

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Aakash Rao Aakash Rao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: