Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbucket repository started returning "remote: Too many invalid password attempts. Try logging in through the website." (403) since yesterday

Since yesterday, bitbucket repository started returning this on any request:

remote: Too many invalid password attempts. Try logging in through the website.   fatal: unable to access 'https://[email protected]/xxxxxxxxxx/xxxxxxxxxxx.git/': The requested URL returned error: 403 

This happens on both the server (trying to git pull) and client (SourceTree on mac).

The user employed on both sides is the same, I can login to bitbucket and see no problems. Both SourceTree and git on the server use different "App Password" generated in bitbucket. I am the only person using this account daily.

I created a new App Password and tried with it just to get the same error.

What can I do to solve the case?

Update #1: Generating a new App Password does not work for both server and client. Re-adding a SourceTree account with Basic authentication does not help too. Bitbucket even does not allow to come to authentication, as it seems - the new App Passwords "Last Access" snows nothing.

Update #2: The accepted answer is indeed a solution. This is quite strange, but resetting the password of the main bitbucket user account works. But the sequence is as follows: reset bitbucket user password; create a new app password for both server and client (SourceTree); for mac, remove the record for bitbucket in KeyChain Access; only try to pull or push from SourceTree after removing the record or the account is locked immediately!

like image 555
sunsetjunks Avatar asked Mar 26 '17 11:03

sunsetjunks


People also ask

How do I fix an authentication problem in bitbucket?

Windows start up menu,Search for windows credential manager. Search for bitbucket url, Try updating password there.. and do git operation again. It should work.

How can I see my password in bitbucket?

Choose Bitbucket settings (now Personal settings) Under Access management section look for the App passwords option (https://bitbucket.org/account/settings/app-passwords/) Create an app password with permissions at least to Read under Repositories section. A password will be generated for you.


2 Answers

The reason for getting the above error is due to Atlassion account lock & not related with App passwords.

So I have reset my Atlassian account(as per Atlassian's servicedesk suggession ) using below url

https://id.atlassian.com/

So now git fetch is working fine.

If you forgot your current password you can reset password by below url

https://id.atlassian.com/login/resetpassword

Hope this help :)

like image 99
Karthikeyan Avatar answered Oct 19 '22 23:10

Karthikeyan


Atlassian have just released a fix:

Hi there,

We just deployed the fix for the root issue causing this bug. If you could please retry your actions, and let us know if you run in to any further issues.

We recommend that, you log out of Bitbucket Cloud and login once again. Then please retry again.

We apologize for any delays, or outages this issue may have caused you, and your teams. Please feel free to let us know if you have any questions.

Thank you, Pravin

Update 2017-03-30:

Hi Everyone,

For the past few days some users may have experienced 503 or 403 errors related to authentication issues when using Git and Mercurial over HTTPS on Bitbucket Cloud.

We have just deployed a fix to the platform for this issue. If you could please navigate to "id.atlassian.com" in your browser, and make sure you log out of any active sessions.

If you could then attempt to login to id.atlassian.com with your email, and password - please make sure to NOT use the Google login form, and instead use the basic email/password fields. You may be asked to go through a captcha screen, or even reset your password if necessary.

Once you get logged in properly to id.atlassian.com, if you could please try your GIT/Mercurial operations again, and let us know if you are able to successfully authenticate.

Please let us know if you encounter any issues, or have any questions.

We would again like to thank you for your patience, and apologize for any downtime these issues may have caused you or your team.

Thank you, The Bitbucket Cloud Team

like image 44
yoitsro Avatar answered Oct 20 '22 00:10

yoitsro