Attempting to pull from my Stash project, using the following commands:
$ git remote add origin https://[email protected]/scm/~username/project.git $ git pull origin develop
I'm prompted for my password, which I enter and then get the following error:
Your Stash account has been marked as requiring a CAPTCHA to be solved before you may login again. This is typically caused by too many attempts to login with an incorrect password. The required CAPTCHA prevents your SCM client from accessing Stash until it is solved, even if you enter your password correctly. If you are currently logged in to Stash via a browser you may need to logout and then log back in in order to clear the CAPTCHA.
Logging out and back in again does not help. How do I fix this?
Go to the bitbucket server/account and log out. Log in and solve captcha. In sourcetree go to the menu Tools/Options and choose 'Authentication' Select your account - there could be several and then enter you password.
Your Bitbucket account has been locked. To unlock it and log in again you must solve a CAPTCHA. This is typically caused by too many attempts to login with an incorrect password.
Bitbucket Server (formerly known as Stash) is a combination Git server and web interface product written in Java and built with Apache Maven. It allows users to do basic Git operations (such as reviewing or merging code, similar to GitHub) while controlling read and write access to the code.
You might have a session to BitBucket open in a browser, that gives the impression that everything is fine. Simply logout and in again, when logging in you need to solve a CAPTCHA, after that you are good to go.
Another common issue with captcha warning seems to relate with password changes. Once your password is changed in the system you are authenticated with, both sourcetree and eclipse plug-in might have password conflict with the already logged in session on bitbucket, causing CAPTCHA authentication to activate.
Solution: Enter to your bitbucket session, logout and login again. If issue persist, then you might want to check the URL, since captcha activation would direct you to another direction and your user account with malfunctioning URL will raise authentication failures again and again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With