List remote refs failed: org.eclipse.jgit.errors.TransportException https://bitbucket.org/XXXX/XXXX.git: not authorized
I am trying to input a BitBucket repository to create a new TeamCity project using https://XXXX@bitbucket.org/XXXX/XXXX.git . But it returns this error: List remote refs failed: org.eclipse.jgit.errors.TransportException https://bitbucket.org/XXXX/XXXX.git: not authorized.
Any help?
Please sign in to leave a comment.
Hi Cameron,
this error should be quite explicit. TeamCity is trying to connect with the credentials that you set up in the VCS Root, and bitbucket is rejecting the connection. Please ensure the credentials are correct and that the user has permissions to read that repository.