Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.4k views
in .NET FTP by (240 points)
I'm having connecting to a specific sftp server. I believe I have everything set up correctly, and the log indicates that the connection is succeeding, but when I run the test connection, there is an unexpected EOF message which then cascades into a timeout.

Any advice?

INFO : Connection Properties:
INFO :   ServerPort = 22
INFO :   Protocol = SFTP
INFO :   SocksProxySettings = null
INFO :   ServerCompatibility = Standard
INFO :   ServerValidation = None
INFO :   AutoSecure = True
INFO :   SecureFTPType = 
INFO :   SSLVersion = TLS1
INFO :   CipherSuites = SECURE_CIPHERS
INFO :   ServerCommonName = **DELETED**
INFO :   ClientCertificate = null
INFO :   ServerCertificate = 
INFO :   UMask = 0022
INFO :   DefaultPermissions = 0777
INFO :   AuthenticationMethod = Password
INFO :   ClientPrivateKeyFile = null
INFO :   KBIPrompts = null
INFO :   KnownHosts = 
INFO :   PreferredHostKeyAlgorithms = ALL
INFO :   PreferredCipherAlgorithms = All
INFO :   PreferredCompressionAlgorithms = All
INFO :   CloseStreamsAfterTransfer = True
INFO :   DeleteOnFailure = True
INFO :   Timeout = 0
INFO :   TransferBufferSize = 4096
INFO :   TransferNotifyInterval = 4096
INFO :   LicenseOwner = **DELETED**
INFO :   LicenseKey = **DELETED**
INFO :   IsTransferring = 
INFO :   CommandEncoding = null
INFO :   MultiTransferSleepEnabled = False
INFO :   MultiTransferCountBeforeSleep = 100
INFO :   MultiTransferSleepTime = 60
INFO :   DetectTransferMode = True
INFO :   KeepAliveTransfer = False
INFO :   KeepAliveIdle = True
INFO :   KeepAlivePeriodSecs = 30
INFO :   Site = 
INFO :   ParentControl = 
INFO :   Version = 4.0.5
INFO :   BuildTimestamp = 3-Jan-2007 13:22:39 EST
INFO :   StrictReturnCodes = True
INFO :   PublicIPAddress = 
INFO :   AutoPassiveIPSubstitution = True
INFO :   ActivePortRange = 1024 -> 5000
INFO :   ConnectMode = PASV
INFO :   IsConnected = 
INFO :   WorkingDirectory = 
INFO :   ServerDirectory = null
INFO :   LocalDirectory = **DELETED**
INFO :   DataEncoding = null
INFO :   FilePathEncoding = 
INFO :   ParsingCulture = 
INFO :   FileInfoParser = 
INFO :   LastValidReply = 
INFO :   TransferType = BINARY
INFO :   AutoLogin = True
INFO :   EventsEnabled = 
INFO :   UseGuiThreadIfAvailable = 
INFO :   LastTransferCancelled = 
INFO :   Container = 
DEBUG : Queuing FTP task Connect()
DEBUG : Starting FTP task processor
DEBUG : Running FTP task Connect()
DEBUG : Running task: Connect()
ALL : Invoking delegate EnterpriseDT.Net.Ftp.ExFTPConnection+a+a
ALL : Have GUI control
ALL : Invoking delegate dynamically
INFO : Licence expiry date: 12/30/2099
INFO : Production license
ALL : Invoking delegate EnterpriseDT.Net.Ftp.FTPConnectionEventHandler
ALL : Have GUI control
ALL : GUI control invocation required
ALL : Invoking delegate asynchronously using GUI control
INFO : Licence expiry date: 12/30/2099
INFO : Production license
DEBUG : **DELETED** resolved to **DELETED**
DEBUG : Connecting directly to SFTP server **DELETED**:22
DEBUG : Connected successfully to SFTP server **DELETED**:22
DEBUG : Beginning protocol negotiation
DEBUG : Protocol negotiation complete
DEBUG : RepeatCallback received 49 bytes
DEBUG : offset=0,length=49
DEBUG : pos=48
DEBUG : Server version=SSH-2.0-3.0.0 SSH Secure Shell (non-commercial)
DEBUG : Sending client version=SSH-2.0-edtFTPnet/PRO-4.0.5.0
DEBUG : Starting key exchange
DEBUG : Sending SSH_MSG_KEXINIT
DEBUG : Client hostkey algorithms=ssh-dss,ssh-rsa
DEBUG : Client ciphers=aes128-cbc,blowfish-cbc,3des-cbc
DEBUG : Client ciphers=aes128-cbc,blowfish-cbc,3des-cbc
DEBUG : Client compression algorithms=none,zlib
DEBUG : Client compression algorithms=none,zlib
DEBUG : Sent SSH_MSG_KEXINIT
DEBUG : Reading SSH_MSG_KEXINIT reply
DEBUG : Waiting for packet
DEBUG : RepeatCallback received 480 bytes
DEBUG : Packet arrived
DEBUG : Processing SSH_MSG_KEXINIT reply
DEBUG : Kex alg=diffie-hellman-group1-sha1
DEBUG : Hostkey alg=ssh-dss
DEBUG : Cipher CS=aes128-cbc,3des-cbc,blowfish-cbc,twofish128-cbc,twofish-cbc,arcfour,cast128-cbc,aes192-cbc,aes256-cbc,twofish192-cbc,twofish256-cbc
DEBUG : Cipher SC=aes128-cbc,3des-cbc,blowfish-cbc,twofish128-cbc,twofish-cbc,arcfour,cast128-cbc,aes192-cbc,aes256-cbc,twofish192-cbc,twofish256-cbc
DEBUG : MAC CS=hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,none
DEBUG : MAC SC=hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,none
DEBUG : Comp CS=none,zlib
DEBUG : Comp SC=none,zlib
DEBUG : Processed SSH_MSG_KEXINIT reply
DEBUG : Sending SSH_MSG_KEXDH_INIT
DEBUG : Sent SSH_MSG_KEXDH_INIT
DEBUG : Reading SSH_MSG_KEXDH_INIT reply
DEBUG : Waiting for packet
DEBUG : RepeatCallback received 640 bytes
DEBUG : Packet arrived
DEBUG : Processing SSH_MSG_KEXDH_INIT reply
DEBUG : RepeatCallback received 16 bytes
DEBUG : Processed SSH_MSG_KEXDH_INIT reply successfully
DEBUG : Sending SSH_MSG_NEWKEYS
DEBUG : Sent SSH_MSG_NEWKEYS
DEBUG : Established ciphers
DEBUG : Established MACs
DEBUG : Reading SSH_MSG_NEWKEYS reply
DEBUG : Processing SSH_MSG_NEWKEYS reply
DEBUG : Processed SSH_MSG_NEWKEYS reply
DEBUG : Key exchange complete
DEBUG : Waiting for packet
DEBUG : RepeatCallback received 52 bytes
DEBUG : Packet arrived
DEBUG : Starting user authentication
DEBUG : Password authentication
DEBUG : Waiting for packet
DEBUG : RepeatCallback received 1096 bytes
DEBUG : Packet arrived
DEBUG : SSH_MSG_IGNORE message received
DEBUG : User authentication successful
INFO : Waiting for SSH channel to be opened
DEBUG : RepeatCallback received 52 bytes
INFO : Waiting for SSH channel to be opened
INFO : Waiting for SSH channel to be opened
DEBUG : RepeatCallback received 36 bytes
DEBUG : SSH channel opened
ALL : Send : Name=SSH_FXP_INIT,Type=104,RequestID=0
version=3
DEBUG : RepeatCallback received 52 bytes
DEBUG : Received message (type=2)
DEBUG : AddMessage(0) - added to store
ALL : Reply : Name=SSH_FXP_VERSION,Type=2,RequestID=0
version=2
extension count=0
DEBUG : SFTP subsystem started
DEBUG : Connect() succeeded
ALL : Send : Name=SSH_FXP_REALPATH,Type=16,RequestID=1
originalPath=.
DEBUG : RepeatCallback received 68 bytes
DEBUG : Received message (type=104)
DEBUG : AddMessage(1) - added to store
ALL : Reply : Name=SSH_FXP_NAME,Type=104,RequestID=1
 [AP=/, O=False, US=, G=, D=False, F=False, LI=False, R=False, W=False, AT=0, AD=1/1/1970 12:00:00 AM, MT=0, MD=1/1/1970 12:00:00 AM, P=0, S=0, U=, LN=             1                          0  Jan 01 1970 ]
DEBUG : Changing local working directory to C:\Documents and Settings\chaeberle\My Documents
ALL : Invoking delegate EnterpriseDT.Net.Ftp.FTPConnectionEventHandler
ALL : Have GUI control
ALL : GUI control invocation required
ALL : Invoking delegate asynchronously using GUI control
ALL : Invoking delegate EnterpriseDT.Net.Ftp.FTPDirectoryEventHandler
ALL : Have GUI control
ALL : GUI control invocation required
ALL : Invoking delegate synchronously using GUI control
ALL : Delegate invocation complete
DEBUG : ChDir(/)
ALL : Send : Name=SSH_FXP_REALPATH,Type=16,RequestID=2
originalPath=/
DEBUG : RepeatCallback received 68 bytes
DEBUG : Received message (type=104)
DEBUG : AddMessage(2) - added to store
ALL : Reply : Name=SSH_FXP_NAME,Type=104,RequestID=2

3 Answers

0 votes
by (240 points)
This also appears to be the case when I try to just change directories to one that I know exists.
0 votes
by (162k points)
This looks like truncated status messages being sent by the server. I've emailed you with a url to download a patched version - this fix will be in the next release.
0 votes
by (240 points)
Thank you, the updated version worked!

Categories

...