I am using a trial version of the FTP/SSL component for dot net. when authenticating to an FTP server, there is a 30-35 second delay. I am using the WinForms client for testing. I see this delay even if I change the certificate verifier to Rebex.Net.CertificateVerifier.AcceptAll.

If I disconnect and then immediately re-connect, there is no delay. What is the delay, and how do I prevent it?

Thanks

Chris

==================================== *** EDITED: this is the debug-level log for a connection to ftp.rebex.net:

18:53:33.603 Info Info: Connecting to ftp.rebex.net:21 using Ftp 3.0.3588.0 (trial version).

18:53:33.618 Info Info: Using proxy none.

18:53:34.806 Debug Info: Connection succeeded.

18:53:34.993 Info Response: 220 Gene6 FTP Server v3.10.0 (Build 2) ready...

18:53:35.040 Info Command: AUTH TLS

18:53:35.212 Info Response: 234 AUTH command ok; starting SSL connection.

18:53:35.228 Debug Info: Upgrading control connection to TLS/SSL.

18:53:35.337 Info TLS: State StateChange:Negotiating

18:53:35.353 Debug TLS: HandshakeMessage:ClientHello was sent.

18:53:35.556 Debug TLS: HandshakeMessage:ServerHello was received.

18:53:35.571 Debug TLS: HandshakeMessage:Certificate was received.

18:53:35.587 Debug TLS: HandshakeMessage:ServerHelloDone was received.

18:53:35.587 Debug TLS: Verifying server certificate ('L=PRAHA, S=-, C=CZ, CN=REBEX CA, E=support@rebex.cz, O=REBEX CR s.r.o., OU=-').

18:53:35.603 Debug TLS: Certificate verification result: Accept

18:53:35.603 Debug TLS: HandshakeMessage:ClientKeyExchange was sent.

18:54:14.447 Debug TLS: CipherSpec:ChangeCipherSpec was sent.

18:54:14.462 Debug TLS: HandshakeMessage:Finished was sent.

18:54:14.666 Debug TLS: CipherSpec:ChangeCipherSpec was received.

18:54:14.681 Debug TLS: HandshakeMessage:Finished was received.

18:54:14.697 Info TLS: State StateChange:Secured

18:54:14.712 Info TLS: Connection secured using cipher: TLS 1.0, RSA, 128bit AES in CBC mode, SHA1

18:54:14.728 Info TLS: Session ID: SnnPVCPhhpa2FW1awNZNFXrP/0+egNyWepQWdloDlTo

18:54:14.744 Debug Info: Control connection upgraded to TLS/SSL.

...

asked 04 Feb '10, 16:43

GJUNKIE's gravatar image

GJUNKIE
161
accept rate: 0%

edited 17 Mar '10, 14:36

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18

Hello, please set the "Logging level" to "Debug" (in the WinForm FTP Client) to produce a more detailed log. It looks like the delay occurs during the TLS/SSL negotiation phase and the debug log would contain more information about it. You can edit your post to include the more detailed log. We migth be able to tell more then.

(04 Feb '10, 17:02) Lukas Pokorny ♦♦

Does this delay also occur when connecting to a different FTP server such as ftp.rebex.net? (Use port 21, "Explicit TLS/SSL" and "anonymous"/"guest" credentials.)

(04 Feb '10, 17:04) Lukas Pokorny ♦♦

I connected to ftp.rebex.net and experienced the same delay. I updated the log in my post.

(05 Feb '10, 02:58) GJUNKIE

Oh, same behavior as before when I disconnect and re-connect to ftp.rebex.net: there is no delay the second time

(05 Feb '10, 03:00) GJUNKIE

I just sent you a link to a new build of Rebex FTP/SSL with enhanced logging via e-mail along with additional instructions. Please check it out. We are unable to reproduce this delay and no one else seems to suffer from it, so we need your cooperation in order to solve this.

(05 Feb '10, 16:31) Lukas Pokorny ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×136

Asked: 04 Feb '10, 16:43

Seen: 968 times

Last updated: 31 Mar '11, 05:22