liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 259 forks source link

Reveal In Remote Explorer get a crash plugin error #829

Open mishalll opened 3 years ago

mishalll commented 3 years ago

Do you read the FAQ?

Describe the bug

A clear and concise description of what the bug is.

When I click "Reveal In Remote Explorer" the sftp sleep for 1-2 minutes and then I see "Error running command sftp.revealInExplorer: Canceled. This is likely caused by the extension that contributes sftp.revealInExplorer"

To Reproduce

Steps to reproduce the behavior:

  1. Open any file from remote sftp server
  2. On rigth side right mouse click on file and select "Reveal In Remote Explorer"
  3. See error

Expected behavior Opened a tree node on at remote files tree.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Extension Logs from Startup - required

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.
  3. Reproduce the problem, get the logs from View > Output > sftp. [09-18 23:49:29] [trace] run command 'Reveal In Remote Explorer' [09-18 23:49:39] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' [09-18 23:49:39] [debug] Client: Trying dev2.some_server.ru on port 22 ... [09-18 23:49:39] [debug] Client: Connected [09-18 23:49:39] [debug] Remote ident: 'SSH-2.0-OpenSSH_7.4' [09-18 23:49:39] [debug] Outgoing: Writing KEXINIT [09-18 23:49:39] [debug] DEBUG: Comparing KEXINITs ... [09-18 23:49:39] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [09-18 23:49:39] [debug] (remote) KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [09-18 23:49:39] [debug] KEX algorithm: ecdh-sha2-nistp256 [09-18 23:49:39] [debug] (local) Host key formats: ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [09-18 23:49:39] [debug] (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [09-18 23:49:39] [debug] Host key format: ssh-ed25519 [09-18 23:49:39] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [09-18 23:49:39] [debug] (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc [09-18 23:49:39] [debug] Client->Server Cipher: aes128-ctr [09-18 23:49:39] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [09-18 23:49:39] [debug] (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc [09-18 23:49:39] [debug] Server->Client Cipher: aes128-ctr [09-18 23:49:39] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [09-18 23:49:39] [debug] (remote) Client->Server HMAC algorithms: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [09-18 23:49:39] [debug] Client->Server HMAC algorithm: hmac-sha2-256 [09-18 23:49:39] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [09-18 23:49:39] [debug] (remote) Server->Client HMAC algorithms: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [09-18 23:49:39] [debug] Server->Client HMAC algorithm: hmac-sha2-256 [09-18 23:49:39] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib [09-18 23:49:39] [debug] (remote) Client->Server compression algorithms: none,zlib@openssh.com [09-18 23:49:39] [debug] Client->Server compression algorithm: none [09-18 23:49:39] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib [09-18 23:49:39] [debug] (remote) Server->Client compression algorithms: none,zlib@openssh.com [09-18 23:49:39] [debug] Server->Client compression algorithm: none [09-18 23:49:39] [debug] Outgoing: Writing KEXECDH_INIT [09-18 23:49:39] [debug] DEBUG: Checking host key format [09-18 23:49:39] [debug] DEBUG: Checking signature format [09-18 23:49:39] [debug] DEBUG: Verifying host fingerprint [09-18 23:49:39] [debug] DEBUG: Host accepted by default (no verification) [09-18 23:49:39] [debug] DEBUG: Verifying signature [09-18 23:49:39] [debug] Outgoing: Writing NEWKEYS [09-18 23:49:39] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth) [09-18 23:49:39] [debug] Outgoing: Writing USERAUTH_REQUEST (none) [09-18 23:49:39] [debug] Client: none auth failed [09-18 23:49:39] [debug] Outgoing: Writing USERAUTH_REQUEST (password) [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_OPEN (0, session) [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp) [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:40] [debug] Outgoing: Writing OPENDIR [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:40] [debug] Outgoing: Writing READDIR [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:40] [debug] Outgoing: Writing READDIR [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:40] [debug] Outgoing: Writing READDIR [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:40] [debug] Outgoing: Writing CLOSE [09-18 23:49:40] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:42] [debug] Outgoing: Writing OPENDIR [09-18 23:49:42] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:42] [debug] Outgoing: Writing READDIR [09-18 23:49:42] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:42] [debug] Outgoing: Writing READDIR [09-18 23:49:42] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:42] [debug] Outgoing: Writing CLOSE [09-18 23:49:42] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:44] [debug] Outgoing: Writing OPENDIR [09-18 23:49:44] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:44] [debug] Outgoing: Writing READDIR [09-18 23:49:44] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:44] [debug] Outgoing: Writing READDIR [09-18 23:49:44] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:44] [debug] Outgoing: Writing CLOSE [09-18 23:49:44] [debug] Outgoing: Writing CHANNEL_DATA (0) [09-18 23:49:50] [trace] run command 'Reveal In Remote Explorer'