Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Git for Windows authentication failed

Phil P May 17, 2018

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.

1 answer

1 accepted

0 votes
Answer accepted
dlaser
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2018

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.

Phil P May 18, 2018

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events