Sign in

Synchronisation error with GitHub

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks, 1 day ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8139
    Avatar photocumlaude

    Hello to all of you

    I want to move my blog from Netlify to Cloudflare pages, I created the token and repository on GitHub following the steps of the documentation offered on publli for this purpose.

    I configured the Github server in Publii, I did the connection test and everything was ok, so I proceeded to perform the synchronization and apparently it was loading the files (about 2840), at the end of the loading process I got an error, I don’t remember exactly what it said.

    The final line of the deployment-process.log has the following.

    [Tue, 30 Aug 2022 22:05:37 GMT] (i) TRIED AGAIN: (api) => api.gitdata.createTree - undefined
    [Tue, 30 Aug 2022 22:06:01 GMT] (i) TRIED AGAIN FAIL: (api) => api.gitdata.createTree - undefined
    [Tue, 30 Aug 2022 22:06:01 GMT] ERROR: {"code":502,"status":"Bad Gateway","message":"{\n  \"message\": \"Server Error\"\n}\n"}

    Do you have any idea what it could be?

    #8189
    Avatar photoTomasz Dziuda

    Hi,

    I am not sure, but maybe it is due Github API limitations:

    User-to-server requests are limited to 5,000 requests per hour and per authenticated user. All requests from OAuth applications authorized by a user or a personal access token owned by the user, and requests authenticated with any of the user’s authentication credentials, share the same quota of 5,000 requests per hour for that user.

    https://docs.github.com/en/developers/apps/building-github-apps/rate-limits-for-github-apps

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #8325
    Avatar photocumlaude

    Thanks for replying, Tomas, I had read about the limitations of the GitHub API and imagined that it could be the cause of the error.

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.