liximomo / vscode-sftp

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

Extension does not work anymore! #887

Open AlexMarcoDAngelo opened 3 years ago

AlexMarcoDAngelo commented 3 years ago

Do you read the FAQ?

Describe the bug The extension stopped working for all sites it used to work with no changes in the settings.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Run command 'any command'
  3. See error "Extension host terminated unexpectedly."

Expected behavior A clear and concise description of what you expected to happen.

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. [02-21 19:16:13] [debug] register command "Cancel All Transfer" from "./commandCancelAllTransfer.ts" [02-21 19:16:13] [debug] register command "Config" from "./commandConfig.ts" [02-21 19:16:13] [debug] register command "List Active Folder" from "./commandListActiveFolder.ts" [02-21 19:16:13] [debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts" [02-21 19:16:13] [debug] register command "Set Profile" from "./commandSetProfile.ts" [02-21 19:16:13] [debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts" [02-21 19:16:13] [debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts" [02-21 19:16:13] [debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts" [02-21 19:16:13] [debug] register command "Diff" from "./fileCommandDiff.ts" [02-21 19:16:13] [debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts" [02-21 19:16:13] [debug] register command "Download" from "./fileCommandDownload.ts" [02-21 19:16:13] [debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts" [02-21 19:16:13] [debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts" [02-21 19:16:13] [debug] register command "Download File" from "./fileCommandDownloadFile.ts" [02-21 19:16:13] [debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts" [02-21 19:16:13] [debug] register command "Download Force" from "./fileCommandDownloadForce.ts" [02-21 19:16:13] [debug] register command "Download Project" from "./fileCommandDownloadProject.ts" [02-21 19:16:13] [debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts" [02-21 19:16:13] [debug] register command "List" from "./fileCommandList.ts" [02-21 19:16:13] [debug] register command "List All" from "./fileCommandListAll.ts" [02-21 19:16:13] [debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts" [02-21 19:16:13] [debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts" [02-21 19:16:13] [debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts" [02-21 19:16:13] [debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts" [02-21 19:16:13] [debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts" [02-21 19:16:13] [debug] register command "Upload" from "./fileCommandUpload.ts" [02-21 19:16:13] [debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts" [02-21 19:16:13] [debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts" [02-21 19:16:13] [debug] register command "Upload File" from "./fileCommandUploadFile.ts" [02-21 19:16:13] [debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts" [02-21 19:16:13] [debug] register command "Upload Force" from "./fileCommandUploadForce.ts" [02-21 19:16:13] [debug] register command "Upload Project" from "./fileCommandUploadProject.ts" [02-21 19:16:14] [info] config at d:\Websites\leonardomedicine_com {"remotePath":"/home/tarahost/leonardomedicine","uploadOnSave":true,"downloadOnOpen":false,"ignore":[".vscode",".git",".DS_Store",".well-known",".rar"],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":true,"remoteTimeOffsetInHours":0,"name":"TARAHOSTING","host":"68.65.121.171","port":21098,"username":"**","password":"**"} [02-21 19:16:18] [warn] ENOENT: no such file or directory, open 'C:\Users\angel.ssh\config' load C:\Users\angel.ssh\config failed [02-21 19:16:18] [info] config at d:\Websites\leonardomedicine_com {"remotePath":"/home/tarahost/leonardomedicine","uploadOnSave":true,"downloadOnOpen":false,"ignore":[".vscode",".git",".DS_Store",".well-known",".rar"],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":true,"remoteTimeOffsetInHours":0,"name":"TARAHOSTING","host":"68.65.121.171","port":21098,"username":"**","password":"**"} [02-21 19:16:37] [trace] run command 'Toggle Output Panel' [02-21 19:16:47] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' [02-21 19:16:47] [debug] Client: Trying 68.65.121.171 on port 21098 ... [02-21 19:16:47] [debug] Client: Connected [02-21 19:16:47] [debug] Remote ident: 'SSH-2.0-OpenSSH_5.3' [02-21 19:16:47] [debug] Outgoing: Writing KEXINIT [02-21 19:16:47] [debug] DEBUG: Comparing KEXINITs ... [02-21 19:16:47] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [02-21 19:16:47] [debug] (remote) KEX algorithms: diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [02-21 19:16:47] [debug] KEX algorithm: diffie-hellman-group-exchange-sha256 [02-21 19:16:47] [debug] (local) Host key formats: ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [02-21 19:16:47] [debug] (remote) Host key formats: ssh-rsa,ssh-dss [02-21 19:16:47] [debug] Host key format: ssh-rsa [02-21 19:16:47] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [02-21 19:16:47] [debug] (remote) Client->Server ciphers: aes256-ctr,aes192-ctr,aes128-ctr [02-21 19:16:47] [debug] Client->Server Cipher: aes128-ctr [02-21 19:16:47] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [02-21 19:16:47] [debug] (remote) Server->Client ciphers: aes256-ctr,aes192-ctr,aes128-ctr [02-21 19:16:47] [debug] Server->Client Cipher: aes128-ctr [02-21 19:16:47] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [02-21 19:16:47] [debug] (remote) Client->Server HMAC algorithms: hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,hmac-ripemd160@openssh.com [02-21 19:16:47] [debug] Client->Server HMAC algorithm: hmac-sha2-256 [02-21 19:16:47] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [02-21 19:16:47] [debug] (remote) Server->Client HMAC algorithms: hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,hmac-ripemd160@openssh.com [02-21 19:16:47] [debug] Server->Client HMAC algorithm: hmac-sha2-256 [02-21 19:16:47] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib [02-21 19:16:47] [debug] (remote) Client->Server compression algorithms: none,zlib@openssh.com [02-21 19:16:47] [debug] Client->Server compression algorithm: none [02-21 19:16:47] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib [02-21 19:16:47] [debug] (remote) Server->Client compression algorithms: none,zlib@openssh.com [02-21 19:16:47] [debug] Server->Client compression algorithm: none [02-21 19:16:47] [debug] Outgoing: Writing KEXDH_GEX_REQUEST
riseoflex88 commented 3 years ago

Same for me as of this morning, my setup hasn't changed other than updating to the the latest VSC.

OS: [Mac OS Big Sur] VSCode Version [e.g. 1.53.2] Extension Version [e.g. 1.12.9]

I've tested on VSC Insiders with only this extension and get the same crash.

I'll roll back to the previous vsc version to see if that fixes it

riseoflex88 commented 3 years ago

Can confirm rolling back VSC to 1.52 works fine. Download link is here: https://code.visualstudio.com/updates/v1_52

Not a solution as such but a workaround until it can be patched hopefully

Nimja commented 3 years ago

Confirmed, disabling this extension makes VSCode not have the "Extension host terminated unexpectedly" error.

Is anyone working on this extension still?

ghost commented 3 years ago

Related to #881.

AlexMarcoDAngelo commented 3 years ago

Yes, except the original thread is no longer supported :(

On Thu., Feb. 25, 2021, 8:38 p.m. Brian Thompson, notifications@github.com wrote:

Related to #881 https://github.com/liximomo/vscode-sftp/issues/881.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/liximomo/vscode-sftp/issues/887#issuecomment-786349309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEPCNOQ2M7NLXOZDJH4WEPDTA33R7ANCNFSM4X7Q5OUA .