Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

BMackenzieJHA

Posts

11

Joined

Wed Nov 05, 2014 2:41 am

Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped working

by BMackenzieJHA » Sat Dec 20, 2014 7:07 am

Not sure why upgrading would cause it to break but maybe you can give me some ideas. Substituted client's FTP name for confidentiality reasons.

Something to note is that we have one other FTPSExplicit job but it still works for some reason.


INFO [FTPConnection] 19 Dec 2014 15:55:18.409 : OS: 6.1.7601.65536, CLR: 2.0.50727.5485, DLL: 8.6.0.20
INFO [FTPConnection] 19 Dec 2014 15:55:18.409 : Built: 3-Jul-2014 22:57:04 EST
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.409 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Dec 2014 15:55:18.425 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [SFTPMessageStore] 19 Dec 2014 15:55:18.425 : Set timeout=120000
INFO [LicenseProperties] 19 Dec 2014 15:55:18.440 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 19 Dec 2014 15:55:18.440 : Production license
DEBUG [FTPConnection] 19 Dec 2014 15:55:18.440 : Set LocalDirectory='C:\WINDOWS\SysWOW64\inetsrv'
DEBUG [SecureFTPConnection] 19 Dec 2014 15:55:18.440 : Set LocalDirectory to C:\WINDOWS\SysWOW64\inetsrv
INFO [LicenseProperties] 19 Dec 2014 15:55:18.440 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 19 Dec 2014 15:55:18.440 : Production license
DEBUG [SSLFTPClient] 19 Dec 2014 15:55:18.440 : Connecting to ClientFTPServerName:5555
DEBUG [SSLFTPControlSocket] 19 Dec 2014 15:55:18.440 : waitOnShutdownSSL=True
DEBUG [ExFTPControlSocket] 19 Dec 2014 15:55:18.456 : Created control-socket: SocksContext=, ProxySettings=NoProxy, RemoteHost=ClientFTPServerName, controlPort=5555, timeout=120000
DEBUG [FTPControlSocket] 19 Dec 2014 15:55:18.456 : StrictReturnCodes=False
DEBUG [HostNameResolver] 19 Dec 2014 15:55:18.456 : Resolving ClientFTPServerName
DEBUG [HostNameResolver] 19 Dec 2014 15:55:18.456 : Obtained 1 addresses
DEBUG [HostNameResolver] 19 Dec 2014 15:55:18.456 : IP address: 140.108.21.109
DEBUG [HostNameResolver] 19 Dec 2014 15:55:18.456 : ClientFTPServerName resolved to 140.108.21.109
DEBUG [ExFTPControlSocket] 19 Dec 2014 15:55:18.456 : Connecting directly to ftp-server ClientFTPServerName:5555
INFO [SSLFTPSocket] 19 Dec 2014 15:55:18.456 : Connecting to 140.108.21.109:5555 with timeout 120000 ms
DEBUG [SSLFTPSocket] 19 Dec 2014 15:55:18.534 : Successfully connected to 140.108.21.109:5555
DEBUG [FTPControlSocket] 19 Dec 2014 15:55:18.534 : Setting socket timeout=120000
ALL [SecureSocket] 19 Dec 2014 15:55:18.534 : SecureSocket timeout=120000
ALL [SecureSocket] 19 Dec 2014 15:55:18.534 : SecureSocket timeout=120000
INFO [FTPControlSocket] 19 Dec 2014 15:55:18.534 : Command encoding=System.Text.SBCSCodePageEncoding
DEBUG [FTPControlSocket] 19 Dec 2014 15:55:18.612 : 220 CONNECT:Enterprise Gateway 2.1.00. FTP Server ready...
DEBUG [FTPControlSocket] 19 Dec 2014 15:55:18.612 : ---> AUTH TLS
DEBUG [FTPControlSocket] 19 Dec 2014 15:55:18.690 : 234 AUTH: command accepted. Securing command channel ...
DEBUG [SSLFTPControlSocket] 19 Dec 2014 15:55:18.690 : Beginning Ssl3, Tls1, Tls11 handshake.
DEBUG [SocketController] 19 Dec 2014 15:55:18.783 : FTPConnection.1 Processing hello
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.799 : FTPConnection.1 ProcessMessages(Handshake)
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.799 : FTPConnection.1 Handshake Message: ServerHello
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.799 : FTPConnection.1 ProcessMessages(Handshake)
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.799 : FTPConnection.1 Handshake Message: Certificate
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.815 : FTPConnection.1 ProcessMessages(Handshake)
ALL [HandshakeLayer] 19 Dec 2014 15:55:18.815 : FTPConnection.1 Handshake Message: ServerHelloDone
WARN [SocketController] 19 Dec 2014 15:55:18.908 : FTPConnection.1 OnReceive - (An existing connection was forcibly closed by the remote host) - closing
DEBUG [SocketController] 19 Dec 2014 15:55:18.908 : FTPConnection.1 CloseConnection(e=An existing connection was forcibly closed by the remote host)
DEBUG [SocketController] 19 Dec 2014 15:55:18.908 : FTPConnection.1 Closed socket
DEBUG [TransferBuffer] 19 Dec 2014 15:55:18.908 : FTPConnection.1 Close() called when open
DEBUG [SecureSocket] 19 Dec 2014 15:55:18.908 : FTPConnection.1 OnHandshakeComplete(False,An existing connection was forcibly closed by the remote host)
ERROR [SecureSocket] 19 Dec 2014 15:55:18.908 : Exception during handshake: An existing connection was forcibly closed by the remote host
DEBUG [SocketController] 19 Dec 2014 15:55:50.433 : FTPConnection.1 Dispose()
DEBUG [SocketController] 19 Dec 2014 15:55:50.433 : FTPConnection.1 CloseConnection(e=null)
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by support2 » Sat Dec 20, 2014 10:17 am

