Skip to content

All my pipeline are failing with: remote: Nil JSON web token fatal: unable to access 'https://us-east1-d...."': The requested URL returned error: 403

For the past few hours, all our pipelines have been failing. We're unable to fetch, pull, or push from local, and every attempt results in the following error:

Nil JSON web token fatal: unable to access 'https://us-east1-d...."': The requested URL returned error: 403.

It seems like something changed since this morning, but I'm not sure what exactly. I checked the GitLab forums and issues page but didn't find anything recent related to our problem.

Could someone assist with this?

Workaround

While the solution here is to upgrade GitLab to a version that is not impacted by this problem, we did identify a few workarounds for situations where the solution is not immediately viable:

  • Switch to using SSH (instead of HTTP(S)) for git requests
  • Rename the namespace that has a trailing - character
    • ⚠️ This workaround would require any person or automation using any project within that namespace to need to change their approach. This is a workaround of last resort, for that purpose.
    • Note that it is no longer possible to create new namespaces with the trailing - character
Edited by Brie Carranza