This project has moved and is read-only. For the latest updates, please go here.

Connection Failure - Algorithm negotiation fail

Jan 21, 2011 at 5:32 PM

I am trying to use bLogical SFTP Adapter in BizTalk 2009 to connect to a partner's SFTP Site that is hosted on Gentran Integration Suite.  We use this bLogical SFTP Adapter for SFTP/SSH connections to many partners and this is the first one where it will not connect.

We are trying to use SSH key authentication only ...on port 10023.  We have implemented the fix for null password. 

The partner claims they support all standard SFTP/SSH clients except WinSCP....which seems suspicious in itself....since we use WinSCP as our test tool to test all our partner connections and this is the first partner who stated this.  I have verified the connection works using the CoreFTP tool.

When we tested the connection using WinSCP, the partner claimed they could see our failed attempt in their logs.  When we tried to connect and send a file using bLogical SFTP Adapter in BizTalk, the partner claimed they could not see any connection attempt in their logs.

I have enabled the SFTP Adapter trace.  In fact it appears as if the SFTP Adapter thinks it has connected when I'm not really sure if it actually has.

[2816] Adapter.Adapter name: Sftp Transmit Adapter  
[2816] Adapter.Load  
[2816] Adapter.Initialize  
[2816] [AsyncTransmitter] Enter  
[2816] [SftpTransmitterEndpoint] Created...  
[2816] [SftpTransmitProperties] ReadLocationConfiguration called  
[2816] [SftpTransmitProperties] Username/Password Authentication  
[2816] [SftpConnectionPool] Started...  
[2816] [SftpConnectionPool] GetConnectionFromPool creating a new connection for pool  
Will not retry; Sense/ASC/ASCQ of 02/3a/00 
[2816] [SftpTransmitterEndpoint] Sftp.Put /Test_5101cb5c-8b5d-4202-b585-174be6c5599e.txt  
[2816] [SftpConnectionPool] Connection has timed out  
[2816] [SftpReceiverEndpoint] Reconnecting to  
[2816] [SftpConnectionPool] Connection has timed out  
[2816] [SftpConnectionPool] ReleaseConnectionToPool releasing connection to pool  
[2816] [AsyncTransmitter] Leave

The associated error that appears in the Windows Event Log is "Algorithm negotion fail".  The full Event Log error is below.

Any ideas on how to troubleshoot or fix this ?

Method: Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.connect

Error: Unable to connect to Sftp host []



Type: System.Exception


Message: Unable to connect to Sftp host []




Type: Tamir.SharpSsh.jsch.JSchException

Target: Void connect(Int32)

Message: Algorithm negotiation fail


at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)

at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)

at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)

at Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.connect(Boolean force)