Recaptcha Socket Error
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 1 Star 0 Fork 0 queueit/recaptcha Code Issues 164 Pull requests 0 Projects 0
Could Not Open Socket Wordpress
Pulse Graphs New issue recaptchalib.php: Could not open socket (Fix included) #26 could not open socket meaning Open GoogleCodeExporter opened this Issue Aug 11, 2015 · 90 comments Labels auto-migrated Priority-Medium Type-Defect Milestone
What Does Could Not Open Socket Mean
No milestone Assignees No one assigned 1 participant GoogleCodeExporter commented Aug 11, 2015 What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do error could not open socket connection you see instead? The expected action is for the fsockopen (line 80) to connect, and not return false. It is currently returning false because it can't seem to connect to domain names, only IP addresses, on my development server. Obviously this is a problem I need to address as it does it for other things I use fsockopen for. To could not open socket zend mail be fair though the library should accomodate for this, especially as I am not using an obscure setup, it's a typical one if you follow any LAMP guide for Fedora 9 to be honest. I see the error message: Could not open socket. It runs die to produce this error message, so if for whatever reason the RECAPTCHA_VERIFY_SERVER dns does not resolve, the end user doesn't have a clue what has gone wrong, all the form data they have submitted is lost. It should fail gracefully, and allow the form submission to continue without verifying the captcha input. What version of the product are you using? On what operating system? recaptchalib.php (v1.1.0) Currently the latest stable release. Fedora 9 (32bit) Apache 2.2.9/PHP 5.2.6 (installed using yum from official fedora repos) Please provide any additional information below. // To fix the problem, find line 40 in recpatchalib.php and replace: define("RECAPTCHA_VERIFY_SERVER", "api-verify.recaptcha.net"); // With this: define("RECAPTCHA_VERIFY_SERVER", gethostbyname('api-verify.recaptcha.net')); Original issue reported on code.google.com by l...@fgiltd.co.uk on 28 Oct 2008 at 9:04 GoogleCodeExporter commented Aug 11, 2015 Here is my patched vers
» » Error: Could Not Open Socket - Recaptcha Stopped Working Threaded Mode | Linear Mode Error: Could Not Open Socket - Recaptcha Stopped Working 03-29-2013, 02:44 PM (This
Could Not Open Socket Smtp
post was last modified: 03-29-2013 02:44 PM by peppy.) Post: #1 peppy Enthusiast php mail could not open socket Posts: 137 Joined: Jun 2010 Error: Could Not Open Socket - Recaptcha Stopped Working Hello, I'm surprised no one else
Macgdbp Could Not Open Socket
has asked about this yet, but Recaptcha has not worked on any of my websites in well over the last 36 hours, meaning no one can sign up to become a member. As https://github.com/queueit/recaptcha/issues/26 far as I know, this started right around the same time as the emergency maintenance the other day. When people sign up, they get an error: "Could Not Open Socket", which is originating from a PHP fsockopen() function within a library file (line 80) for: http://www.google.com/recaptcha I submitted a support ticket over 24 hours ago. Let me know if there is a solution to this. Thanks 03-29-2013, https://discussion.dreamhost.com/thread-137756.html 04:11 PM Post: #2 DH_Elle S DreamHost Staff Posts: 748 Joined: Aug 2012 RE: Error: Could Not Open Socket - Recaptcha Stopped Working Hi there! I have your ticket and am consulting with a couple techs about this. I'll be sending you an email shortly. Thanks for your patience! 03-29-2013, 09:44 PM Post: #3 peppy Enthusiast Posts: 137 Joined: Jun 2010 RE: Error: Could Not Open Socket - Recaptcha Stopped Working (03-29-2013 04:11 PM)DH_Elle S Wrote: Hi there! I have your ticket and am consulting with a couple techs about this. I'll be sending you an email shortly. Thanks for your patience! Greetings DH_Elle S, Thanks for taking a look at this, I greatly appreciate your help going above and beyond, looking into the actual file and finding out what was wrong. I fixed it up as you suggested and it seems to be working now. I'll let you know if there is anymore trouble with this. Thanks Kind regards 03-29-2013, 09:49 PM Post: #4 DH_Elle S DreamHost Staff Posts: 748 Joined: Aug 2012 RE: Error: Could Not Open Socket - Recaptcha Stopped Working Awesome! I can't take all the credit, but on behalf of our te
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes reCAPTCHAIssues ReCaptcha "Could not open socket" Closed (fixed)Project:reCAPTCHAVersion:7.x-1.12Component:reCAPTCHA CaptchaPriority:CriticalCategory:Support requestAssigned:UnassignedReporter:ReBaCreated:June https://www.drupal.org/node/2506175 15, 2015 - 10:28Updated:July 14, 2016 - 01:24 Log in or register to update this issue Jump to:Most recent comment Hi, The reCaptcha module wasn't working because of an error in the SERVER definition. See http://stackoverflow.com/questions/19055472/recaptcha-could-not-open-socket for a solution. Don't know to make a patch of it, because it's functionality provided by reCaptcha? Kind regards Comments Comment #1 Liam Morland CreditAttribution: could not Liam Morland at University of Waterloo commented June 15, 2015 at 3:26pm Category: Bug report » Support request The following post suggests that the problem is that your host has misconfigured IPv6 support. The post just above suggests using gethostbyname() as a work-around, which is better than hard-coding an IP address. https://groups.google.com/d/msg/recaptcha/kCdFdAyOe60/Hy2NN3rSfOoJ Log in or register to post comments Comment #2 Liam could not open Morland CreditAttribution: Liam Morland at University of Waterloo commented June 29, 2015 at 3:10pm Status: Active » Fixed If you need more help, please re-open and provide details. Log in or register to post comments Comment #3 ReBa CreditAttribution: ReBa commented June 30, 2015 at 9:27am Is it better to do the change manually then (every time)? I was testing locally so what you're saying really makes sense. Log in or register to post comments Comment #4 Liam Morland CreditAttribution: Liam Morland at University of Waterloo commented June 30, 2015 at 2:52pm The best fix is to get IPv6 working properly or disable it altogether. If you can't do that, then apply the change to your local copy of recaptchalib.php. Log in or register to post comments Comment #5 July 14, 2015 at 2:54pm Status: Fixed » Closed (fixed) Automatically closed - issue fixed for 2 weeks with no activity. Log in or register to post comments Comment #6 nicolabeghin CreditAttribution: nicolabeghin as a volunteer commented July 13, 2016 at 8:53pm I think the Stackoverflow fix should be applied to official sources. define("REC