ajoo Posted October 26, 2018 Share Posted October 26, 2018 Hi all ! The google reCaptcha was working great till recently. Now it has started to give the following error. Quote Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: Connection timed out in /home/vagrant/eb_aws/devcloud/lib/recaptcha/ReCaptcha/RequestMethod/Post.php on line 68 and this happens to be line 68 Quote return file_get_contents(self::SITE_VERIFY_URL, false, $context); Please help ! Thanks all ! Quote Link to comment https://forums.phpfreaks.com/topic/307816-google-recaptcha-headache/ Share on other sites More sharing options...
ajoo Posted October 26, 2018 Author Share Posted October 26, 2018 I just tested http://josiahbertoli.com This is supposed to be a demo of the reCaptcha. Interestingly this is failing too !!!??? On form submittioin, it says "failure" !! Now I wonder if this is supposed to do just that but i seriously doubt it. Could this be like related ? I mean both seem to be failing. Hope this is some help to anyone wanting to help me out !!? Thanks loads ! Quote Link to comment https://forums.phpfreaks.com/topic/307816-google-recaptcha-headache/#findComment-1561741 Share on other sites More sharing options...
ajoo Posted October 27, 2018 Author Share Posted October 27, 2018 (edited) Hi all ! Ok so now it has started to work again. I have tested my code like 6 times and it works everytime. I made zilch change to my code. Can anyone shed light on this strange phenomenon !! Thanks all ! Edited October 27, 2018 by ajoo Quote Link to comment https://forums.phpfreaks.com/topic/307816-google-recaptcha-headache/#findComment-1561758 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.