So every time I try to push or pull, the action fails and I get the following prompt:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
fatal: remote error: CAPTCHA required
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. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.
Visit Bitbucket at https://ssbb.oiigds.com for more details.
I have found I am able to fix it by opening bitbucket in the web browser, logging out, logging back in, and completing the CAPTCHA check. Sometimes this check doesnt appear and I'll have to log out and in multiple times for it to work.
If I just had to do this once it wouldn't be a problem, but its required every time I push or pull, even immediately after I've gone through the process. This never happened before, and no it happens every time. I've already tried updating SourceTree, and no fixes I've found online have worked.
Any ideas would be much appreciated.
Our apologies for the hassle. A couple suggestions to try:
1. delete and re-add your Bitbucket account from Preferences/Options
2. if you are using SSH, verify the key is loaded by agent (ssh-add -l)
3. alternatively, switch from SSH to HTTPS and see if authentication calms down
Senior Mac Developer, Sourcetree
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events