Git for Windows is giving authentication error when trying to clone/pull/push etc to Bitbucket. Cygwin and Linux based systems with Git have no problems.
I have Bitbucket v5.9.1 running in our Dev environment with Git 2.16.1 and the problem occurs on HTTP and HTTPS.
I also have Bitbucket v5.0.1 with Git 2.13.0 in our production environment and that has no problems when using Git for Windows to authenticate.
I'm having a hard time trying to narrow down the cause of the problem.
Try to turn on git debug logging and reproduce the issue. You should be able to set the Linux environment variables in the Bash shell. Once this is turned on, try to do a push. This will show you where git fails.
I hope this helps you narrow down what is happening.
Thanks for the link!
So looking at the logs it turns out that the EasySSO plugin would trigger with the Windows version of Git and fail the authentication. The Linux version did not have the same problem.
EasySSO Git Fix seems to have fixed the issue by not running SSO for git clients.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.