General Troubleshooting
Repository Connection Issues
Please note that currently only Git repositories are supported. Any third party version control repositories need to be transferred to a proper Git repository on either Github or Bitbucket.
How to change your connected GitHub, Bitbucket, or GitLab account?
You will need to go to your Github, Bitbucket, or GitLab account and revoke access to Appcircle and then reconnect your account from Appcircle.
Unable to see the repositories in the connected repository provider
Please check if you have owner/admin access in the specific organization from which the repositories will be connected. Appcircle does not allow connections to the repositories with a member-level access.
Error accessing the repository. Please check if the repository exists or if you have the required privileges.
- Only members who have admin role on repository or are owner of the organization can install the Github App in an organization that owns that repository.
- Only members who have admin role on a repository or are owner of the organization can connect a repository to a profile.
Unable to grant access to a GitHub organization
If you are unable to grant access to a specific organization while connecting to GitHub, it is likely that the permission for Appcircle needs an update from the organization application access settings.
To resolve, go to Organization Settings ->Third-party access and press edit next to Appcircle to authorize it for the organization.
Issues in connecting to the repositories with SSH
For the SSH connections, a key pair in PEM format is required. The public key is entered/stored in the Git provider while the private key is entered in Appcircle.
Please refer to this guide for the commands to generate a compatible key pair for SSH connections.
Using multiple SSH keys is not recommended. Instead, you should create a single SSH key that has access to all the private modules.
If you want to use multiple SSH keys, you need to complete the below steps:
- Add your SSH key(s) as environment variable group as a file.
- Select that environment group on your config screen
- Use the below custom script to add that key.
- Each key name should be unique. Appcircle's Activate SSH component uses
appcircle_ssh
as a key name.
set -e
if [ -z "$MY_OTHER_SSH_KEY" ]
then
echo "MY_OTHER_SSH_KEY is not provided. Skipping step."
exit 0
fi
echo "Create a file to save the RSA SSH private key"
mkdir -p ~/.ssh
echo "$AC_REPOSITORY_SSH_KEY" >> ~/.ssh/appcircle_new_ssh
chmod 600 ~/.ssh/appcircle_new_ssh
echo "Starting a new ssh-agent"
eval $(ssh-agent)
echo "Add the SSH private key to the ssh-agent"
ssh-add ~/.ssh/appcircle_new_ssh
echo "Exporting SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $AC_ENV_FILE_PATH
Accessing internal/on-premise repositories
The only available option for connecting to the internal/on-premise repositories is to use SSH and whitelist Appcircle resources if the repositories are not accessible from the public internet.
Please refer to this guide for connecting to the repositories in internal networks.
How to connect to AWS CodeCommit repositories through SSH?
AWS CodeCommit requires the creation of a dedicated user for repository connections through SSH (i.e. the root user cannot be used for this purpose).
Please refer to this guide for creating a user for SSH connections.
- First, create a user in AWS IAM and assign the following permissions to the user:

- Go to IAM -> Users -> User -> Security credentials and select "Upload SSH key".
- Take a note of the SSH key ID generated by AWS as follows:

- Once you login with the newly generated user and copy the repository URL in SSH format, you will receive URL as follows:
ssh://git-codecommit.us-east-2.amazonaws.com/v1/repos/MyDemoRepo
- For the SSH connection to be initialized, you need to add the public key to your URL to have it in the following format, which then can be entered in Appcircle to be used in SSH connections.
ssh://Your-SSH-Key-ID@git-codecommit.us-east-2.amazonaws.com/v1/repos/MyDemoRepo