Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

An error occured during connecting to the server. Please check your server sett

  • #2854
    Avatar photo[anonymous]

    I use Publii Version 0.3.6.0 (13213)

    When i want to sync the website via sftp i got the following error:

    “An error occured during connecting to the server. Please check your server settings or try again.”

    Several times before it worked smoothly with no problems.

    This is what i tried to find the error:

    • I doublechecked the user and password, they are ok.
    • I tried to open an sftp-connection via FileZilla with the same user and password, it worked smoothly.
    • Checking the errorlogs -> no hint to that error
    • Trying to get a connection via Publii with ftp -> same error.

    I look at documents/Publii/sites/mysitename/input/config/site.config.json:

    “deployment”: {
    “protocol”: “sftp”,
    “relativeUrls”: false,

    “password”: “publii and-here-is-the-sitename”,
    “askforpassword”: false,

    The password ‘publii andmysitename’ isnt my password! It seemed that publii stored a wrong value into this.
    When i overwrite it in the Publii-GUI it was not stored in the site.config.json file.

    There stands always ‘publii ‘ and my sitename.

    Any ideas?

    #3015
    Avatar photo[anonymous]

    Hi,

    Publii does not store password as a plain text in the site settings. It is due security reasons. The value in the password field is used to restore password from the OS built-in password manager.

    Please check server settings and check if password in the settings is ok (you can show password in the Publii UI). If you will get the same value as in the site settings file – then it must be a bug (in some Publii prerelease version we had a problem with password overrides). Then please put your correct password and save server settings again.

    The same problem can occur if you have migrated website files from other computer – you have to set a password again.