The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I clone the repository?

Jacint Illes
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 14, 2022

I tried to clone a repository for my Sourcetree application but I got the following error:

"
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://*USER*@bitbucket.org/*COMPANY*/*REPO*.git
Output:
Error: remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/*COMPANY*/*REPO*.git/'
"

I've tried both OAuth and Basic authentication (Sourcetree says "Authentication OK" for both versions), but I keep getting the same error.
My colleagues could clone, we can't find the cause of the error.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
April 14, 2022

Hi @Jacint Illes ,

welcome to the Atlassian community!

Please try to fix your issue as suggested in the following article https://itsmycode.com/solved-remote-bitbucket-cloud-recently-stopped-supporting-account-passwords-for-git-authentication/

Hope this helps,

Fabio

Jacint Illes
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 22, 2022

Thank you, this solved my problem.

Fabio Racobaldo _Catworkx_
Community Champion
April 22, 2022

I'm happy for that @Jacint Illes 

0 votes
Arnav
April 20, 2022

Hi @Fabil Racobaldo

I am new to Sourcetree.

 clone from bitbucket repo in sourcetree  crashed.

Whenever I want to clone a repo in the sourcetree using remote function, the sourcetree just crashed without any error. Which prevent me to clone any repo.

I tried unsinstall and reinstalled the Sourcetree ..Now My problem is I am able to clone only one repo. 
Second repo is crashing..

Appreciate your help in resolving this.

TAGS
AUG Leaders

Atlassian Community Events