Problem with Google Recaptcha
-
Seems there’s may be a file_get_contents in the Google Recaptcha code that’s causing it to fail on my hosting. I’ve run into this before and resolve it by putting in a CURL rather than using the file_get_contents call. The symptom is that Recaptcha is unable to connect when trying to verify the Captcha. It doesn’t error out, rather it fails silently and presents the registration page again.
Here are the error entries in the hosting logs:
2019-05-15 23:57:37 Warning 50.39.126.19 1583#0: *27822 FastCGI sent in stderr: "PHP message: PHP Warning: file_get_contents(): SSL: Handshake timed out in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68PHP message: PHP Warni" while reading upstream nginx error 2019-05-15 23:57:37 Warning 50.39.126.19 1583#0: *27822 FastCGI sent in stderr: "ng: file_get_contents(): Failed to enable crypto in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68PHP message: PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: operation failed in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68PHP message: PHP Warning: file_get_contents(): SSL: Handshake timed out in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68PHP message: PHP Warning: file_get_contents(): Failed to enable crypto in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68PHP message: PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: operation failed in /var/www/vhosts/juicedflavors.com/staging.juicedflavors.com/wp-content/plugins/affiliates-manager-google-recaptcha-integration/lib/ReCaptcha/RequestMethod/Post.php on line 68" while reading upstream
And here’s a link to a discussion about this issue:
https://stackoverflow.com/questions/14078182/openssl-file-get-contents-failed-to-enable-crypto
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problem with Google Recaptcha’ is closed to new replies.