SFTP protocol violation

Advertisement

Dkellogg
Guest

SFTP protocol violation

I get the folowing errror when I attempt to upload directories- single file transfers work fine and I can create directories, just not create and copy at the same time...

SFTP protocol violation: Invalid message number 19728 (expected 19984).

The message number changes every time I try an upload. Each time, I am disconnected from the server immediately.

I am connecting to SSH-1.99-2.1.0.pl2 SSH Secure Shell (non-commercial)

Is this a permissions error? Please help.

-Don

Reply with quote

Advertisement

dkellogg
Guest

SFTP Protocol Violation

Here is the log file:

. 2007-11-27 11:21:41.923 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.923 WinSCP Version 3.8.2 (Build 330) (OS 5.1.2600 Service Pack 2)
. 2007-11-27 11:21:41.923 Login time: Tuesday, November 27, 2007 11:21:41 AM
. 2007-11-27 11:21:41.923 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.923 Session name: FTP
. 2007-11-27 11:21:41.923 Host name: 65.161.188.21 (Port: 22)
. 2007-11-27 11:21:41.923 User name: telepadm (Password: Yes, Key file: No)
. 2007-11-27 11:21:41.938 Transfer Protocol: SFTP
. 2007-11-27 11:21:41.938 SSH protocol version: 2; Compression: No
. 2007-11-27 11:21:41.938 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2007-11-27 11:21:41.938 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2007-11-27 11:21:41.938 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2007-11-27 11:21:41.938 SSH Bugs: -,-,-,-,-,-,-,-
. 2007-11-27 11:21:41.938 SFTP Bugs: -,-,-
. 2007-11-27 11:21:41.938 Proxy: none
. 2007-11-27 11:21:41.938 Return code variable: Autodetect; Lookup user groups: Yes
. 2007-11-27 11:21:41.938 Shell: default, EOL: 0
. 2007-11-27 11:21:41.938 Local directory: Z:\miami_fl\to_process\mobile, Remote directory: /rc_xfer/telepadm/incoming/Miami_20071118, Update: Yes, Cache: Yes
. 2007-11-27 11:21:41.938 Cache directory changes: Yes, Permanent: Yes
. 2007-11-27 11:21:41.954 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2007-11-27 11:21:41.954 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2007-11-27 11:21:41.954 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.954 Looking up host "65.161.188.21"
. 2007-11-27 11:21:41.954 Connecting to 65.161.188.21 port 22
. 2007-11-27 11:21:45.019 Server version: SSH-1.99-2.1.0.pl2 SSH Secure Shell (non-commercial)
. 2007-11-27 11:21:45.019 We believe remote version has SSH-2 HMAC bug
. 2007-11-27 11:21:45.019 We claim version: SSH-2.0-WinSCP_release_3.8.2
. 2007-11-27 11:21:45.019 Using SSH protocol version 2
. 2007-11-27 11:21:45.050 Using Diffie-Hellman with standard group "group1"
. 2007-11-27 11:21:45.050 Doing Diffie-Hellman key exchange
. 2007-11-27 11:21:46.160 Host key fingerprint is:
. 2007-11-27 11:21:46.160 ssh-dss 1024 a5:22:35:f3:4a:f8:1b:7f:ed:6b:df:e2:6e:ba:57:55
. 2007-11-27 11:21:46.160 Initialised Blowfish client->server encryption
. 2007-11-27 11:21:46.160 Initialised HMAC-MD5 client->server MAC algorithm
. 2007-11-27 11:21:46.160 Initialised Blowfish server->client encryption
. 2007-11-27 11:21:46.160 Initialised HMAC-MD5 server->client MAC algorithm
! 2007-11-27 11:21:46.285 Using username "telepadm".
. 2007-11-27 11:21:46.317 Session password prompt (telepadm@65.161.188.21's password: )
. 2007-11-27 11:21:46.317 Using stored password.
! 2007-11-27 11:21:46.317 Authenticating with pre-entered password.
. 2007-11-27 11:21:46.317 Sent password
. 2007-11-27 11:21:46.363 Access granted
. 2007-11-27 11:21:46.379 Opened channel for session
. 2007-11-27 11:21:46.442 Started a shell/command
. 2007-11-27 11:21:46.442 --------------------------------------------------------------------------
. 2007-11-27 11:21:46.442 Using SFTP protocol.
. 2007-11-27 11:21:46.442 Doing startup conversation with host.
> 2007-11-27 11:21:46.442 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2007-11-27 11:21:46.457 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2007-11-27 11:21:46.457 SFTP version 1 negotiated.
. 2007-11-27 11:21:46.457 We believe the server has signed timestamps bug
. 2007-11-27 11:21:46.457 We will use UTF-8 strings for status messages only
. 2007-11-27 11:21:46.457 Changing directory to "/rc_xfer/telepadm/incoming/Miami_20071118".
. 2007-11-27 11:21:46.457 Getting real path for '/rc_xfer/telepadm/incoming/Miami_20071118'
> 2007-11-27 11:21:46.457 Type: SSH_FXP_REALPATH, Size: 50, Number: 16
< 2007-11-27 11:21:46.582 Type: SSH_FXP_NAME, Size: 103, Number: 16
. 2007-11-27 11:21:46.582 Real path is '/rc_xfer/telepadm/incoming/Miami_20071118'
. 2007-11-27 11:21:46.582 Trying to open directory "/rc_xfer/telepadm/incoming/Miami_20071118".
> 2007-11-27 11:21:46.582 Type: SSH_FXP_LSTAT, Size: 50, Number: 263
< 2007-11-27 11:21:46.598 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2007-11-27 11:21:46.598 Getting current directory name.
. 2007-11-27 11:21:46.598 Listing directory "/rc_xfer/telepadm/incoming/Miami_20071118".
> 2007-11-27 11:21:46.598 Type: SSH_FXP_OPENDIR, Size: 50, Number: 523
< 2007-11-27 11:21:46.629 Type: SSH_FXP_HANDLE, Size: 17, Number: 523
> 2007-11-27 11:21:46.629 Type: SSH_FXP_READDIR, Size: 17, Number: 780
< 2007-11-27 11:21:46.676 Type: SSH_FXP_NAME, Size: 426, Number: 780
> 2007-11-27 11:21:46.676 Type: SSH_FXP_READDIR, Size: 17, Number: 1036
< 2007-11-27 11:21:46.692 Type: SSH_FXP_STATUS, Size: 9, Number: 1036
< 2007-11-27 11:21:46.692 Status/error code: 1
> 2007-11-27 11:21:46.692 Type: SSH_FXP_CLOSE, Size: 17, Number: 1284
. 2007-11-27 11:21:46.692 Startup conversation with host finished.
. 2007-11-27 11:22:04.970 Detected incoming data while idle

Reply with quote

dkellogg
Guest

SFTP Protocol Violation

Here is the log file:

. 2007-11-27 11:21:41.923 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.923 WinSCP Version 3.8.2 (Build 330) (OS 5.1.2600 Service Pack 2)
. 2007-11-27 11:21:41.923 Login time: Tuesday, November 27, 2007 11:21:41 AM
. 2007-11-27 11:21:41.923 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.923 Session name: FTP
. 2007-11-27 11:21:41.923 Host name: 65.161.188.21 (Port: 22)
. 2007-11-27 11:21:41.923 User name: telepadm (Password: Yes, Key file: No)
. 2007-11-27 11:21:41.938 Transfer Protocol: SFTP
. 2007-11-27 11:21:41.938 SSH protocol version: 2; Compression: No
. 2007-11-27 11:21:41.938 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2007-11-27 11:21:41.938 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2007-11-27 11:21:41.938 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2007-11-27 11:21:41.938 SSH Bugs: -,-,-,-,-,-,-,-
. 2007-11-27 11:21:41.938 SFTP Bugs: -,-,-
. 2007-11-27 11:21:41.938 Proxy: none
. 2007-11-27 11:21:41.938 Return code variable: Autodetect; Lookup user groups: Yes
. 2007-11-27 11:21:41.938 Shell: default, EOL: 0
. 2007-11-27 11:21:41.938 Local directory: Z:\miami_fl\to_process\mobile, Remote directory: /rc_xfer/telepadm/incoming/Miami_20071118, Update: Yes, Cache: Yes
. 2007-11-27 11:21:41.938 Cache directory changes: Yes, Permanent: Yes
. 2007-11-27 11:21:41.954 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2007-11-27 11:21:41.954 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2007-11-27 11:21:41.954 --------------------------------------------------------------------------
. 2007-11-27 11:21:41.954 Looking up host "65.161.188.21"
. 2007-11-27 11:21:41.954 Connecting to 65.161.188.21 port 22
. 2007-11-27 11:21:45.019 Server version: SSH-1.99-2.1.0.pl2 SSH Secure Shell (non-commercial)
. 2007-11-27 11:21:45.019 We believe remote version has SSH-2 HMAC bug
. 2007-11-27 11:21:45.019 We claim version: SSH-2.0-WinSCP_release_3.8.2
. 2007-11-27 11:21:45.019 Using SSH protocol version 2
. 2007-11-27 11:21:45.050 Using Diffie-Hellman with standard group "group1"
. 2007-11-27 11:21:45.050 Doing Diffie-Hellman key exchange
. 2007-11-27 11:21:46.160 Host key fingerprint is:
. 2007-11-27 11:21:46.160 ssh-dss 1024 a5:22:35:f3:4a:f8:1b:7f:ed:6b:df:e2:6e:ba:57:55
. 2007-11-27 11:21:46.160 Initialised Blowfish client->server encryption
. 2007-11-27 11:21:46.160 Initialised HMAC-MD5 client->server MAC algorithm
. 2007-11-27 11:21:46.160 Initialised Blowfish server->client encryption
. 2007-11-27 11:21:46.160 Initialised HMAC-MD5 server->client MAC algorithm
! 2007-11-27 11:21:46.285 Using username "telepadm".
. 2007-11-27 11:21:46.317 Session password prompt (telepadm@65.161.188.21's password: )
. 2007-11-27 11:21:46.317 Using stored password.
! 2007-11-27 11:21:46.317 Authenticating with pre-entered password.
. 2007-11-27 11:21:46.317 Sent password
. 2007-11-27 11:21:46.363 Access granted
. 2007-11-27 11:21:46.379 Opened channel for session
. 2007-11-27 11:21:46.442 Started a shell/command
. 2007-11-27 11:21:46.442 --------------------------------------------------------------------------
. 2007-11-27 11:21:46.442 Using SFTP protocol.
. 2007-11-27 11:21:46.442 Doing startup conversation with host.
> 2007-11-27 11:21:46.442 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2007-11-27 11:21:46.457 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2007-11-27 11:21:46.457 SFTP version 1 negotiated.
. 2007-11-27 11:21:46.457 We believe the server has signed timestamps bug
. 2007-11-27 11:21:46.457 We will use UTF-8 strings for status messages only
. 2007-11-27 11:21:46.457 Changing directory to "/rc_xfer/telepadm/incoming/Miami_20071118".
. 2007-11-27 11:21:46.457 Getting real path for '/rc_xfer/telepadm/incoming/Miami_20071118'
> 2007-11-27 11:21:46.457 Type: SSH_FXP_REALPATH, Size: 50, Number: 16
< 2007-11-27 11:21:46.582 Type: SSH_FXP_NAME, Size: 103, Number: 16
. 2007-11-27 11:21:46.582 Real path is '/rc_xfer/telepadm/incoming/Miami_20071118'
. 2007-11-27 11:21:46.582 Trying to open directory "/rc_xfer/telepadm/incoming/Miami_20071118".
> 2007-11-27 11:21:46.582 Type: SSH_FXP_LSTAT, Size: 50, Number: 263
< 2007-11-27 11:21:46.598 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2007-11-27 11:21:46.598 Getting current directory name.
. 2007-11-27 11:21:46.598 Listing directory "/rc_xfer/telepadm/incoming/Miami_20071118".
> 2007-11-27 11:21:46.598 Type: SSH_FXP_OPENDIR, Size: 50, Number: 523
< 2007-11-27 11:21:46.629 Type: SSH_FXP_HANDLE, Size: 17, Number: 523
> 2007-11-27 11:21:46.629 Type: SSH_FXP_READDIR, Size: 17, Number: 780
< 2007-11-27 11:21:46.676 Type: SSH_FXP_NAME, Size: 426, Number: 780
> 2007-11-27 11:21:46.676 Type: SSH_FXP_READDIR, Size: 17, Number: 1036
< 2007-11-27 11:21:46.692 Type: SSH_FXP_STATUS, Size: 9, Number: 1036
< 2007-11-27 11:21:46.692 Status/error code: 1
> 2007-11-27 11:21:46.692 Type: SSH_FXP_CLOSE, Size: 17, Number: 1284
. 2007-11-27 11:21:46.692 Startup conversation with host finished.
. 2007-11-27 11:22:04.970 Detected incoming data while idle

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: SFTP protocol violation

Dkellogg wrote:

I get the folowing errror when I attempt to upload directories- single file transfers work fine and I can create directories, just not create and copy at the same time...
What does that mean? That you cannot create directories by uploading them?

[qoute]Is this a permissions error? Please help.[/quote]
No. It means that WinSCP receives a response that it does not expect.

The log file seems to be unrelated to the problem. At least it does not list the error. Can you post complete log file? Or mail it to me.

Reply with quote

Advertisement

You can post new topics in this forum