Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to perform git clone on linux

ecamposc
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!
February 7, 2022

When i try to perform a clone of my repo i'm getting this error: 

Error : fatal : unable to access 'https://my_username@bitbucket.org/my_workspace/my_proyect.git' The requested URL returned error : 403

The problem only happens with new users, old users can execute clone,push,pull, etc.

Also this only happens in my centos server, on windows works well.

 

 

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M
Community Champion
February 7, 2022

Hi @ecamposc 

403 --> Unauthorized!!

Create an app password and then use the URL like this to authenticate with the repo

git clone https://my_username:app-password@bitbucket.org/my_workspace/my_proyect.git

Let me know if this works

Thanks,
Pramodh

Robert Wen_Cprime_
Community Champion
February 7, 2022

@Pramodh M is correct.  Bitbucket Cloud has deprecated using your account password for logging in via HTTPS.  Here's the notice: https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity

New users need to create an app password and use the app password for doing git operations.  Here are instructions for doing so: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/?utm_source=alert-email&utm_medium=email&utm_campaign=bitbucket-2sv-recovery_EML-12245&jobid=105410133&subid=1572023706

ecamposc
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!
February 7, 2022

Thank you so much..!!!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events