Community
Participate
Working Groups
When I try to fetch, pull or push from/to my GIT server I am prompted with the dialog to enter my credentials again and again. After the 3rd time EGit shows an error "not authorised". From the command line I can do all the operations without a problem. My OS is Windows 10 PRO x64. My GIT is in Microsoft TFS Server. The connection goes over HTTPS. I reimported the project (and repository) from an old setup on my old Windows 7 machine. I have set the HOME environment variable to point correctly to my home folder.
I am using now Eclipse 2019-03. On my old machine I was using Eclipse 2018-XX. I have the latest GIT - 2.21.0x64 client installed.
I presume on your old machine it worked? So, first step would be to use the same Eclipse on your new machine as on your old one. If it then still doesn't work, something must be configured differently on your new machine. Or it might be a problem with different Java versions? If you still have your old machine, you could also try using Eclipse 2019-03 there. That way you could narrow down whether the problem is in Eclipse or with the new machine (or the configuration there).
Command line git for windows supports domain authentication and NTLM authentication: https://github.com/git-for-windows/git/wiki/FAQ#how-do-i-access-a-repository-hosted-on-a-microsoft-team-foundation-server-inside-a-windows-domain Egit doesn't support those, therefore being able to pull from cmd does not guarantee egit being able to pull. You may need to install a local NTLM proxy like cntlm that "translates" the authentication request, or you may ask your git server admin to provide a different authentication method at the server.
With Eclipse 4.15 (2020-03) the dialog appears if NTLM is used and right credentials are entered - no error is shown to the user.
It looks related to missing support in JGit (511935) --> HttpAuthMethod missing NTLM scheme.