Search code examples
gitbitbucketatlassian-sourcetree

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://xxxxxxxxx@bitbucket.org/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!


Solution

  • 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 :)