mkloubert / vscode-deploy-reloaded

Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-deploy-reloaded
GNU Lesser General Public License v3.0
163 stars 39 forks source link

Noob issue #35

Open binary64 opened 6 years ago

binary64 commented 6 years ago

Description

Greetings :) I am unable to successfully deploy to my SFTP.

Actual behavior

When I CTRL+S a file I've edited, I see one empty line printed to the Output > Deploy Reloaded, and "Deploying files to 'blah'" in the status bar. Then nothing happens (waited for a long while)

Expected behavior

Quickly upload :)

Steps to reproduce

{
    "deploy.reloaded": {
        "packages": [
            {
                "name": "main",
                "description": "Package version 2.3.4",
                "deployOnSave": true,
                "fastCheckOnSave": true,
                "files": [
                    "**/*.php",
                    "/*.json"
                ],
                "exclude": [
                    "tests/**"
                ],
                "targets": [
                    "blah"
                ]
            }
        ],
        "targets": [
            {
                "type": "sftp",
                "name": "blah",
                "host": "blah.com",
                "port": 22,
                "user": "blah",
                "password": "blah",
                "dir": "/var/www/myproject",
                "debug": true
            }
        ],
        "fastFileCheck": true,
        "deployOnSave": true
    },
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true
    },
    "composer.executablePath": "C:\\ProgramData\\ComposerSetup\\bin\\composer.bat",
    "git.ignoreLimitWarning": true
}

Logs

How? I only see one empty line printed when I activate the plugin with CTRL+S

Your environment

Additional comments

I've had this exact problem for about a year (with non-reloaded version). I've never been able to use your plugin.

binary64 commented 6 years ago

If I change my password to something that is incorrect, I see my first debug message:

[ERROR] Could not deploy files to 'blah': 'All configured authentication methods failed'

mkloubert commented 6 years ago

@binary64

I see you have activated debug setting in your target: Do the log files, which are stored in the .vscode-deploy-reloaded/.logs sub folder inside your home directory, tell something?

binary64 commented 6 years ago

Hi thanks for your reply. The only thing in the log is:

INFO extension.deploy.reloaded.loadplugins - [07/Mar/2018:18:01:22 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
"
alexsandrovp commented 4 years ago

Any luck with this? Same problem here. Deploy to SFTP fails with 'All configured authentication methods failed'. My host:port, user/password combination works in webstorm's sftp deployment