fatal: remote error: CAPTCHA required

bitbucket 密码有更新,本地windows开发工具和jenkins都报错:

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
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.
Visit Bitbucket at http://bitbucket-pv.saicmotor.com for more details.

处理步骤如下:

1.清除windows本地开发凭据,重新登录;

       结果:嗯?还是有错?难道是jenkins凭据问题?

2.更换 jenkins系统凭据 

       结果:嗯?还是报错,重新登录bitbucket上看一下(注意不要从JIRA跳转到bitbucket

3.关闭所有浏览器,输入bitbucket地址,输入用户名弹出了验证码,也就是:CAPCHA,输入正确验证码登录一下;

开发本地和jenkins报错取消了!

想了想:bitbucket这样做是防止通过第三方工具简单循环破译密码,所以密码错误锁定后一定要去bitbucket 输入验证码及正确的密码能继续,合情合理。

原文地址:https://www.cnblogs.com/c--k/p/13162712.html