Page 1 of 1

error code

PostPosted: Sun Dec 18, 2011 2:00 pm
by knocker
Dears,

when we try to connect as SFTP, the program is working but after a few seconds (10 or 20 sec) we get the following error and the connection is terminated, could youy advice please.

ERROR:> disconnect message from server: reason code = 2, msg = 'Timeout, your session not responding.' (#44)


many thanks

Re: error code

PostPosted: Mon Dec 19, 2011 9:41 am
by admin
What SFTP server are you using? Can you forward the full log.

Leon

Re: error code

PostPosted: Tue Dec 20, 2011 7:35 am
by knocker
Hi,
could you explain what do you mean by SFTP Server, below you find the log:

TurboFTP 32-bit Version 6.30 Build 889 - WinSock 2.0

STATUS:> Connecting to 10.136.10.10 Port 22 (try #1) ...
Server version: SSH-2.0-OpenSSH_4.3-40020723001100
COMMAND:> Sent client version string 'SSH-2.0-TurboFTP_SSHM_1.60'
STATUS:> Crypto negotiation done, Server to client cipher:aes128-cbc, mac:hmac-sha1, compression:none.
STATUS:> Crypto negotiation done, Client to server cipher:aes128-cbc, mac:hmac-sha1, compression:none.
STATUS:> Authenticating with method 'password'
STATUS:> Login successful.
COMMAND:> Resolve path '.'
DW0-/
COMMAND:> LIST remote dir 'DW0-/'...
List done
COMMAND:> Resolve path 'DW0-/FB140108'
DW0-/FB140108/
COMMAND:> LIST remote dir 'DW0-/FB140108/'...
List done
COMMAND:> Resolve path 'DW0-/FB140108/WEBFIL'
DW0-/FB140108/WEBFIL/
COMMAND:> LIST remote dir 'DW0-/FB140108/WEBFIL/'...
List done
COMMAND:> Resolve path 'DW0-/FB140108/WEBFIL/SCRIPT'
DW0-/FB140108/WEBFIL/SCRIPT/
COMMAND:> LIST remote dir 'DW0-/FB140108/WEBFIL/SCRIPT/'...
List done
COMMAND:> Resolve path 'DW0-/FB140108/WEBFIL'
DW0-/FB140108/WEBFIL/
STATUS:> Cache loaded.
COMMAND:> Resolve path 'DW0-/FB140108'
DW0-/FB140108/
STATUS:> Cache loaded.
COMMAND:> Resolve path 'DW0-'
DW0-/
STATUS:> Cache loaded.
COMMAND:> Resolve path 'DW0-/FBTUESW'
ERROR:> disconnect message from server: reason code = 2, msg = 'Timeout, your session not responding.' (#44)
ERROR:> Connection lost: 10.136.10.10 - Mon 4:05:02 AM 12/19/2011
STATUS:> Trying to reconnect ...
STATUS:> Connecting to 10.136.10.10 Port 22 (try #1) ...
Server version: SSH-2.0-OpenSSH_4.3-40020723000600
COMMAND:> Sent client version string 'SSH-2.0-TurboFTP_SSHM_1.60'
STATUS:> Crypto negotiation done, Server to client cipher:aes128-cbc, mac:hmac-sha1, compression:none.
STATUS:> Crypto negotiation done, Client to server cipher:aes128-cbc, mac:hmac-sha1, compression:none.
ERROR:> ssh-userauth service request not accepted (error #50)
STATUS:> Wait 0 seconds and try again...
STATUS:> Connecting to 10.136.10.10 Port 22 (try #2) ...
Server version: SSH-2.0-OpenSSH_4.3-40020723000900
COMMAND:> Sent client version string 'SSH-2.0-TurboFTP_SSHM_1.60'
STATUS:> Crypto negotiation done, Server to client cipher:aes128-cbc, mac:hmac-sha1, compression:none.
STATUS:> Crypto negotiation done, Client to server cipher:aes128-cbc, mac:hmac-sha1, compression:none.

Re: error code

PostPosted: Tue Dec 20, 2011 8:51 am
by admin
SFTP server is the same thing as SSH server here, which provides SFTP service over an SSH layer.

We tested with OpenSSH 4.3 but couldn't reproduce the problem.

Leon