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

XF 1.2 Read timed out after seconds [ERROR]

#1
I believe this is in relation to StopForumSpam or one of the spam management systems with XenForo.

Server Error Log
Error Info
Zend_Http_Client_Adapter_Exception: Read timed out after 10 seconds - library/Zend/Http/Client/Adapter/Socket.php:512
Generated By: Unknown Account, 23 minutes ago
Stack Trace
#0 /data/www/forum.gamebreakernation.com/library/Zend/Http/Client/Adapter/Socket.php(330): Zend_Http_Client_Adapter_Socket->_checkSocketReadTimeout()
#1 /data/www/forum.gamebreakernation.com/library/Zend/Http/Client.php(989): Zend_Http_Client_Adapter_Socket->read()
#2 /data/www/forum.gamebreakernation.com/library/Zend/Service/ReCaptcha.php(487): Zend_Http_Client->request('POST')
#3 /data/www/forum.gamebreakernation.com/library/Zend/Service/ReCaptcha.php(502): Zend_Service_ReCaptcha->_post('03AHJ_VuuTSwvkk...', 'rracAg should')
#4 /data/www/forum.gamebreakernation.com/library/XenForo/Captcha/ReCaptcha.php(53): Zend_Service_ReCaptcha->verify('03AHJ_VuuTSwvkk...', 'rracAg should')
#5 /data/www/forum.gamebreakernation.com/library/XenForo/Captcha/Abstract.php(129): XenForo_Captcha_ReCaptcha->isValid(Array)
#6 /data/www/forum.gamebreakernation.com/library/XenForo/ControllerPublic/Register.php(200): XenForo_Captcha_Abstract::validateDefault(Object(XenForo_Input))
#7 /data/www/forum.gamebreakernation.com/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Register->actionRegister()
#8 /data/www/forum.gamebreakernation.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /data/www/forum.gamebreakernation.com/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(54) "http://forum.cubenation.tv/index.php?register/register"
["_GET"] => array(1) {
["register/register"] => string(0) ""
}
["_POST"] => array(17) {
["username"] => string(13) "ideafeAdvamma"
["email"] => string(21) "tablem.anners@mail.ru"
["password"] => string(8) "********"
["password_confirm"] => string(8) "********"
["dob_month"] => string(1) "2"
["dob_day"] => string(1) "8"
["dob_year"] => string(4) "1982"
["gender"] => string(4) "male"
["custom_fields"] => array(4) {
["guild"] => string(15) "Scars of Battle"
["server"] => string(6) "coeurl"
["character"] => string(7) "Darvius"
["freecompany"] => string(6) "google"
}
["custom_fields_shown"] => array(4) {
[0] => string(5) "guild"
[1] => string(6) "server"
[2] => string(9) "character"
[3] => string(11) "freecompany"
}
["timezone"] => string(16) "America/Asuncion"
["recaptcha_response_field"] => string(13) "rracAg should"
["recaptcha_challenge_field"] => string(185) "03AHJ_VuuTSwvkkXabqCbucFvH7JlcHxOLGQAP3FzhSC5tHbxexVlxa-FKL-fNheUKLaeQkKEsJG-ucSfK_8TUsnAT4AmXSZDkrt0bVhu4K4WgJilOPDvU2GKAQKmAb2xNrbdBJfBxT86zYLAmsp4RoOvduycgwoHgRkG4W4RSG6BNjXGFq-W6piU"
["agree"] => string(1) "1"
["submit"] => string(7) "Sign Up"
["_xfToken"] => string(8) "********"
["reg_key"] => string(32) "283b1a47ff4bcb92439f24a40720658a"
}
}

Whenever this happens spam has been stopped and placed into the moderation queue. So it looks like the attempted account registration did get stopped, but I am unsure why the error is appearing.
 

Mike

XenForo developer
Staff member
#2
This is telling you that the connection to ReCAPTCHA failed. It's simply informational. In this event, the CAPTCHA check always passes.

If it's happening consistently/frequently, then it could either be that ReCAPTCHA is down or your server is blocking outgoing connections. In that case, you may want to flip to an alternative CAPTCHA approach.