Topic on Extension talk:ConfirmEdit

Internal Error: recaptcha-api

8
TheNaJo (talkcontribs)

Get this error message when someone tries to create an account: "CAPTCHA verification failed due to internal error: recaptcha-api"

The keys I have are valid. The site key is correct (because when I modify it, the captcha doesn't work, just says "invalid site key"). I have gone over the secret key multiple times. I even created a second set of keys.

MarkAHershberger (talkcontribs)

From your Special:Version, what version of ConfirmEdit are you using? What version of MediaWiki?

TheNaJo (talkcontribs)

1.31.0 and 1.5.1

MarkAHershberger (talkcontribs)

What is the configuration in your LocalSettings.php to enable recaptcha?

TheNaJo (talkcontribs)
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
$wgCaptchaClass = 'ReCaptchaNoCaptcha';
$wgReCaptchaSiteKey = 'your public/site key here';
$wgReCaptchaSecretKey = 'your private key here';
Gboyers (talkcontribs)

I had the same issue. Are you using ReCaptcha v3 or v2 keys? I think this extension only supports v2 at the moment.

TheNaJo (talkcontribs)

v2. I haven't resolved the error, so I've reverted to QuestyCaptcha

Gboyers (talkcontribs)

I solved this because I was using $wgReCaptchaPrivateKey not $wgReCaptchaSecretKey - maybe double-check that

Reply to "Internal Error: recaptcha-api"