EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Control channel transfer error in Biztalk ftps pre-release

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#6190
Posted: 05/09/2008 07:04:32
by Industriens Pension (Standard support level)
Joined: 05/09/2008
Posts: 33

I have downloaded the Prerelease version of SecureBlackbox for BizTalk Server Version 6.0.139 and am testing it locally.
I am trying to connect to a FileZilla server 0.9.25

Connecting through an filezilla client works without problems but the biztalk adapter generates the following log each time it tries to connect (through 127.0.0.1):
Quote
[09-05-2008 13:54] EldoS FTPS Adapter: Adding receiver endpoint
[09-05-2008 13:54] EldoS FTPS Adapter: Start()
[09-05-2008 13:54] EldoS FTPS Adapter: ControlledEndpointTask()
[09-05-2008 13:54] EldoS FTPS Adapter: EndpointTask()
[09-05-2008 13:54] EldoS FTPS Adapter: PickupFilesAndSubmit() RemotePath: biztalk/ FileMask: *.csv LocalFile: C:\Temp\
[09-05-2008 13:54] EldoS FTPS Adapter: Error: Control channel transfer error

Stack:
at SBSimpleFTPS.TElSimpleFTPSClient.ReadFromCtl(Boolean AllowZero)
at SBSimpleFTPS.TElSimpleFTPSClient.GetReply(Boolean Wait)
at SBSimpleFTPS.TElSimpleFTPSClient.Login()
at SecureBlackbox.BizTalk.Adapters.FTPS.FTPSCommon.DoFTPSOperation(IBaseMessage message, AdapterProperties props, Boolean upload, ArrayList fileList)
[09-05-2008 13:54] EldoS FTPS Adapter: PickupFilesAndSubmit() downloaded 0 files.
[09-05-2008 13:54] EldoS FTPS Adapter: PickupFilesAndSubmit() No files to submit
[09-05-2008 13:54] EldoS FTPS Adapter: PickupFilesAndSubmit() Deleting 0 local files


The filezilla server log shows that the biztalk adapter tries to connect but never gets logged in, basically:
Quote
(000026) 09-05-2008 13:54:02 - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000026) 09-05-2008 13:54:22 - (not logged in) (127.0.0.1)> disconnected.


Can you help me here?
#6193
Posted: 05/09/2008 07:39:00
by Eugene Mayevski (EldoS Corp.)

What happens is the connection is closed by one side of communication. It's not clear, which side closes connection and why.

Can you please send us the beginning of the log, produced by filezilla client during successful connection to the server? It's necessary to see, what exactly welcome message is sent by the server (when it's sent successfully). Remember to hide the password, if it's shown in the log file.


Sincerely yours
Eugene Mayevski
#6194
Posted: 05/09/2008 08:30:22
by Eugene Mayevski (EldoS Corp.)

It looks like a configuration issue.
1) What port are you connecting to?
2) Are you trying to use SSL (Explicit or Implicit)?



Sincerely yours
Eugene Mayevski
#6195
Posted: 05/09/2008 08:44:18
by Industriens Pension (Standard support level)
Joined: 05/09/2008
Posts: 33

Quote
Eugene Mayevski wrote:
It looks like a configuration issue.
1) What port are you connecting to?
2) Are you trying to use SSL (Explicit or Implicit)?



I am using port 9999 configured in both biztalk and filezilla.
Yes i am trying to use SSL (no at Implicit SSL Mode).

The full configuration string is (taken from an exported binding, sorry for the compact format):
Quote
<ReceiveLocationTransportTypeData><CustomProps><AdapterConfig vt="8"><Config xmlns:xsi="http://www.w3.­org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ProxyAddress /><ProxyPort>80</ProxyPort><ProxyUsername /><ProxyPassword>******</ProxyPassword­><ProxyType>0</ProxyType><FTPSHost>127.0.0.1</FTPSHost><FTPSPort>9999</FTPSPort><FTPSUser>krr</FTPSUser><FTPSPassword>******</FTPSPassword><FTPSDeleteMode>Success</FTPSDeleteMode><PollingInterval>60</PollingInterval><ErrorThreshold>3</ErrorThreshold><MaxFilesNum>1</MaxFilesNum><TraceMode>0</TraceMode><TraceToFile>True</TraceToFile><TraceToEventLog>True</TraceToEventLog><Tr­aceFilename>c:\temp\bla.txt</TraceFilename><FTPSFileMask>*.csv</FTPSFileMask><FFTPSLocalFilePath>C:\Temp\</FTPSLocalFilePath><FTPSOverwrite>True</FTPSOverwrite­><FTPSRemotePath>biztalk/</FTPSRemotePath><FTPSPassiveMode>True</FTPSPassive­Mode><FTPSTransferMode>1</FTPSTransferMode>2000000<FTPAdjustPasvAddress>False</FTPAdjustPasvAddress><­FTPSUseSSLSessionResumption>True</FTPSUseSSLSessionResumption>TrueFalseFalse0TrueTrueTrueFalseFalseC:\temp\certificate.crt66DE7BA5A40E267CC602594BBAB20907E1E19437012BB1B5125C926D9747­4E17...9634­7D09...A478­7B07...A1C2­B93D...29D7­8942...87E7­334D...3BD8******C:\temp\certificate.crtFalseFalseFalseFalse</­SSLSuitesEnableSRP><SSLSuitesEnableIDEA>False128<SSLSuitesPSKIdentity /><SSLSuitesPSKKeyFile />FTPS://127.0.0.1:9999/biztalk/*.csv</Config></AdapterConfig></CustomProps></ReceiveLocation­TransportTypeData>

