Potential Cause A
From what I’ve read, this can be an intermittent issue caused on “their” end and not yours. It could be related to a 3rd party module that’s trying to connect to the repo. Have you tried again since?
Potential Cause B
It’s also possible that you have a 3rd party module installed that requires an authentication ticket that’s out of date. An example of this, is when you purchase a module and the composer instructions tell you to add something like this before running the
composer require command:
composer config http-basic.gitlab.example.com token abc123
Which then allows you to 6 months of free updates, which is when the credentials expire and lock you out because you haven’t extended your support license.
If you open the auth.json file, you see a list of saved usernames and passwords that are used to authenticate your permissions to update/install a module. This would be a good starting point to verify your logins with the 3rd party modules.
As your error refers to the git repo, then a “gitlab” entry might be the culprit.
If you don’t find anything in
auth.json, you may also want to look at
composer.json towards the bottom half of the document.