This project has moved. For the latest updates, please go here.

SFTP send problem

Jun 23, 2009 at 2:49 PM

Hi,

I´m using the sftpadapter to send messages to a Titan sftp server.

When the load is very low (1 file completes, before the next arrives) the adapter is working just fine. However if 20-50 files arrives to BizTalk and is subscribed to the sftp sendport, problem occurs.
About 10 - 25 files makes it all the way to the sftp-server. The rest is "haning" as active in Biztalk server.

When checking the sftp-server logs it looks like this when failure occur:

009-06-23 13:59:24 [2/1108/d4c] User "sfuser" invalid password specified; returning 530
2009-06-23 13:59:24 [2/1108/d4c] DoCmdPass(user="sfuser") failed!
2009-06-23 13:59:24 [2/1108/d4c] User "sfuser" authentication failed.
2009-06-23 13:59:24 [2/1108/d4c] Session 3404/0xd4c: Authenticating
2009-06-23 13:59:24 [2/1108/d4c] Using "password" authentication for incoming user "sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Checking for user existance: Username="sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Trying to find user:sfuser
2009-06-23 13:59:24 [2/1108/d4c] Found user "sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Checking to see if user "sfuser" can connect from "192.165.60.62"
2009-06-23 13:59:24 [2/1108/d4c] User "sfuser" is permitted to connect from "192.165.60.62"
2009-06-23 13:59:24 [2/1108/d4c] Check to see if the user's account has expired
2009-06-23 13:59:24 [2/1108/d4c] returning 331 to request a password for this user
2009-06-23 13:59:24 [2/1108/d4c] Checking to see if the user account is disabled.
2009-06-23 13:59:24 [2/1108/d4c] User "sfuser" invalid password specified; returning 530
2009-06-23 13:59:24 [2/1108/d4c] DoCmdPass(user="sfuser") failed!
2009-06-23 13:59:24 [2/1108/d4c] User "sfuser" authentication failed.
2009-06-23 13:59:24 [2/1108/d4c] Session 3404/0xd4c: Authenticating
2009-06-23 13:59:24 [2/1108/d4c] Using "password" authentication for incoming user "sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Checking for user existance: Username="sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Trying to find user:sfuser
2009-06-23 13:59:24 [2/1108/d4c] Found user "sfuser"
2009-06-23 13:59:24 [2/1108/d4c] Checking to see if user "sfuser" can connect from "192.165.60.62"
2009-06-23 13:59:24 [2/1108/d4c] User "sfuser" is permitted to connect from "192.165.60.62"
2009-06-23 13:59:24 [2/1108/d4c] Check to see if the user's account has expired
2009-06-23 13:59:24 [2/1108/d4c] returning 331 to request a password for this user
2009-06-23 13:59:25 [2/1108/d4c] Checking to see if the user account is disabled.
2009-06-23 13:59:25 [2/1108/d4c] User "sfuser" invalid password specified; returning 530
2009-06-23 13:59:25 [2/1108/d4c] DoCmdPass(user="sfuser") failed!
2009-06-23 13:59:25 [2/1108/d4c] User "sfuser" authentication failed.

The server says that the password is wrong?!

The BizTalk enviroment is clustered, but the host that is handling the sftp-connections is not.

Anybody?

Regards,

/Daniel

 

Coordinator
Jun 24, 2009 at 8:02 AM

This is a new one, never seen this before!

Would it work after restarting the host/sendport?

Does it make any difference using identity file?

//Mikael

Jun 26, 2009 at 11:38 AM

Hi Mikael,

A restart of the host doesnt help.

Have not tried using identity file, do you think that will make a differense?

/Daniel

Coordinator
Jun 29, 2009 at 7:34 AM
Edited Jun 29, 2009 at 7:35 AM

Maybe not, but it is complaining about the password, and using idinityfile might give you an other cloue.

//Mikael

Nov 29, 2009 at 9:41 PM

Hi Mikael,

Sorry that I did´nt post a reply until now.
We had to do another temporary solution with scripts since calendar time was an issue for us....

However now we picked up the thread again.....

I installed the latest version of the sftp-adapter, and it is working mutch better now in our enviroment.
The only thing that I noticed is that when the password is wrong (or the sftp account does not exist) the behaivour is strange.
- Receive location. Keeps polling, and in the sftp log it says that the password is wrong, but BizTalk says nothing
- Send port. The message is stuck in status active. When changing the password an restarting the host it is working again.

Is this a known issue?

Regards,
/Daniel

Apr 28, 2010 at 12:30 PM

Hi Mikael,

Today we did som further testing with version 1.3.3 of the adapter.

If we supply the wrong password on the sendport, following occur:
- The message is stuck in status active
- On the sftp-server (Titan FTP Server v 8.0), the cpu goes to 100%. The log says that the BizTalk server makes abot 10 logons per second with wrong password.
- No warnings or errors on the BizTalk server

Is this a known issue? Do we have to configure something different?

regards,
/Daniel

Coordinator
Apr 29, 2010 at 9:38 PM

This is not a known issue, and I'll make sure to look at it asap. Have you tried  setting the error threshold > 0 on the receive location?

//Mikael

Apr 29, 2010 at 10:02 PM

Hi,

In this case it´s the sendport that is using the sftp-adapter. The receive location is using the file adapter.

/Daniel

 

Coordinator
Apr 29, 2010 at 11:27 PM

Ok

Coordinator
Aug 31, 2010 at 11:15 AM

The issue with re-connection on Auth failure has been resolved in the 1.3.7 version which should be released early September 2010.

//Mikael