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
What can I do to resolve this? Thanks.
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
I have tried withRemote side sent disconnect message type 11 (by application): "FlowSshPacketDecoder: unresponsiveness timeout"
PingType="1"
and PingType="2"
and am still seeing this error.
What can I do to resolve this? Thanks.