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.

Error uploading website on self-hosted gitlab

  • #8053
    Avatar photo[anonymous]

    Hi,

    I am trying to upload the website to a GitLab hosted by my university.

    I managed to get the access token and when I configure the server and test my connection I get: “Success, the application was able to connect to your server”.

    Nevertheless, when I try to upload the application I get Response code 401 (Unauthorized).

    I followed the guide and the access token has the correct permissions.

    #8054
    Avatar photo[anonymous]

    hi,

    Please check under Tools -> Log viewer -> deployment logs if you have there more detailed informations about the issue

    #8059
    Avatar photo[anonymous]

    There was only this:

    [Sat, 13 Aug 2022 13:35:43 GMT] HTTPError: Response code 401 (Unauthorized)

    #8061
    Avatar photo[anonymous]

    Well, maybe you have some additional layer of protection which prevents Publii Gitlab integration to work. Or your API is not fully available for the given access token.

    On test connection Publii checks if it can list all projects and if specific branch exists on GitLab.