#6196
Posted: 05/09/2008 08:46:27
by Industriens Pension (Standard support level)
Joined: 05/09/2008
Posts: 33

Quote
Eugene Mayevski wrote:
What happens is the connection is closed by one side of communication. It's not clear, which side closes connection and why.

Can you please send us the beginning of the log, produced by filezilla client during successful connection to the server? It's necessary to see, what exactly welcome message is sent by the server (when it's sent successfully). Remember to hide the password, if it's shown in the log file.


Filezilla server:
Quote
(000029) 09-05-2008 15:35:01 - (not logged in) (192.168.100.135)> Connected, sending welcome message...
(000029) 09-05-2008 15:35:01 - (not logged in) (192.168.100.135)> SSL connection established
(000029) 09-05-2008 15:35:04 - (not logged in) (192.168.100.135)> USER krr
(000029) 09-05-2008 15:35:04 - (not logged in) (192.168.100.135)> 331 Password required for krr
(000029) 09-05-2008 15:35:04 - (not logged in) (192.168.100.135)> PASS ********
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 230 Logged on
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> SYST
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 215 UNIX emulated by FileZilla
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> FEAT
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 211-Features:
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> MDTM
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> REST STREAM
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> SIZE
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> MLST type*;size*;modify*;
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> MLSD
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> AUTH SSL
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> AUTH TLS
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> UTF8
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> CLNT
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> MFMT
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 211 End
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> PBSZ 0
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 200 PBSZ=0
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> PROT P
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 200 Protection level set to P
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> PWD
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 257 "/" is current directory.
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> TYPE I
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 200 Type set to I
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> PASV
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 227 Entering Passive Mode (192,168,100,163,6,62)
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> LIST
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 150 Connection accepted
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> SSL connection for data connection established
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 226 Transfer OK
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> MDTM aa.csv
(000029) 09-05-2008 15:35:04 - krr (192.168.100.135)> 213 20080509111140
(000029) 09-05-2008 15:35:09 - krr (192.168.100.135)> disconnected.


Filezilla client:
Quote
Status: Tilslutter til 192.168.100.163:9999...
Status: Forbindelse etableret, initialiserer TLS...
Status: Godkender certifikat...
Status: TLS/SSL-forbindelse oprettet, venter på velkomstbesked...
Respons: 220 Hello World
Kommando: USER krr
Respons: 331 Password required for krr
Kommando: PASS ********
Respons: 230 Logged on
Kommando: SYST
Respons: 215 UNIX emulated by FileZilla
Kommando: FEAT
Respons: 211-Features:
Respons: MDTM
Respons: REST STREAM
Respons: SIZE
Respons: MLST type*;size*;modify*;
Respons: MLSD
Respons: AUTH SSL
Respons: AUTH TLS
Respons: UTF8
Respons: CLNT
Respons: MFMT
Respons: 211 End
Kommando: PBSZ 0
Respons: 200 PBSZ=0
Kommando: PROT P
Respons: 200 Protection level set to P
Status: Tilsluttet
Status: Henter mappeliste...
Kommando: PWD
Respons: 257 "/" is current directory.
Kommando: TYPE I
Respons: 200 Type set to I
Kommando: PASV
Respons: 227 Entering Passive Mode (192,168,100,163,6,62)
Kommando: LIST
Respons: 150 Connection accepted
Respons: 226 Transfer OK
Status: Calculating timezone offset of server...
Kommando: MDTM aa.csv
Respons: 213 20080509111140
Status: Timezone offsets: Server: 7200 seconds. Local: 7200 seconds. Difference: 0 seconds.
Status: Mappeindhold vist
Status: Forbindelse til server afbrudt
#6197
Posted: 05/09/2008 08:54:46
by Industriens Pension (Standard support level)
Joined: 05/09/2008
Posts: 33

Turning implicit SSL Mode to yes did the trick, thanks.
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 16397 times

none




|

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!