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

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

Taylor Lindenbaum March 17, 2022

I upgraded my Sourcetree version and followed the instructions and I still receive an error when trying to clone one of my remote connected repositories.

Error: "This is not a valid source path/URL.

 

Does anyone know how to resolve?

Followed these instructions several times without success:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://tlindenbaum@bitbucket.org/osfteam/sfdc_dev_active_inbound_to_qa.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/osfteam/sfdc_dev_active_inbound_to_qa.git/'

 

1 answer

0 votes
honestdan March 24, 2022

I believe this is because you're remote is HTTPS, but that is no longer supported. You need to use SSH (I believe) instead. Once you've generated a token, added it to your bit bucket account, and added it to Putty, you'll also want to make sure you've updated your account in Source Tree to be SSH instead of HTTPS, and ensure you are using the SSH url to clone (it won't start with https://).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events