SFTP protocol violation: Invalid message number
Is there something I can do to fix this problem. As information, I've connected to the problematic sites with another program successfully.SFTP protocol violation: Invalid message number
Thank you
Advertisement
Is there something I can do to fix this problem. As information, I've connected to the problematic sites with another program successfully.SFTP protocol violation: Invalid message number
Advertisement
Advertisement
vendor-id
SFTP extension. It first sends its own nonsense vendor information:
. Server software: ${pom.artifactId} ${pom.version} (0) by ${pom.groupId}
Advertisement
The numbers change, but the message stays the same.SFTP protocol violation: Invalid message number 8 (expected 200).
vendor-id
SFTP extension. So WinSCP uses the extension to provide the server with its information using SSH_FXP_EXTENDED
request (with "sequence number" 200). To this, the server should respond with SSH_FXP_EXTENDED_REPLY
response with the same sequence number. (Or with an error using SSH_FXP_STATUS
response, though that is not expected in this case). Instead, the server "responds" with SSH_FXP_EXTENDED
message with sequence number 8. This is totally wrong:
SSH_FXP_EXTENDED
is not a valid response to SSH_FXP_EXTENDED
request.
SSH_FXP_EXTENDED
is a request message. It can only ever be sent by the client, never by the server.
vendor-id
extension. So it does not trigger the bug in the server.
Advertisement
Advertisement
Advertisement
ProtocolFeatures=-vendor-id
Advertisement
. 2024-02-23 16:17:53.050 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer > 2024-02-23 16:17:53.050 Type: SSH_FXP_EXTENDED, Size: 61, Number: 200 . 2024-02-23 16:17:53.050 Getting current directory name. . 2024-02-23 16:17:53.050 Getting real path for '.' > 2024-02-23 16:17:53.050 Type: SSH_FXP_REALPATH, Size: 11, Number: 272 < 2024-02-23 16:17:53.081 Type: Unknown message (77), Size: 14, Number: 1634890857 . 2024-02-23 16:17:53.081 Attempt to close connection due to fatal exception: * 2024-02-23 16:17:53.081 SFTP-Protokollverletzung: Ungültiger Type der Antwortnachricht (77). . 2024-02-23 16:17:53.081 Closing connection. . 2024-02-23 16:17:53.081 Sending special code: 1 . 2024-02-23 16:17:53.113 Session sent command exit status 0 . 2024-02-23 16:17:53.113 Main session channel closed . 2024-02-23 16:17:53.113 All channels closed < 2024-02-23 16:17:53.113 Script: SFTP-Protokollverletzung: Ungültiger Type der Antwortnachricht (77). < 2024-02-23 16:17:53.113 Fehler beim Empfang des Verzeichnisnamens von der Gegenstelle.
-rawsettings ProtocolFeatures=-vendor-id
ProtocolFeatures=-vendor-id
Advertisement
You can post new topics in this forum