Hi,

Nice catch. Looks like Gitlab forbid access token without expiration date
nowadays.

https://about.gitlab.com/blog/access-token-lifetime-limits/

I’ll regenerate the token and restart the service. It should be fixed in
~2hrs.

Cheers

On Sun 31 Aug 2025 at 17:42, Ahmad Khalifa <[email protected]> wrote:

> Hi,
>
> Trying to create a salsa repo for a recently ITP'd project.
> Few days ago, `dh-make-golang create-salsa-repo` worked fine, but today
> it's complaining about an expired token.
>
> $ dh-make-golang create-salsa-project <PROJECT_NAME>
> 2025/08/31 16:23:07 unexpected HTTP status code: got 500, want 200
> (response: CreateProject("<PROJECT_NAME>"): POST
> https://salsa.debian.org/api/v4/projects: 401 {error: invalid_token},
> {error_description: Token is expired. You can either do re-authorization
> or token refresh.})
>
> It's an open endpoint, available to anonymous POST requests, so checking
> with curl, I still get the same response.
>
> Does anyone how to fix this api endpoint and reauthorise its salsa token?
>
> It's the api running here:
> https://pgt-api-server.debian.net/v1/createrepo
>
>
> --
> Regards,
> Ahmad
>
>

Reply via email to