Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

The /consoleinstance is random. It's hardly relevant to your problem.
san2312

Re: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

That is through adapter/port settings. Microsoft has not exposed the buffer setting there.
I noticed that /consoleinstance parameter value below is different when it works. Do you know how we can change the /consoleinstance parameter value.
winscp.exe   /console /consoleinstance
martin

Re: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

How do you specify your session settings in BizTalk?
san2312

Re: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

Thanks Martin! but unfortunately BizTalk does not provide anything where we can set this up, apart from the ini file
san2312

Re: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

Should I put SendBuf=0 in the ini files? Currently the INI file has only below entry
[Configuration]
 
[Configuration\Interface\Updates]
DotNetVersion=5.19.5
martin

Re: Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

Did you try turning off the buffer optimization?
san2312

Getting "Host not communicating error" with BizTalk . WinSCP not closing the connection

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
>Answer: Retry