We are using SFTP adapter with BizTalk Server (2020 CU3) (which intern uses WinSCP)
It is using WinSCP.exe and WinSCPnet.dll version is 5.19.5.0
With one of the SFTP serve , we are frequently seeing issue where WinSCP logs
"Host not communicating error" and BizTalk gives error
"System.TimeoutException: Timeout waiting for WinSCP to respond"
Below is the WinSCP log. We keep getting same log as below until we restart the BizTalk server after which it starts a new connection and is able to transfer files.
>**Host is not communicating for 15 seconds.
>Wait for another 15 seconds?** ()
>Script: Host is not communicating for more than 15 seconds.
>Still waiting...
>Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
> Warning: Aborting this operation will close connection!
>Data has arrived, closing query to user.
> Answer: OK
>Network error: Software caused connection abort
>Connection was lost, asking what to do.
> Asking user:
>Network error: Software caused connection abort ()
>Script: Network error: Software caused connection abort
>Answer: Retry
>Script: Searching for host...
>Looking up host “X.X.X.X” for SSH connection
>Connecting to “X.X.X.X” port 22
>Connecting to host...
Has anyone come across this issue? Specifically the below log. Where is WinSCP getting the answer to retry? Can we stop this using "ini" file so WinSCP does not try re-connecting