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: https://github.com/my-private-repo.git: not authorized
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 git@github.com:.../repository.git
. Using https://
in the fetch URL causes the error message:
List remote refs failed: org.eclipse.jgit.errors.TransportException..
to occur.
I tried both ssh and https still the error occurs.
List remote refs failed: org.eclipse.jgit.errors.TransportException: https://gitlab.com/test-everyone/test-devops/test-it-processes.git: authentication not supported
My code is ingitlab
In my case my repo doesn;t use username/password but username/token for auth.