I upgraded to 6.x-1.7 a few days ago and users have started reporting that they are seeing this error on an otherwise blank page intermittently after submitting a form with recaptcha on it:

"For security reasons, you must pass the remote ip to reCAPTCHA"

I saw this which looks related but the fix should already be in the module:
#764796: $_SERVER['REMOTE_ADDR'] incorrectly used when performing validation

CommentFileSizeAuthor
#3 recaptcha-domains-6.x-1.7.patch573 bytessebas5384
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.j’s picture

Note comment #1 in the linked issue which was not implemented:
http://drupal.org/node/764796#comment-2818538

daroz’s picture

Confirming this issue. Seems to affect unauthenticated users mostly.

Reverted patch from #764796: $_SERVER['REMOTE_ADDR'] incorrectly used when performing validation restored normal operation.

sebas5384’s picture

The reCaptcha isn't validating because it seems to need the remote ip adress from where the submission was made.

So with this patch that was resolve.

Cheers!

tpainton’s picture

I'm getting the same error with authenticated user.

Applied patch and the problem appears to be solved.

mr.j’s picture

Status: Active » Reviewed & tested by the community

Patch seems to work for me too.

RobLoach’s picture

Status: Reviewed & tested by the community » Fixed

Thanks a lot for the help on this!!!

Drupal 6: http://drupalcode.org/project/recaptcha.git/commit/1d24fcc
Drupal 7: http://drupalcode.org/project/recaptcha.git/commit/a9b010c

Think a version 1.8 is in order?

mr.j’s picture

I think so. It can lead to users thinking our website is broken and prevent comments, registrations etc.

colan’s picture

+1 for a 1.8!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

geekgirlweb’s picture

Status: Closed (fixed) » Patch (to be ported)

Patch still needs to be added.

Liam Morland’s picture

Status: Patch (to be ported) » Closed (fixed)

The patch has been committed and will appear in the next release.