Publii upload error 520
-
October 31, 2023 at 8:23 pm #10877[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)October 31, 2023 at 10:20 pm #10878[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}}}November 1, 2023 at 3:29 pm #10889[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.November 2, 2023 at 1:46 pm #10899[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)November 3, 2023 at 6:55 pm #10911[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