Server verification doesn't work

mr.andrey - December 23, 2008 - 19:04
Project:reCAPTCHA
Version:5.x-2.5
Component:General
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

In recaptcha.module, there's this code:

        // Check if reCAPTCHA is available and show Math if not
        $connect = @fsockopen(RECAPTCHA_VERIFY_SERVER, 80);
        if (!$connect) {
          return captcha_captcha('generate', 'Math', $args);
        }

RECAPTCHA_VERIFY_SERVER is "api-verify.recaptcha.net".

I have recaptcha enabled on user registration page, and since the recaptcha server is down right now, it just hangs there, waiting for captcha, but not replacing it with a math captcha like it's supposed to (I have math enabled). Going to api-verify.recaptcha.net or admin.recaptcha.net times out.

Any ideas?

Best,
Andrey.

#1

mr.andrey - December 23, 2008 - 19:06

And by the way, users can't register because even if they wait 1+minute for recaptcha to time out, the verification always returns false.

 
 

Drupal is a registered trademark of Dries Buytaert.