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,359,850
Community Members
 
Community Events
168
Community Groups

remote: Too many invalid password attempts. Log in at https://id.atlassian.com/ to restore access.

Edited

I have seen other answers related to this but nothing has worked out for me.

I am using git command line on Linux and Mac OS, and whenever I try to push or pull changes, I get this error:

remote: Too many invalid password attempts. Log in at https://id.atlassian.com/ to restore access.

When I logout and login again to BitBucket, this issue gets resolved, for a while, and I can perform git remote operations.

Is this because somewhere(probably a CI/CD pipeline) I had provided my password in the past and it is still prompting with the same password so BitBucket blocks my account on repeated attempts? If so, is there a way to know where this request originates from?

 

5 answers

2 accepted

4 votes
Answer accepted

Hello Syed,

This issue does seem to be rather frustrating, especially when you’re needing to get work done and you have to step through the lockout process to complete your work. What I would suggest is to your review your session logs within Bitbucket cloud to see where logins are coming from.

If you wish to check your current account's active session, you can navigate to Avatar(bottom left) > Bitbucket Settings > Sessions

Source documentation: How to clear Bitbucket Cloud account's active session?

This will show where all of your logins are coming from. This should help in locating where your lockouts are coming from.

I hope this proves helpful and you’re able to find the cause of your account lockouts.

Regards,
Stephen Sifers

Hi Stephen,

Thanks for the instructions, Sessions do give an idea about where the requests are coming from and can help in narrowing the problem down using the OS version and IP address.

Like # people like this

WORKAROUND: Currently the workaround I have done is to use SSH keys, which doesn't prompt me for the Bitbucket password so I dont have to logout & login to do remote operations.

The Sessions do help to investigate but it is my fault that I don't remember which servers I had provided my password on and also, I don't think I will be able to access those servers now anymore.

Like # people like this

I found this solution almost working. I was using Azure DevOps and I was getting that same error.

I created an App Password which clears the problem.

Like # people like this
2 votes
Answer accepted

For Source Tree:

Go to menu item
   1. Tools -> Options
   2. A options popup will appear, go to [Authentication] tab.
   3. Click on the account that raising issue and [Delete]
   4. Add again with new password

this was the answer, thanks Muhammad

This solution also doesn't work for me.  I have tried to set my account to use OAuth authentication, Basic Authentication, and Basic Authentication with App Passwords, Source Tree still refuses to accept my credentials.  Source Tree is now essentially useless to me. 

Does not help for me. I have tried logging out and back into bit bucket and sourcetree

Still getting "This is not a valid source path /url" and error box "Error: Remote: Too many invalid password attempts..."

I was working fine most of the day creating repos in bitbucket and cloning to local drive then I got these same errors and a huge list of local repos with error "repository moved or deleted"

I signedup to bitbucked using gmail  account. I downloaded sourcetree and it got authorized and what ever. But when i try to clone code, it keeps giving me "too many attempts ..." error. I tried various things like (1) clearing passwords from windows credential manager, (2) reinstall source tree, logout and login back to bitbucket a dozen times in same browser, incognito, new browser etc. (3) Removed sourcetree from the authorized apps and go it re-authorized

As of this moment after 2 days no progress.

Try using the App Passwords.  Log into Bitbucket, click on your profile icon at the bottom-left corner, select "Personal Settings".  Once your settings page show up, select "App Passwords" under the "Access Management" menu.

App-Password.jpg

Create a password for each instance of Source Tree.  Once completed, go back to Source Tree.  Access Tools > Options > Authentication > Accounts.

Select your account, edit it, reenter your credential by use "Basic" authentication.  Once prompted, enter the password you just created via App Passwords on the web.

Authenticate.jpg

I don't know why OAuth and my Atlassian accounts both fail with the latest version of Source Tree.  The only way I have been able to get it to work is by using the method described above.

Sometimes it still failed, I had to perform a clean uninstall and reinstall Source Tree.  I think it has something to do with the credential helper, but I wasn't willing to try which combination of configuration works.

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...

3,450 views 3 10
Read article

Atlassian Community Events