Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,560
Community Members
 
Community Events
165
Community Groups

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,049 views 127 27
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