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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this was the answer, thanks Muhammad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.