EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unaccepted server reply (error code is 530)

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#12684
Posted: 03/03/2010 14:17:50
by LaTonia Lee (Standard support level)
Joined: 03/03/2010
Posts: 6

I'm using the FTPS Upload Task in SSIS and the task is failing with an error about invalid userid/password. I have verified with the service provider the user name and password are correct. I have also checked and rechecked that the username and password being entered in the FTPS Connection manager are correct. I can connect to the site using other ftp clients with the same username and password. Is there a something I'm missing in the configuration?

Thanks



Start, 11:48:09 AM
[FTPS Upload Task] Information: Starting FTPS Upload Task
[FTPS Upload Task] Information: Using SecureBlackbox.NET library 7.2.0.171
[FTPS Upload Task] Information: Setting BizCrypto license key
[FTPS Upload Task] Information: Searching for installed BizCrypto addons.
[FTPS Upload Task] Information: BizCrypto.SqlServer2008.Addons library successfully loaded.
[FTPS Upload Task] Information: Loading client certificates
[FTPS Upload Task] Information: Loading trusted certificates
[FTPS Upload Task] Information: Opening connection
[FTPS Upload Task] Information: Trying to Login
[FTPS Upload Task] Information: > 220-ftps.teletrack.com X2 WS_FTP Server 7.0(00289790)
*
*
*************************************************************************
You are connected to the Teletrack FTP Site
The Maximum number of users is 100
The current number of users is 1
*************************************************************************
220 ftps.teletrack.com X2 WS_FTP Server 7.0(00289790)
[FTPS Upload Task] Information: < AUTH TLS
[FTPS Upload Task] Information: > 234 SSL enabled and waiting for negotiation
[FTPS Upload Task] Information: < USER ----
[FTPS Upload Task] Information: > 331 Enter password
[FTPS Upload Task] Information: < PASS ****************
[FTPS Upload Task] Information: > 530 Invalid userid/password
[FTPS Upload Task] Error: Connection failed: Unaccepted server reply (error code is 530)
[FTPS Upload Task] Information: Stack:
at SBSimpleFTPS.TElSimpleFTPSClient.DoSendCmd(String Command, Int16[] AcceptCodes, Boolean EstablishDataConnection)
at SBSimpleFTPS.TElSimpleFTPSClient.SendCmd(String Command, Int16[] AcceptCodes)
at SBSimpleFTPS.TElSimpleFTPSClient.Login()
at BizCrypto.SqlServer.FTPS.FTPSClientConnection.Connect()
[FTPS Upload Task] Information: FTPS Upload Task finished
Task BizCrypto FTPS Upload Task failed
Finished, 11:48:10 AM, Elapsed time: 00:00:01.062
#12685
Posted: 03/03/2010 14:30:54
by Eugene Mayevski (EldoS Corp.)

Does the actual log show correct login and password?


Sincerely yours
Eugene Mayevski
#12686
Posted: 03/03/2010 14:39:05
by LaTonia Lee (Standard support level)
Joined: 03/03/2010
Posts: 6

I masked the username but it was correct in the log file. The password is the masked in the log.
#12688
Posted: 03/03/2010 15:14:59
by Eugene Mayevski (EldoS Corp.)

Hmm. It would be more important to check the password -- if it contains some special symbols (likely candidates are percent "%" and less than and greater then "<", ">" characters), this can cause a problem with storing the password in configuration properties. We will check this locally and fix it if necessary. We will reply later when any information is available.


Sincerely yours
Eugene Mayevski
#12689
Posted: 03/03/2010 15:17:21
by Eugene Mayevski (EldoS Corp.)

Can you please create some kind of similar password for us to check. Example:

if you have the password "aS#28%q8p", create some fake password similar to "bW#46%4y". The idea is to show us the "template" of the password. You can do this in HelpDesk to avoid any disclosure of information in public section (in Forum)


Sincerely yours
Eugene Mayevski
#12690
Posted: 03/03/2010 15:17:27
by Ken Ivanov (EldoS Corp.)

Besides, can you please specify, how exactly do you set the password:
1) via the adapter configuration dialog (BizTalk administration console),
2) dynamically from the orchestration, using message context properties,
3) dynamically from the orchestration, providing the password as a part of the port URI?
#12694
Posted: 03/03/2010 15:37:37
by LaTonia Lee (Standard support level)
Joined: 03/03/2010
Posts: 6

There are no special characters in the password. It is all numbers and letters.

