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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,321
Community Members
 
Community Events
185
Community Groups

Prompted for login again and again...

Edited

I successfully added my Bitbucket account in SourceTree. It correctly shows my repository in the "remote" tab, but when I try to clone it I am prompted again and again for username and password and it is never actually cloned.

screenshot.jpg

What can I do?

Btw: it all works fine when using git from the commmandline.

7 answers

1 accepted

4 votes
Answer accepted

Do yourself a favor and ditch Altassian.

Altassian , Sourcetree , and Github are a f***ing joke . I only use them because my work uses it .

Lots of inconsistency with the way their passwords work. Seems credentials are stored on different databases there and not in synch with each other. 

The best answer to this problem I've found so far is simple: don't use sourcetree.

In SourceTree, I went to Tools > Options > Git > Git Version and clicked on Update Embedded. After that, worked fine.

Did it for me!  I also had to switch to use embedded git, as a while back another issue happened that I could only fix by using system git.

Seems like they really drop the ball on this authentication stuff.  periodically have similar issues, but fix changes each time.  Would be helpful if they at least gave a useful error message.

Here is some more information. When I fetch from the repository in source tree, I am prompted for the password, but it never accepts it. Here is the log:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://aktionariat@bitbucket.org/aktionariat/aktionariat.git/'

Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://aktionariat@bitbucket.org/aktionariat/aktionariat.git/'

Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://aktionariat@bitbucket.org/aktionariat/aktionariat.git/'

Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://aktionariat@bitbucket.org/aktionariat/aktionariat.git/'

Completed with errors, see above.

When I do the same from the commandline by entering "git fetch", I am first prompted to enter my password through a "Bitbucket login" window, which always fails. Then I am prompted for the password directly on the commandline, where it always works.

It would be great if anyone could help. Setting up ssh keys did not seem to help either.

Update your git to the latest version

Found the problem in https://stackoverflow.com/questions/64962533/logon-failed-use-ctrlc-to-cancel-basic-credential-prompt , just update git => (C:\> git update-git-for-windows). 

I have the same problem. 
The only difference is that my repository is on GitHub,

Such a shame that community still do not provide answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events