Can't Connect to Git
Troubleshoot connection issues to Git servers while working with Resource Manager.
Can't connect to GitHub or GitLab.
This issue can occur in the following situations:
- Creating a GitHub or GitLab configuration source provider.
- Creating a stack from a Git configuration source provider.
- Running a job on a stack that uses a Terraform configuration stored in Git.
- Receiving an error message when confirming accessibility to a configuration source provider.
Cause: The Personal Access Token (PAT) was revoked
Remedy: Re-create the PAT
Re-create the Personal Access Token (PAT), ensuring that the token scope includes required permissions.
See the relevant Git documentation.
Cause: The required permission scopes changed and are insufficient
Remedy: Re-create the PAT
Re-create the Personal Access Token (PAT), ensuring that the token scope includes required permissions.
See the relevant Git documentation.
Cause: The Git repository permissions changed or are insufficient
Remedy: Use admin or owner
Cause: The Git server isn't accessible over the internet
Remedy: For a public server, use a public IP address
Remedy: For a private server, use a certificate and private endpoint
Note
Ensure that the certificate in the Certificates service matches the certificate on the Git server.
Ensure that the certificate in the Certificates service matches the certificate on the Git server.
- For private endpoint instructions, see Creating a Private Endpoint.
- For high-level instructions on private servers, see Private Git Server.