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: 

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.

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.

Cause: The Git repository permissions changed or are insufficient

Remedy: Use admin or owner

Ensure that the GitHub or GitLab repository permissions meet requirements (admin or owner).

Cause: The Git server isn't accessible over the internet

Remedy: For a public server, use a public IP address

Ensure that the Git server uses 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.

Remedy: Ensure that the Git server meets all prerequisites

See GitHub and GitLab prerequisites.