Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO

Getting error: 'Timed out waiting for packet from handler' after some successfull calls

0 votes
69 views
asked Mar 21 in FAQ: edtFTPnet/PRO by Karl (140 points)
We have a Problem when using SFTP. After 50-200 logon/logoffs we get the following error:

It seems to us that th SSH is not closed correctly. What can we do?

 

DEBUG [HostNameResolver] 21 Mrz 2017 15:20:02.119 :  91.190.200.66 resolved to 91.190.200.66
DEBUG [SSHSCPClient] 21 Mrz 2017 15:20:02.119 :  Connecting directly to SFTP server 91.190.200.66:22
INFO [BaseSocket] 21 Mrz 2017 15:20:02.119 :  Connecting to 91.190.200.66:22 with timeout 120000 ms
DEBUG [BaseSocket] 21 Mrz 2017 15:20:02.132 :  Successfully connected to 91.190.200.66:22
DEBUG [SSHSCPClient] 21 Mrz 2017 15:20:02.132 :  Connected successfully to SFTP server 91.190.200.66:22
DEBUG [SSHConnection] 21 Mrz 2017 15:20:02.132 :  Beginning protocol negotiation
DEBUG [PlainSocket] 21 Mrz 2017 15:20:02.132 : SSHSCPClient.201 RepeatCallback received 856 bytes
DEBUG [ProtocolNegotiationHandler] 21 Mrz 2017 15:20:02.132 : SSHSCPClient.201 offset=0,length=856
INFO [ProtocolNegotiationHandler] 21 Mrz 2017 15:20:02.132 : SSHSCPClient.201 Server version = 'SSH-2.0-mod_sftp/0.9.9'
DEBUG [SSHUtil] 21 Mrz 2017 15:20:02.132 : SSHSCPClient.201 Major string = '2'
DEBUG [SSHUtil] 21 Mrz 2017 15:20:02.133 : SSHSCPClient.201 Minor string = '0'
DEBUG [SSHUtil] 21 Mrz 2017 15:20:02.133 : SSHSCPClient.201 Version 2.0
DEBUG [SSHUtil] 21 Mrz 2017 15:20:02.133 : SSHSCPClient.201 Protocol compatible
DEBUG [SSHConnection] 21 Mrz 2017 15:20:02.133 :  Server version=SSH-2.0-mod_sftp/0.9.9
DEBUG [SSH2Connection] 21 Mrz 2017 15:20:02.133 :  Timeout=120000
DEBUG [SSHConnection] 21 Mrz 2017 15:20:02.133 :  Sending client version=SSH-2.0-edtFTPnet/PRO_8.6.3.20
DEBUG [SSH2Connection] 21 Mrz 2017 15:20:02.133 :  Starting key exchange
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  Sending SSH_MSG_KEXINIT
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  key exchange method=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  hostkey algorithms=ssh-rsa,ssh-dss
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  MACs=hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  MACs=hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 21 Mrz 2017 15:20:02.133 :  Sent SSH_MSG_KEXINIT
DEBUG [ClientKeyExchanger] 21 Mrz 2017 15:20:02.133 :  Reading SSH_MSG_KEXINIT reply
DEBUG [SSH2Connection] 21 Mrz 2017 15:20:02.133 :  Waiting for packet
DEBUG [ProtocolNegotiationHandler] 21 Mrz 2017 15:20:02.133 : SSHSCPClient.201 832 surplus bytes available
ERROR [SSH2Connection] 21 Mrz 2017 15:22:02.136 :  Timed out waiting for packet from handler
ERROR [SSHFTPClient] 21 Mrz 2017 15:22:02.137 :  Failed to connect - closing connection
ERROR [SSHFTPClient] 21 Mrz 2017 15:22:02.137 :  EnterpriseDT.Net.Ftp.Ssh.SFTPException: Timed out waiting for packet from handler
ERROR [SSHFTPClient] 21 Mrz 2017 15:22:02.137 :     at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
DEBUG [SSHFTPClient] 21 Mrz 2017 15:22:02.147 :  Set transfer type = BINARY
commented Mar 21 by support2 (143,750 points)
Please upgrade to 9.1.1 and see if that works. This version is quite old.

Please log in or register to answer this question.

...