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

Prompted for login again and again...

Luzius Meisser February 4, 2020

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

5 votes
Answer accepted
pnisbett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 29, 2020

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. 

5 votes
Luzius Meisser February 23, 2020

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

2 votes
Stumpii
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2021

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

barneygarrood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2021

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.

2 votes
Luzius Meisser February 14, 2020

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.

1 vote
dimas_prasetya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2020

Update your git to the latest version

0 votes
dradkov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2021

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). 

0 votes
milosmih86
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2020

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