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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,191
Community Members
 
Community Events
176
Community Groups

How to solve Authentication and Pull Request Problem

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 Jun 08, 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

Atlassian Community Events