Problem with cloning repository in ubuntu

Amin September 16, 2021

Hi guys,

I have a problem with cloning my repository in Linux. I've added my user.name and user.mail in global config in git. My git version has been updated to 2.33. I disabled all 2step-verification, etc. in my bitbucket account

It works fine on windows but git directs me to authenticate my account with a third-party app (auth0) which I don't want to do. I just want to use git clone simply through HTTP by entering my username and password without any further authentication. I'd be appreciated if someone can help me. The error is:

Cloning into 'test_project'...
Password for 'https://{my_username}@bitbucket.org':
remote: You'll need to authenticate with a valid app password. You can create an app password from your account at https://bitbucket.org/account/admin/app-passwords
fatal: unable to access 'https://bitbucket.org/testproject/test_project.git/': The requested URL returned error: 403

 

Btw, git clone works fine with my other bitbucket account from work. The problem is only with this account, so I think it could be a bug or some problems with the setting of my account.

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2021

Hi @Amin,

We are deprecating Atlassian account password for Bitbucket API and Git activity:

I am quoting from the blog post:

Starting Sep 13, 2021, new Bitbucket users will not be able to use their personal Atlassian account password when using Basic authentication with the Bitbucket API or Git over HTTPS. They will need to use Bitbucket app passwords.

Bitbucket users who created an Atlassian account before September 13, 2021 will be able to use their Atlassian account password to authenticate with the Bitbucket API or Git until March 1, 2022.

I can see in our system that the Bitbucket account with the same email as your community account was created after 13th September 2021, which is the reason why authentication with a password fails. I assume that your work account was created earlier than this date, which is why you can still use its password for clone/pull/push operations.

You will need to generate an app password for the new Bitbucket account, which you can use for authentication when cloning/pulling/pushing to repos via HTTPS:

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events