I am experiencing network timeouts that are interrupting the connection to the sFTP server.
My scenario is this:
I created a c# server interface that is registered with RegAsm and is accessed by the client application with CreateObject().
Once the client application has instantiated the sever, if anything happens to the connection that is formed the client locks up in memory.
Is there a timeout property for inactivity built into edtFTPPro.net that I haven't set correctly? Or am I not using threading appropriately, or is there another way that i can test for inactivity that I might be able to close the client and get a restart? Any information will be greatly appreciated.
Thanks
Alan
Log entry from remote FTP server:
000002488368 2011-04-19 08:32:44.531 6984 CORP2\NANTOS:[Info][30093] .\sshd.cpp:LoginProc(11683) The client was disconnected by intermediate network components or chose to disconnect without sending a disconnect message.
Log from edtFTPPro.net:
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [FTPConnection] 19 Apr 2011 08:36:49.375 : Set LocalDirectory='e:\data\combineddrsb'
DEBUG [SecureFTPConnection] 19 Apr 2011 08:36:49.375 : Set LocalDirectory to e:\data\combineddrsb
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.484 : Resolving corp2.dfas.mil
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : Obtained 1 addresses
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : IP address: 207.133.66.100
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : corp2.dfas.mil resolved to 207.133.66.100
DEBUG [SSHFTPClient] 19 Apr 2011 08:36:49.516 : Connecting directly to SFTP server 207.133.66.100:22
DEBUG [SSHFTPClient] 19 Apr 2011 08:36:49.531 : Connected successfully to SFTP server 207.133.66.100:22
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.531 : Beginning protocol negotiation
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 48 bytes
DEBUG [ProtocolNegotiationHandler] 19 Apr 2011 08:36:49.625 : offset=0,length=48
DEBUG [ProtocolNegotiationHandler] 19 Apr 2011 08:36:49.625 : Read: 'SSH-2.0-WRQReflectionforSecureIT_7.2 Build 151'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Major string = '2'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Minor string = '0'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Version 2.0
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Protocol compatible
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.625 : Server version=SSH-2.0-WRQReflectionforSecureIT_7.2 Build 151
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.625 : Timeout=120000
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.625 : Sending client version=SSH-2.0-edtFTPnet/PRO-7.1.0.20
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.625 : Starting key exchange
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 256 bytes
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.625 : Sending SSH_MSG_KEXINIT
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 96 bytes
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.625 : key exchange method=diffie-hellman-group1-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : hostkey algorithms=ssh-dss,ssh-rsa
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : ciphers=aes256-cbc
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : ciphers=aes256-cbc
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : MACs=hmac-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : MACs=hmac-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : compression algorithms=none
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : compression algorithms=none
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Sent SSH_MSG_KEXINIT
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Reading SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Processing SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote kex alg=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided kex alg= DiffieHellmanGroup1Sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote hostkey alg=ssh-dss
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided hostkey alg= DSA
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Cipher CS=aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Cipher C->S= AES256
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Cipher SC=aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Cipher S->C= AES256
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote MAC CS=hmac-sha1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided MAC C->S= HMACSHA1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote MAC SC=hmac-sha1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided MAC S->C= HMACSHA1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Comp CS=zlib,none
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Comp C->S=None
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Comp SC=zlib,none
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Comp S->C=None
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : first_kex_packet_follows=False
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Processed SSH_MSG_KEXINIT reply
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Sending SSH_MSG_KEXDH_INIT
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.656 : DH_PRIME_GROUP1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.672 : Sent SSH_MSG_KEXDH_INIT
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.672 : Reading