I'm seeing a Gitlab authentication out of date error loop
If you're seeing a 'GitLab Authentication is out of date' 500 server error page - this usually occurs when the deploy key in the repository settings in both dbt Cloud and GitLab do not match.
No worries - this is a current issue the dbt Labs team is working on and we have a few workarounds for you to try:
1st Workaround
- Disconnect repo from project in dbt Cloud.
- Go to Gitlab and click on Settings > Repository.
- Under Repository Settings, remove/revoke active dbt Cloud deploy tokens and deploy keys.
- Attempt to reconnect your repository via dbt Cloud.
- You would then need to check Gitlab to make sure that the new deploy key is added.
- Once confirmed that it's added, refresh dbt Cloud and try developing once again.
2nd Workaround
- Keep repo in project as is -- don't disconnect.
- Copy the deploy key generated in dbt Cloud.
- Go to Gitlab and click on Settings > Repository.
- Under Repository Settings, manually add to your Gitlab project deploy key repo (with
Grant write permissions
box checked). - Go back to dbt Cloud, refresh your page and try developing again.
If you've tried the workarounds above and are still experiencing this behavior - reach out to the Support team at support@getdbt.com and we'll be happy to help!
0