I am entering the username and password in the FTPS connection manager in SSIS.
#12695
Posted: 03/03/2010 15:46:54
by Ken Ivanov (EldoS Corp.)

Thank you for the details. Can you please post the connection log returned by some third-party FTP client (FileZilla would be the best) to the ticket?
#12696
Posted: 03/03/2010 16:22:15
by LaTonia Lee (Standard support level)
Joined: 03/03/2010
Posts: 6

Here is the log from FileZilla

16:13:13 Status: Resolving address of ftps.teletrack.com
16:13:13 Status: Connecting to 12.178.11.220:21...
16:13:13 Status: Connection established, waiting for welcome message...
16:13:13 Trace: CFtpControlSocket::OnReceive()
16:13:13 Response: 220-ftps.teletrack.com X2 WS_FTP Server 7.0(63803027)
16:13:13 Response: *
16:13:13 Response: *
16:13:13 Response: *************************************************************************
16:13:13 Response: You are connected to the Teletrack FTP Site
16:13:13 Trace: CFtpControlSocket::OnReceive()
16:13:13 Response: The Maximum number of users is 100
16:13:13 Response: The current number of users is 0
16:13:13 Response: *************************************************************************
16:13:13 Response: 220 ftps.teletrack.com X2 WS_FTP Server 7.0(63803027)
16:13:13 Trace: CFtpControlSocket::SendNextCommand()
16:13:13 Command: AUTH TLS
16:13:13 Trace: CFtpControlSocket::OnReceive()
16:13:13 Response: 234 SSL enabled and waiting for negotiation
16:13:13 Status: Initializing TLS...
16:13:13 Trace: CTlsSocket::Handshake()
16:13:13 Trace: CTlsSocket::ContinueHandshake()
16:13:13 Trace: CTlsSocket::OnSend()
16:13:13 Trace: CTlsSocket::OnRead()
16:13:13 Trace: CTlsSocket::ContinueHandshake()
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CTlsSocket::ContinueHandshake()
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CTlsSocket::ContinueHandshake()
16:13:14 Trace: Handshake successful
16:13:14 Trace: Cipher: AES-128-CBC, MAC: SHA1
16:13:14 Status: Verifying certificate...
16:13:14 Trace: CFtpControlSocket::SendNextCommand()
16:13:14 Command: USER ----
16:13:14 Status: TLS/SSL connection established.
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: 331 Enter password
16:13:14 Trace: CFtpControlSocket::SendNextCommand()
16:13:14 Command: PASS ********
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: 230-User logged in
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: *************************************************************************
16:13:14 Response: Welcome ----
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: You have 14 files on this system. Your limit is unlimited files.
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: You are using 21466923 disk space. Your limit is unlimited
16:13:14 Response: *************************************************************************
16:13:14 Response: 230 User logged in
16:13:14 Trace: CFtpControlSocket::SendNextCommand()
16:13:14 Command: SYST
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: 215 UNIX
16:13:14 Trace: CFtpControlSocket::SendNextCommand()
16:13:14 Command: FEAT
16:13:14 Trace: CTlsSocket::OnRead()
16:13:14 Trace: CFtpControlSocket::OnReceive()
16:13:14 Response: 211-Extensions supported
16:13:14 Response: SIZE
16:13:14 Response: XMD5
16:13:14 Response: XSHA1
16:13:14 Response: XSHA256
16:13:14 Response: XSHA512
16:13:14 Response: XQUOTA
16:13:14 Response: LANG EN, ES, FR, GE
16:13:14 Response: MDTM
16:13:14 Response: MLST size*;type*;perm*;create*;modify*;
16:13:14 Response: REST STREAM
16:13:14 Response: TVFS
16:13:14 Response: UTF8
16:13:14 Response: AUTH SSL;TLS-P;
16:13:14 Response: PBSZ
16:13:14 Response: PROT C;P;
16:13:14 Response: 211 end
16:13:14 Trace: CFtpControlSocket::SendNextCommand()
16:13:14 Command: PBSZ 0
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 200 PBSZ=0
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Command: PROT P
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 200 PRIVATE data channel protection level set
16:13:15 Status: Connected
16:13:15 Trace: CFtpControlSocket::ResetOperation(0)
16:13:15 Trace: CControlSocket::ResetOperation(0)
16:13:15 Trace: CFileZillaEnginePrivate::ResetOperation(0)
16:13:15 Status: Retrieving directory listing...
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Trace: CFtpControlSocket::ChangeDirSend()
16:13:15 Command: PWD
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 257 "/----" is current directory
16:13:15 Trace: CFtpControlSocket::ResetOperation(0)
16:13:15 Trace: CControlSocket::ResetOperation(0)
16:13:15 Trace: CFtpControlSocket::ParseSubcommandResult(0)
16:13:15 Trace: CFtpControlSocket::ListSubcommandResult()
16:13:15 Trace: state = 1
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Trace: CFtpControlSocket::TransferSend()
16:13:15 Trace: state = 1
16:13:15 Command: TYPE I
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 200 Transfer mode set to BINARY
16:13:15 Trace: CFtpControlSocket::TransferParseResponse()
16:13:15 Trace: code = 2
16:13:15 Trace: state = 1
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Trace: CFtpControlSocket::TransferSend()
16:13:15 Trace: state = 2
16:13:15 Command: PASV
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 227 Entering Passive Mode (12,178,11,220,0,20).
16:13:15 Trace: CFtpControlSocket::TransferParseResponse()
16:13:15 Trace: code = 2
16:13:15 Trace: state = 2
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Trace: CFtpControlSocket::TransferSend()
16:13:15 Trace: state = 4
16:13:15 Command: LIST
16:13:15 Trace: CTransferSocket::OnConnect
16:13:15 Trace: CTlsSocket::Handshake()
16:13:15 Trace: CTlsSocket::ContinueHandshake()
16:13:15 Trace: CTlsSocket::OnSend()
16:13:15 Trace: CTlsSocket::OnSend()
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CTlsSocket::ContinueHandshake()
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CFtpControlSocket::OnReceive()
16:13:15 Response: 125 Transferring directory
16:13:15 Trace: CFtpControlSocket::TransferParseResponse()
16:13:15 Trace: code = 1
16:13:15 Trace: state = 4
16:13:15 Trace: CFtpControlSocket::SendNextCommand()
16:13:15 Trace: CFtpControlSocket::TransferSend()
16:13:15 Trace: state = 5
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CTlsSocket::ContinueHandshake()
16:13:15 Trace: Handshake successful
16:13:15 Trace: Session resumed
16:13:15 Trace: Cipher: AES-128-CBC, MAC: SHA1
16:13:15 Trace: CTransferSocket::OnConnect
16:13:15 Trace: CTlsSocket::OnRead()
16:13:15 Trace: CTransferSocket::OnReceive(), m_transferMode=0
16:13:15 Listing: ...I have removed directory information
16:13:16 Trace: CTlsSocket::OnRead()
16:13:16 Trace: CTransferSocket::OnReceive(), m_transferMode=0
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Trace: CTlsSocket::OnRead()
16:13:16 Trace: CTlsSocket::OnSocketEvent(): pending data, postponing close event
16:13:16 Trace: CTlsSocket::OnRead()
16:13:16 Trace: CTlsSocket::OnRead()
16:13:16 Trace: CTransferSocket::OnReceive(), m_transferMode=0
16:13:16 Listing: ...I have removed directory information
16:13:16 Listing: ...I have removed directory information
16:13:16 Trace: CTransferSocket::TransferEnd(1)
16:13:16 Trace: CFtpControlSocket::OnReceive()
16:13:16 Response: 226 Transfer completed
16:13:16 Trace: CFtpControlSocket::TransferParseResponse()
16:13:16 Trace: code = 2
16:13:16 Trace: state = 5
16:13:16 Trace: CFtpControlSocket::SendNextCommand()
16:13:16 Trace: CFtpControlSocket::TransferSend()
16:13:16 Trace: state = 8
16:13:16 Trace: CFtpControlSocket::TransferEnd()
16:13:16 Trace: CFtpControlSocket::ResetOperation(0)
16:13:16 Trace: CControlSocket::ResetOperation(0)
16:13:16 Trace: CFtpControlSocket::ParseSubcommandResult(0)
16:13:16 Trace: CFtpControlSocket::ListSubcommandResult()
16:13:16 Trace: state = 3
16:13:16 Trace: CFtpControlSocket::ResetOperation(0)
16:13:16 Trace: CControlSocket::ResetOperation(0)
16:13:16 Status: Directory listing successful
16:13:16 Trace: CFileZillaEnginePrivate::ResetOperation(0)
#12698
Posted: 03/03/2010 17:10:51
by Ken Ivanov (EldoS Corp.)

Thank you for checking. It looks strange, but the log does not expose any differences. Can you please try to connect to your server with the attached application (zipped executable) and check if it exposes the same issue?


[ Download ]
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 13785 times

Number of guests: 2, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!