GIT HTTPS Checkout
Hello everyone,
I am in the catastrophic situation where i lost access to github due to the reported tls issue and i am unable to switch to HTTPS checkout,
i have 2fa enabled on github so i created an access token and in the fetch URL i provided the correct link that includes the access token and i provided the username and password.
i get the following error:
error: List remote refs failed: org.eclipse.jgit.errors.TransportException: https://github.com/***********************.git: not authorized
i have jre 9.0.4 installed
and i am stuck with teamcity 9.1.6 , can't upgrade for several reasons. any body was able to make https checkout work with this version ?
Many thanks
Please sign in to leave a comment.
Hi Ahmad,
Java 9 isn't supported yet. Other than that, check the options here: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/360000115644-Builds-using-GitHub-com-fail-with-VCS-errors-since-February-23-FIX-AVAILABLE
Thanks Denis for your reply,
I actually followed the steps from this post to switch to HTTPS.
i can downgrade JAVA if you think this is the issue.
Thanks
Hi Ahmad,
I am unfortunately unable to say whether downgrading would solve the problem, we have started to test Java 9, but obviously with the latest releases so any issue happening in older ones, particularly those out of support, is very hard to trace and might present unknown behavior. Unfortunately, there is very little else we can suggest other than what's in the post. You might want to double check disabling 2fa github, even if just for the test.