Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension does not work anymore! #887

Open
1 task
AlexMarcoDAngelo opened this issue Feb 22, 2021 · 5 comments
Open
1 task

Extension does not work anymore! #887

AlexMarcoDAngelo opened this issue Feb 22, 2021 · 5 comments

Comments

@AlexMarcoDAngelo
Copy link

AlexMarcoDAngelo commented Feb 22, 2021

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):

  • OS: [Win 10]
  • VSCode Version [e.g. 1.53.2]
  • Extension Version [e.g. 1.12.9]

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,[email protected],aes256-gcm,[email protected]
    [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,[email protected],aes256-gcm,[email protected]
    [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,[email protected]
    [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,[email protected]
    [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,[email protected],zlib
    [02-21 19:16:47] [debug] (remote) Client->Server compression algorithms: none,[email protected]
    [02-21 19:16:47] [debug] Client->Server compression algorithm: none
    [02-21 19:16:47] [debug] (local) Server->Client compression algorithms: none,[email protected],zlib
    [02-21 19:16:47] [debug] (remote) Server->Client compression algorithms: none,[email protected]
    [02-21 19:16:47] [debug] Server->Client compression algorithm: none
    [02-21 19:16:47] [debug] Outgoing: Writing KEXDH_GEX_REQUEST
@riseoflex88
Copy link

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
Copy link

riseoflex88 commented Feb 22, 2021

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
Copy link

Nimja commented Feb 25, 2021

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

Is anyone working on this extension still?

@ghost
Copy link

ghost commented Feb 26, 2021

Related to #881.

@AlexMarcoDAngelo
Copy link
Author

AlexMarcoDAngelo commented Feb 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants