Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: SFTP session throwing time out error despite keep-alive enabled

Please attach a full session log file showing the problem (using the latest version of WinSCP) with PingType="1".

To generate the session log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
zmozel

SFTP session throwing time out error despite keep-alive enabled

Hi,

I have a .NET process that runs each morning to transfer some data files from some SFTP servers to other SFTP servers. The entire process takes 15-30 minutes to run depending on the load day to day and some sessions can sit idle for many minutes at a time between uploads. Previously I used Renci.Ssh the SFTP connections and never had this issue with these hosts, but as I needed to support FTP protocol I switched everything to the WinSCP assembly. I am now experiencing timeouts with this error
Remote side sent disconnect message type 11 (by application): "FlowSshPacketDecoder: unresponsiveness timeout"

I have tried with PingType="1" and PingType="2" and am still seeing this error.

What can I do to resolve this? Thanks.