Open GoogleCodeExporter opened 8 years ago
Can you give us the debugging output for the request?
Original comment by ben.maurer
on 24 Mar 2010 at 1:15
[deleted comment]
[deleted comment]
[deleted comment]
Sorry but it doesn't generate logs. But i have narrowed down the problem to the
$answers response from the server. It appears that the array values for
$answers[0]
and $answers[1] are both null which triggers the $recaptcha_response->is_valid =
false; else statement on line 188 of recaptchalib.php.
Original comment by gh.le.r...@gmail.com
on 24 Mar 2010 at 1:36
Hi,
Are you sending a Host header? It would really help us if we could see the full
HTTP
request that you are making.
Original comment by ben.maurer
on 24 Mar 2010 at 6:24
Here is the request that I'm making. This is generated using my debugging
software
hence the localhost IP address but i am experiencing this problem on my live
server
too.
("POST /verify HTTP/1.0\r\nHost: 209.85.227.104\r\nContent-Type:
application/x-www-form-urlencoded;\r\nContent-Length: 387\r\nUser-Agent:
reCAPTCHA/PHP\r\n\r\nprivatekey=6LckCAwAAAAAAFxXaTkbxtMz4-3VIO9aKbS9-wa7&remotei
p=127.0.0.1&challenge=02O4pPia6HeHDw2_wfUmt1Sg_pNq7zSyOd8aU0ZOxvCCIyinb9AhymTJcV
7jOVhYN64fPDvoEEWoEFcIvy9xDrhx-l6DHWPCpB8-KIvi8lPNGk_IIlI8SKQV-mIBouNgX4PiJLvLUU
kHpIFmdqB6hfScg7RM2EC5TyfSCWuFhwWT1XMihvKdUZg6FiIO5hMm8_wH_ZX1hxvulQF198VtUNzla_
30nNNctC6AKnOUodheNP3qMO--KN9zy9By9A66_H1oOIPpq23T5h9jBi0K-FduATMeoB&response=an
d+merrit")
Original comment by gh.le.r...@gmail.com
on 27 Mar 2010 at 9:28
Thanks. The issue is that you aren't sending a Host header of
api-verify.recaptcha.net.
The latest version of the PHP plugin shouldn't be doing this, did you make
custom
modifications?
Original comment by ben.maurer
on 27 Mar 2010 at 6:05
I must have been without realizing it. I have just replaced my recaptchalib.php
with
a new copy and everything seems to be working again. Thank you for your help and
patience.
Original comment by gh.le.r...@gmail.com
on 28 Mar 2010 at 7:31
hmm interesting
but http://buydigicamera.com and http://swatchesmen.com sites worked!
Original comment by wordpresspremiumus@gmail.com
on 16 Sep 2010 at 12:42
[deleted comment]
I'm getting the same issue on ASP.Net using the latest recaptcha plugin
Original comment by siddhartha.veedaluru@gmail.com
on 20 Dec 2011 at 2:43
Original issue reported on code.google.com by
gh.le.r...@gmail.com
on 24 Mar 2010 at 10:16