vscode-deploy-reloaded icon indicating copy to clipboard operation
vscode-deploy-reloaded copied to clipboard

Handshake failed: no matching key exchange algorithm

Open tyler36 opened this issue 6 years ago • 4 comments

Description

Deploy version 14.0.0 works. Updated to Deploy (reloaded) 0.86.0 and stopped working

Actual behavior

Deploy.reloaded appears to hang on deploy. Deploy.reloaded output displays 🔥 [ERROR] Could not deploy files to 'test.test.local': 'Handshake failed: no matching key exchange algorithm'

Expected behavior

File uploaded

Steps to reproduce

Fails when attempted through context menu (right click) or command pallet

Example config

{
    "deploy.reloaded": {
        "packages": [
            {
                "name": "Test",                
                "button": {
                    "text": "Deploy to 'test.test.local'",
                    "tooltip": "Click here to deploy to the target...",
                    "targets": [ "test.test.local" ]
                }
            },
        ],
        "targets": [
            {
                "type": "sftp",
                "name": "test.test.local",
                "description": "test server",
                "dir": "/home/httpd/test.local/test",
                "host": "test.test.local", "port": 22,
                "user": "user",
                "password": "password"
            }
        ]
    }
}

Logs

No log message

Your environment

  • Operating system: Win10
  • Visual Studio Code version: 1.30
  • Extension version: 0.86.0

Additional comments

{Please write here, if there is something more to tell}

tyler36 avatar Jan 11 '19 02:01 tyler36

@tyler36

Have you tried the hashAlgorithm setting?

By default it is md5. Can you try the sha-1 value?

mkloubert avatar Jan 13 '19 13:01 mkloubert

Thanks for suggestion. I added "hashAlgorithm": "sha-1" to my config but got the following error

Invalid host hash algorithm: sha-1

After checking my config, I realized it should have been "hashAlgorithm": "sha1", but this reverts the error back to

'Handshake failed: no matching key exchange algorithm'

tyler36 avatar Jan 15 '19 00:01 tyler36

Turning debug on, shows

INFO extension.deploy.reloaded.loadplugins - [15/Jan/2019:00:08:58 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
INFO workspaces.workspace.reloadpackagebuttons() - [15/Jan/2019:00:08:59 +0000] "Registrated command 'extension.deploy.reloaded.buttons.deployPackage-9007199254740991' for button of package 'Test'."

Without knowing whats really important, this all appears fine to me.

tyler36 avatar Jan 15 '19 00:01 tyler36

Any other ideas to try?

tyler36 avatar Apr 05 '19 05:04 tyler36