1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 I am getting ReCAPTCHA errors?

Discussion in 'Troubleshooting and Problems' started by Muhtefi, Sep 19, 2014.

  1. Muhtefi

    Muhtefi Member

    I got these errors on my admin panel. I dont know what this means. Can anyone help?
    1. ReCAPTCHA connection error: Unable to Connect to tcp://api-verify.recaptcha.net:80. Error #0: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolutionToday at 12:25 PM - library/Zend/Http/Client/Adapter/Socket.php:235
    2. Unable to Connect to tcp://www.gravatar.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolutionToday at 12:25 PM - library/Zend/Http/Client/Adapter/Socket.php:235

    I manually approved the membership of one of our staffs. is this the reason?

    thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If it's a temporary or intermittent error then it's due to the recaptcha service being down.

    If it's a permanent error then it could be due to server configuration issues.
     
  3. Muhtefi

    Muhtefi Member

    I manually approved the membership of one of our staffs and assigned him a moderator role
    is this the reason?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    No, that is unrelated.

    It is most likely due to a temporary failure of the recaptcha server.
     
  5. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    Yes, this happened to me when while I used the socket adapter... when I changed to cURL, everything worked fine (but requires manual edit to library file).

    So yes, this maybe an issue with the server configuration.
     
  6. Muhtefi

    Muhtefi Member

    thanks,
    can anyone tell me how to manually edit the file?

    and just a sidenote,
    my staff did not get a verification email when he signed up.
     
  7. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    Open the file /library/Zend/Service/Abstract.php
    And add this line after line no 65:
    PHP:
    self::$_httpClient->setAdapter(new Zend_Http_Client_Adapter_Curl());
    and will look like this:
    PHP:
      if (!self::$_httpClient instanceof Zend_Http_Client) {
      
    self::$_httpClient = new Zend_Http_Client();
      
    self::$_httpClient->setAdapter(new Zend_Http_Client_Adapter_Curl());
      }
    If this doesn't fix the issue, then its an issue with the network...
     

Share This Page