Hi Bitbucket team,
I had to change my password at work as per the password policy. Since that time, virtually every time I try to push to a repo hosted on my company's Bitbucket server, I receive this error:
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
correctly.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.
I then have to log into Bitbucket and solve the CAPTCHA. I can push again within a minute on the same repo and not have to enter the CAPTCHA. If I wait longer than a minute, or if I immediately switch to a different repo and push, I will have to solve the CAPTCHA again.
I can however go to the Bitbucket web page, and repeatedly log out and log in without having to solve any CAPTCHA. Its always happens after attempting to push to a repo.
I've already made sure to change my git's password with
git config --global credential.helper wincred
And I can confirm that it is using the correct password with
git credential fill
protocol=https
host=gitscm.mycompany.com
So I don't understand what could be causing this.
I have seen that other people have complained about this issue.
https://answers.atlassian.com/questions/274173
https://answers.atlassian.com/questions/259633
Any ideas on how to fix this?
Best regards,
Matthew
Hay we have same problem appearing for our users here.. any idea how to fix this.
I have same problem, every push/pull I make, I have to valid the captcha. That sucks ! Looks like it appears after changing my previous password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
having same problem, where you able to solve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthew,
Could it be that you have either a script or a build job that is using your old credentials? One thing you could do is have a look (or ask your admin to have a look) at Bitbucket's audit logs to see which IP is triggering the authentication failures for your user. You can find them in BITBUCKET_HOME/log/audit/.
An authentication failure would be logged as follows:
0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | admin | 1474293778897 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @10IA6L8x962x13x0 | - 0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | admin | 1474293800985 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @10IA6L8x963x18x0 | - 0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | admin | 1474293802155 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @10IA6L8x963x22x0 | - 0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | admin | 1474293819180 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @10IA6L8x963x26x0 | -
This is from testing from localhost (hence 0:0:0:0:0:0:0:1) with the user 'admin'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael.
I created two test git repos today, that only I have access to and which I haven't applied and build jobs to, and I still get this message. I believe it must either have something to do with my git configuration that I cannot figure out, or something on bitbucket. I have sent the admins an email with your instructions.
Would you have any guesses on the root cause if we can safely rule out scripts/build jobs and etc. pushing or pulling to these test repos?
Thanks and best regards,
Matthew Moisen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This just happened to me today, did you manage to find a solution?
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.