Hi, we're seeing intermittent connection issues where it appears to be failing on the TLS handshake. Though a user is able to connect multiple times, then this issue will show up, and the next connection may work without any issues.
I've seen the issue when connection with an OTS FTP product (FileZilla) as well as with the primay means of middleware infrastructure.
We're using v8.0.0 of CompleteFTP, logs at the time the issue occurs are as follows:
Thanks for any input in advance!
2016-05-17 14:28:02,409 DEBUG SocketListener [Site.1:Default Site] BeginAccept (port 21)
2016-05-17 14:28:02,409 DEBUG SocketListener [Site.1:Default Site] Allowed connection on port 21 from xxx.xxx.xxx.xxx due to rule Allow all
2016-05-17 14:28:02,409 DEBUG FTPConfiguration [Site.1:Default Site] Using UTF8 encoding
2016-05-17 14:28:02,409 DEBUG FTPSession [Site.1:Default Site] Launching login timeout (60000 ms): Session.17:Default Site:user?
2016-05-17 14:28:02,409 DEBUG FTPConnection [Site.1:Default Site] CMD< 220 xxxxx FTP Server
2016-05-17 14:28:02,409 DEBUG FTPSession [Site.1:Default Site] setting state to AwaitAuth
2016-05-17 14:28:02,409 DEBUG FTPConnection [Site.1:Default Site] BeginSend:40 bytes
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] CMD> AUTH TLS
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Processed command AUTH TLS
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] CMD< 234 AUTH TLS successful.
2016-05-17 14:28:02,409 DEBUG FTPSession [Session.17:Default Site:user?] setting state to AwaitUser
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] BeginSend:26 bytes
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] securing connection
2016-05-17 14:28:02,409 ERROR FTPConnection [Session.17:Default Site:user?] send failed
System.ArgumentException: SecureSocket.EndSend: null ti
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.UfS3pFiyZRv(IAsyncResult )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.IGWSUYE4CP(IAsyncResult )
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Closing connection
2016-05-17 14:28:02,409 DEBUG UserSession [Session.17:Default Site:user?] ReleaseResources()
2016-05-17 14:28:02,409 DEBUG FTPSession [Session.17:Default Site:user?] Released transfer resources
2016-05-17 14:28:02,409 WARN FTPConnection [Session.17:Default Site:user?] Error calling Socket.BeginClose()
System.NullReferenceException: Object reference not set to an instance of an object.
at shoHk3t9IrjE0VqpKoM.Jf7TMdtbH6YTBCsqDsv.HGkAWiwIGXU(AsyncCallback , Object )
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.S4oAnt9Nscf(AsyncCallback , Object )
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.nOCAnlfmlPA(Int32 , AsyncCallback , Object )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.Close()
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] Dispose()
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=null)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] Closed socket
2016-05-17 14:28:02,409 DEBUG TransferBuffer [Session.17:Default Site:user?] Close() called when open
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] OnReceive closing (socket not connected)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=null)
2016-05-17 14:28:02,409 ERROR SocketController [Session.17:Default Site:user?] OnReceive - caught exception - closing: Socket closed before handshake is complete (1)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=Socket closed before handshake is complete (1))
2016-05-17 14:28:02,409 DEBUG SecureSocket [Session.17:Default Site:user?] OnHandshakeComplete(False,Socket closed before handshake is complete (1))
2016-05-17 14:28:02,409 ERROR SecureSocket [Session.17:Default Site:user?] Exception during handshake: Socket closed before handshake is complete (1)
2016-05-17 14:28:02,409 ERROR FTPConnection [Session.17:Default Site:user?] send failed
System.IO.IOException: Socket closed before handshake is complete (1)
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.EwgAnpE0xAK(gTjCmaYespHHAD0rYOg )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.IGWSUYE4CP(IAsyncResult )
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Closing connection