EldoS | Feel safer!

Software components for data protection, secure storage and transfer

BizTalk FTPS adapter able to write small files but not larger files

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.
#17496
Posted: 09/13/2011 16:20:51
by Brian Swenson (Standard support level)
Joined: 07/02/2009
Posts: 7

I have a case where I am able to tranfer smaller files, upwards of 45 mb, to an external site using the FTPS adapter. When I try to send a 120 mb file though I receive the following error after roughly 5 minutes. I thought it might be related to the "Transfer Timeout" setting so I increased it from 20000 to 200000 but that didn't work either so I set it to 0 (zero) thinking this would allow it to be unlimited. Still received the following error.

We are using BizCrypto 7.2.0.171 version. Any thoughts as to why this seems to be timing out, or is there another setting I should be using? Thanks!

===========

[9/13/2011 3:34 PM] EldoS FTPS Adapter (transmit): __ctor()
[9/13/2011 3:34 PM] EldoS FTPS Adapter (transmit): TransmitMessage()
[9/13/2011 3:34 PM] EldoS FTPS Adapter (transmit): CreateProperties()
[9/13/2011 3:34 PM] EldoS FTPS Adapter (transmit): ProcessMessage()
[9/13/2011 3:34 PM] AdapterProperties::LoadFromMessageContext()
[9/13/2011 3:34 PM] Searching for installed BizCrypto addons.
[9/13/2011 3:34 PM] BizCrypto.BizTalk.Addons library successfully loaded.
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Loading certificates
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Loading client certificate(s)
[9/13/2011 3:34 PM] EldoS FTPS Adapter: 0 certificates loaded
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Loading trusted certificate(s)
[9/13/2011 3:34 PM] EldoS FTPS Adapter: 1 certificates loaded
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Opening the connection
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Optionally performing SSL/TLS negotiation and logging in
[9/13/2011 3:34 PM] > 220 Liberty Mutual Group B2B Gateway (test)

[9/13/2011 3:34 PM] < AUTH SSL
[9/13/2011 3:34 PM] > 234 AUTH SSL successful

[9/13/2011 3:34 PM] EldoS FTPS Adapter: Running certificate validation handler
[9/13/2011 3:34 PM] EldoS FTPS Adapter: validating server certificate
[9/13/2011 3:34 PM] EldoS FTPS Adapter: chain entry is found in the trusted storage. Validation succeeded.
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Validation finished with the following result: True
[9/13/2011 3:34 PM] < USER testacct
[9/13/2011 3:34 PM] > 331 Password required for testacct

[9/13/2011 3:34 PM] < PASS ****************
[9/13/2011 3:34 PM] > 230 User testacct logged in

[9/13/2011 3:34 PM] < PBSZ 0
[9/13/2011 3:34 PM] > 200 PBSZ 0 successful

[9/13/2011 3:34 PM] < PROT P
[9/13/2011 3:34 PM] > 200 Protection set to Private

[9/13/2011 3:34 PM] < FEAT
[9/13/2011 3:34 PM] > 211-Features:
MDTM
MFMT
TVFS
AUTH TLS
MFF modify;UNIX.group;UNIX.mode;
MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
PBSZ
PROT
REST STREAM
SIZE
211 End

[9/13/2011 3:34 PM] EldoS FTPS Adapter: Logged in
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Uploading file(s)
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Remote path is entitled/pmcs/to_lm/testfile_20110913.txt.pgp
[9/13/2011 3:34 PM] EldoS FTPS Adapter: ProcessMessage() Sending file to: entitled/pmcs/to_lm/testfile_20110913.txt.pgp
[9/13/2011 3:34 PM] < TYPE I
[9/13/2011 3:34 PM] > 200 Type set to I

[9/13/2011 3:34 PM] < PASV
[9/13/2011 3:34 PM] > 227 Entering Passive Mode (136,184,95,211,234,167).

[9/13/2011 3:34 PM] < STOR entitled/pmcs/to_lm/testfile_20110913.txt.pgp
[9/13/2011 3:34 PM] > 150 Opening BINARY mode data connection for entitled/pmcs/to_lm/testfile_20110913.txt.pgp.1

[9/13/2011 3:34 PM] EldoS FTPS Adapter: Running certificate validation handler
[9/13/2011 3:34 PM] EldoS FTPS Adapter: validating server certificate
[9/13/2011 3:34 PM] EldoS FTPS Adapter: chain entry is found in the trusted storage. Validation succeeded.
[9/13/2011 3:34 PM] EldoS FTPS Adapter: Validation finished with the following result: True
[9/13/2011 3:39 PM] EldoS FTPS Adapter: Error: Control channel transfer error (error code is -1)

Stack:
at SBSimpleFTPS.TElSimpleFTPSClient.ReadFromCtl(Boolean AllowZero)
at SBSimpleFTPS.TElSimpleFTPSClient.GetReply(Boolean Wait)
at SBSimpleFTPS.TElSimpleFTPSClient.Send(Stream Stream, String FileName, Int64 StartPos, Int64 EndPos, Boolean Append, Int32 RestartFrom)
at SBSimpleFTPS.TElSimpleFTPSClient.Send(Stream Stream, String FileName)
at BizCrypto.BizTalk.Adapters.FTPS.FTPSCommon.DoFTPSOperation(IBaseMessage message, AdapterProperties props, Boolean upload, ArrayList fileList)
[9/13/2011 3:39 PM] Error: Control channel transfer error (error code is -1)
#17497
Posted: 09/13/2011 16:46:56
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

The problem does not seems to be related to connection timeout. It looks more like the server closes the connection unexpectedly due to, say, excess of some pre-defined limit (either of the number of transferred bytes or of the session time) - this assumption might make sense, as you are apparently using a test server account. Could you please try to upload a file to the server with some third-party tool (e.g. FileZilla) and check if it is able to overcome the limit you notice with BizCrypto?
#17526
Posted: 09/15/2011 14:56:26
by Brian Swenson (Standard support level)
Joined: 07/02/2009
Posts: 7

I did try to load a file manually using FTP Voyager and CoreFTP Lite but was unsuccessful. Hmmm not exactly sure why, it just sat there but never transferred the file.

So I contacted the external company and they provided the following log information (see below). They also asked "Do you have a keep alive setting? Data transfer stall setting?". I'm not aware of these type of settings. So I reviewed the BizCrypto FTPS adapter settings and I see the following settings. Maybe they will help determine what is going on.

AUTH Command = AUTH SSL
Graceful Session Closure = No
Implicit SSL Mode = No
Passive Mode = Yes
Use NLST = Yes
Use SSL/TLS = Yes

I'm not sure what other settings may be helpful for you to determine what the problem is here.

Log file from external vendor:

Sep 13 16:32:09 vx-cplistn-t03p proftpd[14818] vx-cplistn-t03p (gw30.cunamutal.com[208.91.239.30]): Data transfer stall timeout: 3600 seconds

Sep 13 16:32:09 vx-cplistn-t03p proftpd[14818] vx-cplistn-t03p (gw30.cunamutal.com[208.91.239.30]): mod_ldap/2.8.22: successfully unbound

Sep 13 16:32:09 vx-cplistn-t03p proftpd[14818] vx-cplistn-t03p (gw30.cunamutal.com[208.91.239.30]): mod_ldap/2.8.22: not unbinding to an already unbound connection.

Sep 13 16:32:09 vx-cplistn-t03p proftpd[14818] vx-cplistn-t03p (gw30.cunamutal.com[208.91.239.30]): Transfer aborted after 62798848 bytes in 3903.40 seconds

Sep 13 16:32:09 vx-cplistn-t03p proftpd[14818] vx-cplistn-t03p (gw30.cunamutal.com[208.91.239.30]): FTP session closed.
#17527
Posted: 09/15/2011 16:28:37
by Brian Swenson (Standard support level)
Joined: 07/02/2009
Posts: 7

I was unable to send the file manually due to a firewall issue on our end. I fixed that problem and was able to send a 1.5 mb and 12 mb file. When I tried to send a 46 mb file it basically kept stopping around 40 mb and would not finish. I tried several times increasing the timeout value each time. We are contacting the external company to see what they suggest.
#17528
Posted: 09/15/2011 16:34:43
by Ken Ivanov (EldoS Corp.)

All right, thank you for keeping us updated.
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 3793 times

Number of guests: 1, 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!