SFTP session throwing time out error despite keep-alive enabled

Advertisement

zmozel
Joined:
Posts:
1

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum