The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Login issue with Sourcetree

Mona Sood
August 8, 2018

Hi Team,

 

Few of our organisation users are facing issue with Sourcetree while cloning source code from Bitbucket through https://.

They are asked for their credential number of times, also getting below error in source tree (version 2.6.9)

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/abc/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" ls-remote https://<bitbucket repository.git>

Output:

Error: fatal: HttpRequestException encountered.

   An error occurred while sending the request.

remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in: https://confluence.atlassian.com/x/9DJmMQ

fatal: Authentication failed for 'https://<bitbucket repository.git>'

 

But rest of the other users are able to access via same steps and setting.

 

A solution /workaround would be highly appreciated.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2018

Hi Mona,

There do seem to be some issues currently with Microsoft's Git Credential Manager (GCM). Uninstalling GCM should resolve the issue you're seeing. There are a few ways to go about doing this but the process documented here should help out.

After that, git should allow you to store credentials in the gitconfig itself. 

Cheers,
Daniel

TAGS
AUG Leaders

Atlassian Community Events