question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not run on newly VS Code 1.53.0

See original GitHub issue

Do you read the FAQ?

Describe the bug I was update VS Code, and not run anymore this great extension. I need it a lot.

To Reproduce Steps to reproduce the behavior:

  1. Go to sftp configured sites clicking at icon, then sites, and then get the error

Expected behavior Connect

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

image

image

image

Desktop (please complete the following information): Version: 1.53.0 (user setup) Commit: 8490d3dde47c57ba65ec40dd192d014fd2113496 Date: 2021-02-03T20:36:38.611Z Electron: 11.2.1 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 6.1.7601

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.

Nothing from SFTP. Only alert:

command: “sftp.remoteExplorer.refresh” not found

SFTP version: 1.12.9

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:8
  • Comments:29

github_iconTop GitHub Comments

14reactions
arvislaciscommented, Feb 13, 2021

For other users facing this issue - as the main problem is related to the Electron and createDiffieHellman then you can disable/remove "diffie-hellman-group-exchange-sha256" algorithm as specified in Wiki - SFTP only Config.

In other words, you need to edit sftp.json file and specify following algorithms as supported for each SFTP profile:

"algorithms": {
    "kex": [
        "ecdh-sha2-nistp256",
        "ecdh-sha2-nistp384",
        "ecdh-sha2-nistp521",
        "diffie-hellman-group14-sha1"
    ],
    "cipher": [
        "aes128-ctr",
        "aes192-ctr",
        "aes256-ctr",
        "aes128-gcm",
        "aes128-gcm@openssh.com",
        "aes256-gcm",
        "aes256-gcm@openssh.com"
    ],
    "serverHostKey": [
        "ssh-rsa",
        "ecdsa-sha2-nistp256",
        "ecdsa-sha2-nistp384",
        "ecdsa-sha2-nistp521"
    ],
    "hmac": [
        "hmac-sha2-256",
        "hmac-sha2-512",
        "hmac-sha1"
    ]
}

^ As you can see "diffie-hellman-group-exchange-sha256" is not specified. After doing this everything works fine with 1.53.x versions. Not really the best solution but still.

2reactions
arvislaciscommented, Feb 16, 2021

@NormandoHall This works for me:

2021-02-16_21-18

I use profiles object/key to list all available profiles for specific project, as specified at - https://github.com/liximomo/vscode-sftp#profiles.

Read more comments on GitHub >

github_iconTop Results From Across the Web

November 2022 (version 1.74) - Visual Studio Code
Learn what is new in the Visual Studio Code November 2022 Release (1.74) ... running two different types of debug sessions did not...
Read more >
Problems with Code 1.53.X on CentOS 7 (100% CPU)?
First: sudo yum downgrade code-1.52.1-1608137084.el7.x86_64. or if you don't have VS Code installed yet ...
Read more >
Running Julia (Jupyter) Notebooks inside VSCode - VS Code
With the Python language vscode extension, you will be able to create new ... version does not work yet, see this blog) My...
Read more >
Install and Use Visual Studio Code on Windows 10 (VS Code)
VS Code runs on Mac, Linux, and Windows. See Requirements for the supported versions. VS Code is a free, open source editor.
Read more >
CHANGELOG.md · main - gitlab-vscode-extension
inserting snippets not working for newly created snippets (efaf1b7) ... webview: issue/mr details not showing for VS Code 1.53.0 (insiders) (35d6ecd) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found