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

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.

2 answers

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

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.

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

3,569 views 0 11
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