Troubleshoot

This page shows you how to resolve issues with Secure Source Manager.

Error message when creating a repository

The following error appears when you try to create a repository:

There was an error while loading /repo/create. Try refreshing the page.

This issue occurs when:

  • The Secure Source Manager API isn't enabled in your project.
  • You don't have the Repo Admin role on your project or permissions to create repositories in the Secure Source Manager instance.

To resolve this issue:

  • Enable the Secure Source Manager API in your project.
  • Ask your administrator to grant you the following roles:
    • Repo Admin (roles/securesourcemanager.repoAdmin) role on your project.
    • Instance Accessor (roles/securesourcemanager.instanceAccessor) on the Secure Source Manager instance.
    • Instance Repository Creator (roles/securesourcemanager.instanceRepositoryCreator) on the Secure Source Manager instance.

See Access control with IAM for more details.

Error message when cloning a repository on a Mac

The following error appears when you try to clone a repository:

git: 'credential-gcloud.sh' is not a git command.  See 'git --help'.
fatal: Authentication failed for [repo-url]

This issue occurs when:

  • gcloud CLI is installed using Homebrew or other non-standard installation.
  • git-credential-gcloud.sh is not added to your PATH.

To resolve this issue:

  • Run source $HOMEBREW_PREFIX/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc
  • Check that git-credential-gcloud.sh is in your path by running the following command:

    which git-credential-gcloud.sh
    

Project not showing up in web interface product selector

When using the Secure Source Manager web interface product selector, your project doesn't appear.

This issue occurs when you have multiple login credentials for Secure Source Manager.

To resolve this issue:

  • Clear your cookies by appending the following to your Secure Source Manager instance URL: /_oauth/consent

    For example, if your instance URL is https://my-instance-098765432123.us-central1.sourcemanager.dev/, enter https://my-instance-098765432123.us-central1.sourcemanager.dev/_oauth/consent into your browser address bar and then log in with the correct credentials.