NimChimpsky NimChimpsky - 1 year ago 561
Git Question

Teamcity to github List remote refs failed not authorized jgit

Using github for windows on same machine, with same credentials works fine. Can pull/clone.

However teamcity installed as a windows service on the same machine, returns the following error

List remote refs failed: org.eclipse.jgit.errors.TransportException: not authorized

Answer Source

In teamcity, in the project VCS Root, if the authentication method is based on ssh public/private key, then the fetch URL should be like Using https:// in the fetch URL causes the error message:

List remote refs failed: org.eclipse.jgit.errors.TransportException..

to occur.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download