Closed sahilsharma011 closed 8 years ago
I have a similar situation, I have to enter more that 4 times the captach to finaly and "magically" be able to login.
any solution for this ? I'm facing the same issue
Hmm.. I'd need a bit more information about the situation. Can you tell if the request is going out to Recaptcha and coming back invalid, or is it failing earlier? Are your keys correct? How can I reproduce this issue?
apparently the problem is the recaptcha validation rule. In the front everything works just fine, but when I submit the form, the "recaptcha" validation throws the same error over and over
After doing some research on this problem I have been able to verify that the root cause is a timeout condition when calling the verification site using curl. To solve it I have changed the default time out value from 1 to 2 seconds on the config/recaptcha.php file, and now it is working fine. Will continue monitoring this issue for a couple of days to confirm that this is the solution.
I can confirm the timeout issue. Have lost couple of hours trying to cope with this. Big thanks !
Since my last comment, recaptcha has been working without problems, so the problem was the timeout and is solved increasing it to 2 seconds. From my perspective tha problem is solved.
Indeed but I think more informative error about the timeout is crucial here.
faced the similar situation. it was working properly and today while i was building a new form it did not work there. then i checked the previous forms and none of these were working at all. form frontend shows that recaptcha is validated, but server response shows that i am not a human!
Same here. It works good in my local env but doesn't work in production.
I think CURL can cause that.
Try upping the curl timeout? On 24 Sep 2015 8:38 pm, "Talha Zekeriya Durmuş" notifications@github.com wrote:
I think CURL can cause that.
— Reply to this email directly or view it on GitHub https://github.com/greggilbert/recaptcha/issues/84#issuecomment-142887727 .
Changing driver to native from CURL is works.
Also I don't know how but just solved it for CURL.
When I tried to work with CURL it wanted me to add something in php.ini after that It worked.
Okay, so it's a curl and/or timeout issue. Closing.
I have followed each and every step as it was suggested in the docs, I typed in the correct keys in correct places and in the starting days it was working fine. But after some days it is not validating the user and it is saying that user is not a human.