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,299,390
Community Members
 
Community Events
165
Community Groups

Problem with cloning repository in ubuntu

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

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,239 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you