Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot synchronize with gitlab after the intial push #1693

Open
ivanmilara opened this issue Sep 15, 2024 Discussed in #1689 · 0 comments
Open

Cannot synchronize with gitlab after the intial push #1693

ivanmilara opened this issue Sep 15, 2024 Discussed in #1689 · 0 comments

Comments

@ivanmilara
Copy link

Discussed in #1689

Originally posted by ivanmilara September 13, 2024

Operating system

Windows 11 Pro

Publii version

0.46.1 (build 16918)

Issue type

Application

Bug description

When I try to synchronize with my gitlab repository (hosted in gitlab.com) I get the following error message: "An error ocurred while connecting to the server. Response code 400 (Bad Request)" . The remote server is not updated.

Steps to reproduce

  1. Create a gitlab project
  2. Add the .gitlab-ci.yml recommended here
  3. Complete gitlab settings in publii
  4. Synchronize the first time. Works successfully and the site is visible in Gitlab pages.
  5. Do changes in Publii
  6. Try to synchronize again.
  7. Get the following message:
    image
  8. Press "Continue and Sync"
  9. Get the following error:
    image
  10. There is not push to gitlab.

Relevant log output

[Fri, 13 Sep 2024 13:21:38 GMT] (!) CLIENT CREATED
[Fri, 13 Sep 2024 13:21:40 GMT] (!) REMOTE FILE NOT DOWNLOADED
[Fri, 13 Sep 2024 13:21:40 GMT] (!) ERROR WHILE DOWNLOADING publii-files.json: undefined
Founded 59 operations to do
[Fri, 13 Sep 2024 13:21:42 GMT] (!) NO FILES TO REMOVE DETECTED
[Fri, 13 Sep 2024 13:21:42 GMT] (!) NO TEXT FILES TO UPDATE DETECTED
[Fri, 13 Sep 2024 13:21:42 GMT] (!) TEXT FILES TO UPLOAD DETECTED
[Fri, 13 Sep 2024 13:21:45 GMT] (!) COMMIT ERROR: {"name":"HTTPError","code":"ERR_NON_2XX_3XX_RESPONSE","timings":{"start":1726233703449,"socket":1726233703449,"lookup":1726233703449,"connect":1726233703449,"secureConnect":1726233703449,"upload":1726233703452,"response":1726233705215,"end":1726233705215,"phases":{"wait":0,"dns":0,"tcp":0,"tls":0,"request":3,"firstByte":1763,"download":0,"total":1766}},"description":"A file with this name already exists"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant