marked as requiring a CAPTCH error

When using source tree I keep getting this error a few times a day. After I logout of Stash and log backin with a captha it starts working but I'm getting very tired of doing this mulitle times a day. Any fix would be awesome.

I should add I'm using OS X 10.8.5.

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 
fatal: remote error: CAPTCHA required
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.

Visit Stash at http://git.dev.dice.com for more details.
Completed with errors, see above

1 answer

This widget could not be displayed.

Hi Jared,

Could it be that you've changed your credentials and that something (perhaps a Bamboo/Jenkins/.. build?) is still using your old credentials? If you need to figure out what IP address the authentication failures are being triggered from, you could have a look at the audit logs in STASH_HOME/log/audit. The atlassian-stash-audit.log file should contain entries like:

0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | - | 1392111196025 | username | {"authentication-method":"form","error":"Invalid username or password."} | 633x670x0 | 1xzqso0

where the first component is the IP (in my case localhost in IPv6) of the calller.

Hope this helps!

Michael

I bet your correct, I started having the problem after I had to update my password. Unfornetly I don't have access to the server that Stash is on so I dont think I can get to the logs. I will have to work with our help desk, thanks.

I am getting the same error on an old version of Stash after having logged in as myself on a coworker's computer. We've cleared the cookies on his browser and closed it, and I've done the same on mine. I can log out and log in to our Stash interface with no problem. I used an invalid password enough times to get a CAPTCHA, but still when I try to use git to pull from Stash I get this error. I had my manager set my number of failed logins before CAPTCHA to 10, and that's the only thing that's "solved" the problem, but is there a definitive way to clear some flag out of the system to keep this error from reappearing if the failed login setting is put back to the default 5? And "upgrade" is not the answer I'm looking for. Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

710 views 1 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you