XF 1.4 I am getting ReCAPTCHA errors?

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
 
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.
 
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.
 
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...
 
Top Bottom