Issue description
We are using ReCaptchaV3 for a few forms on our website. We have implemented it using google's documentation.
Every 2 weeks or so the grecaptcha.execute() function returns an empty token (and this happens for a few days), rendering the captcha entirely useless.
Environment
Server is Centos7 running CPanel and PHP5.6
Web server is HTTPD/Apache.
recaptcha is the latest version.
Browser is the lastest version of Chrome.
Here is the relevant code on the frontend:
Here is the relevant code on the backend:
Here is the error log:
In the backend you can see that I have an "else" for error-codes. Most of the time the code inside that else is commented out, when we stop receiving quotes I uncomment that.
User steps
Wait for Google Recaptcha to crap out (every two weeks or so)
Submit a quote request
Don't know what's happening, could really use a hand debugging it.
With all the tests I have done I am pretty certain the problem comes from grecaptcha.execute().
It works most of the time, just craps out on a regular interval like if Google was getting DDOSed.
Issue description We are using ReCaptchaV3 for a few forms on our website. We have implemented it using google's documentation. Every 2 weeks or so the
grecaptcha.execute()
function returns an empty token (and this happens for a few days), rendering the captcha entirely useless.Environment Server is Centos7 running CPanel and PHP5.6 Web server is HTTPD/Apache. recaptcha is the latest version. Browser is the lastest version of Chrome.
Reproducing the issue Here is a page where this issue happens: https://www.savonaequipment.com/en/knelson-cd12-centrifugal-gold-concentrator-p883332 On the right side you can see a "mini form" to get a quote. That form can be used to reproduce the issue.
Here is the relevant code on the frontend: Here is the relevant code on the backend: Here is the error log:
In the backend you can see that I have an "else" for error-codes. Most of the time the code inside that else is commented out, when we stop receiving quotes I uncomment that.
User steps
Don't know what's happening, could really use a hand debugging it. With all the tests I have done I am pretty certain the problem comes from
grecaptcha.execute()
. It works most of the time, just craps out on a regular interval like if Google was getting DDOSed.