Perhaps the server doesn't support TLS 1?

Try setting the SSLVersion to SSLFTPSSLVersion.SSL3
no avatar
User

BMackenzieJHA

Posts

11

Joined

Wed Nov 05, 2014 2:41 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by BMackenzieJHA » Tue Dec 23, 2014 12:55 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by support2 » Tue Dec 23, 2014 1:23 am

The server claims to support TLS 1.1, so support for SSL3 is not the issue.

It's probably best to email support with the logs for the successful older version and the failed log for the newer version. It's also worth upgrading to 8.6.3 just in case that fixes the issue.
no avatar
User

BMackenzieJHA

Posts

11

Joined

Wed Nov 05, 2014 2:41 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by BMackenzieJHA » Tue Dec 23, 2014 2:27 am

What is the support email for us to send the logs to? I'll see what I can get.

In the test that I just posted, I had upgraded EDT to v8.6.3.20 to make sure that wasn't the issue. You can see it noted in the logs. The older version that worked was v5.1.0.20. Did the default SSLVersion change from those two versions? Was there perhaps extra settings that we need to configure?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by support2 » Tue Dec 23, 2014 4:20 am

The default SSLVersion is now TLS 1.0, but 1.1 is also supported. The email address is support at our domain.

You could try explicitly setting the SSLVersion to 1.1.

Also, if you could email us the IP address (if it is externally reachable) that would help - we wouldn't need a login to test this problem.
no avatar
User

BMackenzieJHA

Posts

11

Joined

Wed Nov 05, 2014 2:41 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by BMackenzieJHA » Wed Dec 24, 2014 3:21 am

I have sent an email with the logs, as you suggested. Thank you for your assistance.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Upgraded to 8.6.0.20 and FTPS Explicit jobs stopped work

by support2 » Wed Dec 24, 2014 8:39 pm

Up to 7.2.0 succeeds and from 7.3.0 it fails. In 7.3.0, TLS1.1 was added. So by default TLS 1.1 is used from then on.

For whatever reason, your server doesn't like something about our implementation of TLS 1.1. If you are able to access the server log, that might tell us more.

The solution for now is to disable TLS11 by setting TLS1 explicitly.

ftpConnection.SSLVersion = SSLFTPSSLVersion.TLS1;

Who is online

Users browsing this forum: Google [Bot] and 29 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron