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.

Publii upload error 520

  • #10877
    Avatar photo[anonymous]

    I tried to make changes to my website, https://wtgroningen.nl/, when Publii upload to Gitlab failed.
    This happened before usually resolved by deleting the site and re-upload from Publii.
    However this continues to fail.
    I am using Publii Versie 0.43.1 (0.43.1)

    I checked the Deployment-errors.log and this contains the text below.
    What should I do to deploy successfully to Gitlab?

    (node:1214) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

    Please migrate your code to use AWS SDK for JavaScript (v3).
    For more information, check the migration guide at https://a.co/7PzMCcy
    (Use `Publii Helper –trace-warnings …` to show where the warning was created)

    #10878
    Avatar photo[anonymous]

    Deployment-process.log

    [Tue, 31 Oct 2023 21:17:34 GMT] (!) CLIENT CREATED
    [Tue, 31 Oct 2023 21:17:35 GMT] (!) REMOTE FILE NOT DOWNLOADED
    [Tue, 31 Oct 2023 21:17:35 GMT] (!) ERROR WHILE DOWNLOADING publii-files.json: undefined
    Founded 73 operations to do
    [Tue, 31 Oct 2023 21:17:35 GMT] (!) NO FILES TO REMOVE DETECTED
    [Tue, 31 Oct 2023 21:17:35 GMT] (!) NO TEXT FILES TO UPDATE DETECTED
    [Tue, 31 Oct 2023 21:17:35 GMT] (!) TEXT FILES TO UPLOAD DETECTED
    [Tue, 31 Oct 2023 21:17:36 GMT] (!) COMMIT ERROR: {“name”:”HTTPError”,”code”:”ERR_NON_2XX_3XX_RESPONSE”,”timings”:{“start”:1698787055705,”socket”:1698787055705,”lookup”:1698787055706,”connect”:1698787055718,”secureConnect”:1698787055733,”upload”:1698787055969,”response”:1698787056248,”end”:1698787056248,”phases”:{“wait”:0,”dns”:1,”tcp”:12,”tls”:15,”request”:236,”firstByte”:279,”download”:0,”total”:543}}}

    #10889
    Avatar photo[anonymous]

    Deleted the public folder from Gitlab and committed, started publii sync your website results in error 520:

    Deployment-process.log

    [Wed, 01 Nov 2023 14:45:43 GMT] (!) CLIENT CREATED
    [Wed, 01 Nov 2023 14:45:43 GMT] (!) REMOTE FILE NOT DOWNLOADED
    [Wed, 01 Nov 2023 14:45:43 GMT] (!) ERROR WHILE DOWNLOADING publii-files.json: undefined
    Founded 73 operations to do
    [Wed, 01 Nov 2023 14:45:44 GMT] (!) NO FILES TO REMOVE DETECTED
    [Wed, 01 Nov 2023 14:45:44 GMT] (!) NO TEXT FILES TO UPDATE DETECTED
    [Wed, 01 Nov 2023 14:45:44 GMT] (!) TEXT FILES TO UPLOAD DETECTED
    [Wed, 01 Nov 2023 14:45:44 GMT] (!) COMMIT ERROR: {“name”:”HTTPError”,”code”:”ERR_NON_2XX_3XX_RESPONSE”,”timings”:{“start”:1698849944078,”socket”:1698849944079,”lookup”:1698849944079,”connect”:1698849944092,”secureConnect”:1698849944106,”upload”:1698849944225,”response”:1698849944950,”end”:1698849944950,”phases”:{“wait”:1,”dns”:0,”tcp”:13,”tls”:14,”request”:119,”firstByte”:725,”download”:0,”total”:872}}}

    Will try publii sync your website again after some time. I have seen different behaviour before giving a 520 error.
    Sometimes the “Uploading website” part of sync website worked and Gitlab pages public folder was created but not the publii-files.json file.

    #10899
    Avatar photo[anonymous]

    Retried today, now 520 error during/after upload files: public folder and (most) files created, no publii-files.json file however

    Deployment-process.log

    [Thu, 02 Nov 2023 12:32:09 GMT] (!) CLIENT CREATED
    [Thu, 02 Nov 2023 12:32:11 GMT] (!) REMOTE FILE NOT DOWNLOADED
    [Thu, 02 Nov 2023 12:32:11 GMT] (!) ERROR WHILE DOWNLOADING publii-files.json: undefined
    Founded 73 operations to do
    [Thu, 02 Nov 2023 12:32:11 GMT] (!) NO FILES TO REMOVE DETECTED
    [Thu, 02 Nov 2023 12:32:11 GMT] (!) NO TEXT FILES TO UPDATE DETECTED
    [Thu, 02 Nov 2023 12:32:11 GMT] (!) TEXT FILES TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILE TO UPLOAD DETECTED
    [Thu, 02 Nov 2023 12:32:14 GMT] (!) BINARY FILES UPLOADED
    [Thu, 02 Nov 2023 12:32:17 GMT] (!) BINARY FILES UPLOADED
    [Thu, 02 Nov 2023 12:32:20 GMT] (!) BINARY FILES UPLOADED
    [Thu, 02 Nov 2023 12:32:22 GMT] (!) COMMIT ERROR: {“name”:”HTTPError”,”code”:”ERR_NON_2XX_3XX_RESPONSE”,”timings”:{“start”:1698928340707,”socket”:1698928340708,”lookup”:1698928340709,”connect”:1698928340725,”secureConnect”:1698928340742,”upload”:1698928341983,”response”:1698928342235,”end”:1698928342235,”phases”:{“wait”:1,”dns”:1,”tcp”:16,”tls”:17,”request”:1241,”firstByte”:252,”download”:0,”total”:1528}}}

    Deployment-errors.log

    (node:23921) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

    Please migrate your code to use AWS SDK for JavaScript (v3).
    For more information, check the migration guide at https://a.co/7PzMCcy
    (Use `Publii Helper –trace-warnings …` to show where the warning was created)

    #10911
    Avatar photo[anonymous]

    Hi,

    Please wait few days for Publii v.0.44 which will introduce sync via Git repository which will be the recommended way to sync Github/Gitlab pages. Sync via Github/Gitlab APIs become more and more problematic so we will make them as deprecated