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

How to solve Authentication and Pull Request Problem

rishvanthi
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 6, 2022

I am using SourceTree Version 3.4.7,created an Apppassword from the Bitbucket account linked.When Tried to Authenticate using Tools->Option->Authentication

 1.When oAuth is selected as Authentication type,the application is not responding and after a while showing Authentication Failed Message "Unable to get secret.Error reading JObject from JsonReader.Path'',line 0,position 0"

2. When Basic is selected as Authentication type,Given the account name and the apppasword generated from BitBucket,Authentication is Success.But when pull action is performed in any repository the popup is asking for password for 3-4 times and displaying error message

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin
fatal: TaskCanceledException encountered.
A task was canceled.

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/eltizam/dbscripts.git/'

 

fatal: TaskCanceledException encountered.
A task was canceled.

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/eltizam/dbscripts.git/'

 

fatal: TaskCanceledException encountered.
A task was canceled.

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/eltizam/dbscripts.git/'

   

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 8, 2022

G'day Rishvanthi!

The reason you are receiving the App Password error message is because it is prompting you for basic auth credentials due to the way that your git remote URL is configured.

We have a blog post however which explains the steps to troubleshoot this issue specifically in SourceTree, please follow these accordingly and this should resolve the issue:

Please let me know how this goes.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events