Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree keeps asking me to for login to Atlassian.

I have been using Sourcetree, Git & Bitbucket for years. Lately, when I try to push a change, Sourcetree displays a popup 'Atlassian - Login to your account' It correctly displays my username and I enter my password. The popup disappears, then reappears a few seconds later. I am using the latest version on Sourcetree (2.6.10.0) and an embedded version of Git (just updated to 2.17.1) but same error occurs with non-embedded Git. I have reset Atlassian password and I can access Bitbucket using my password, the same password which fails in Sourcetree! If the push proceeds, I get the error below. Any help greatly appreciated. Many thanks Rob.

Push error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Rob/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" push -v --tags zzz develop:develop
fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for 'https://xxx@bitbucket.org/xxx/zzz.git/'
Pushing to https://xxx@bitbucket.org/xxx/zzz.git


Completed with errors, see above.

1 answer

1 accepted

0 votes
Answer accepted

I worked out a solution. My login worked with BitBucket, so it was OK. The same BitBucket login worked with a Push using GIT GUI,  so I uninstalled SourceTree rebooted the PC then re-installed SourceTree. It is now happy. Frustrating, but I know what to do next time this happens.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,428 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you