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

XF 1.5 Akismet HTTP error: Read timed out after 10 seconds

#1
Hi all,

These days I have faced some problems in connection with Akismet. Those belows are usually met.
PHP:
Error Info
Zend_Http_Client_Adapter_Exception: Akismet HTTP error: Read timed out after 10 seconds - library/Zend/Http/Client/Adapter/Socket.php:512
Generated By: mkcuong, Hôm nay lúc 09:02
Stack Trace
#0 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Http/Client/Adapter/Socket.php(330): Zend_Http_Client_Adapter_Socket->_checkSocketReadTimeout()
#1 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Http/Client.php(989): Zend_Http_Client_Adapter_Socket->read()
#2 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(248): Zend_Http_Client->request()
#3 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(295): Zend_Service_Akismet->_post('bc296ae6d275.re...', '/1.1/comment-ch...', Array)
#4 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(326): Zend_Service_Akismet->_makeApiCall('/1.1/comment-ch...', Array)
#5 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(437): Zend_Service_Akismet->isSpam(Array)
#6 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(404): XenForo_Model_SpamPrevention->_checkAkismet('[B??n]New 3ds 2...', Array, Object(Zend_Controller_Request_Http))
#7 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(390): XenForo_Model_SpamPrevention->_allowMessage('[B??n]New 3ds 2...', Array, Object(Zend_Controller_Request_Http))
#8 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/ControllerPublic/Thread.php(1007): XenForo_Model_SpamPrevention->checkMessageSpam('[B??n]New 3ds 2...', Array, Object(Zend_Controller_Request_Http))
#9 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Thread->actionEditTitle()
#10 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/nintendo/domains/nintendovn.com/public_html/forum/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
  ["url"] => string(56) "http://www.nintendovn.com/forum/threads/49367/edit-title"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["prefix_id"] => string(1) "3"
    ["title"] => string(40) "[Bán]New 3ds 20th Ani.Pokemon, Sky 3DS+"
    ["_xfToken"] => string(8) "********"
    ["_xfConfirm"] => string(1) "1"
  }
}
PHP:
Error Info
Zend_Http_Client_Adapter_Exception: Akismet HTTP error: Unable to Connect to tcp://bc296ae6d275.rest.akismet.com:80. Error #110: Connection timed out - library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: ragnavodoi, Hôm nay lúc 13:12
Stack Trace
#0 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('bc296ae6d275.re...', '80', false)
#1 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(248): Zend_Http_Client->request()
#2 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(295): Zend_Service_Akismet->_post('bc296ae6d275.re...', '/1.1/comment-ch...', Array)
#3 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Service/Akismet.php(326): Zend_Service_Akismet->_makeApiCall('/1.1/comment-ch...', Array)
#4 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(437): Zend_Service_Akismet->isSpam(Array)
#5 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(404): XenForo_Model_SpamPrevention->_checkAkismet('c???n mua ps vi...', Array, Object(Zend_Controller_Request_Http))
#6 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/SpamPrevention.php(390): XenForo_Model_SpamPrevention->_allowMessage('c???n mua ps vi...', Array, Object(Zend_Controller_Request_Http))
#7 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/ControllerPublic/Forum.php(800): XenForo_Model_SpamPrevention->checkMessageSpam('c???n mua ps vi...', Array, Object(Zend_Controller_Request_Http))
#8 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Forum->actionAddThread()
#9 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/nintendo/domains/nintendovn.com/public_html/forum/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(52) "http://www.nintendovn.com/forum/forums/53/add-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(14) {
    ["prefix_id"] => string(1) "0"
    ["title"] => string(28) "cần mua ps vita 1k fw 3.60"
    ["message_html"] => string(403) "<p>như tiêu đề, cần mua psv 1k fw 3.60 có kèm thẻ 8gb, đã hack hoặc chưa hack cũng được, ngoại hình không quan trọng nhưng đùng nát quá là được, quan trọng mà chơi game tốt, pin ngon, màn sáng đẹp và có giá tầm 2tr3 đổ xuống</p><p>ai bán vui lòng liên hệ sdt: 0918787032</p><p>hoặc fb https://www.facebook.com/ragna.thebloodge?fref=ts</p>"
    ["_xfRelativeResolver"] => string(55) "http://www.nintendovn.com/forum/forums/53/create-thread"
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) "a53c59fc5ad9eacfbae58a28214bb3d2"
    ["watch_thread"] => string(1) "1"
    ["watch_thread_email"] => string(1) "1"
    ["watch_thread_state"] => string(1) "1"
    ["poll"] => array(5) {
      ["question"] => string(0) ""
      ["responses"] => array(2) {
        [0] => string(0) ""
        [1] => string(0) ""
      }
      ["max_votes_type"] => string(6) "single"
      ["change_vote"] => string(1) "1"
      ["view_results_unvoted"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(30) "/forum/forums/53/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
PHP:
Zend_Http_Client_Adapter_Exception: Unable to Connect to tcp://www.gravatar.com:80. Error #110: Connection timed out - library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, Hôm nay lúc 07:39
Stack Trace
#0 /home/nintendo/domains/nintendovn.com/public_html/forum/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('www.gravatar.co...', 80, false)
#1 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/Model/Avatar.php(457): Zend_Http_Client->request('HEAD')
#2 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/ControllerPublic/Register.php(374): XenForo_Model_Avatar::gravatarExists('sutieucaisua@gm...')
#3 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Register->actionRegister()
#4 /home/nintendo/domains/nintendovn.com/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home/nintendo/domains/nintendovn.com/public_html/forum/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
  ["url"] => string(49) "http://www.nintendovn.com/forum/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(15) {
    ["username"] => string(0) ""
    ["1cee9aa3aa9fd60ef913f26d19758b97"] => string(9) "phukatana"
    ["1a6ee5e9b005013247185c6cc1a877f1"] => string(22) "sutieucaisua@gmail.com"
    ["955f3b63104342b3e3869de0c86cebb1"] => string(4) "male"
    ["dob_month"] => string(2) "10"
    ["dob_day"] => string(2) "29"
    ["dob_year"] => string(4) "1990"
    ["6181da1cd19eee5a2eef730fc10a5251"] => array(1) {
      ["ody5mwu3yja4"] => string(0) ""
    }
    ["custom_fields_shown"] => array(1) {
      [0] => string(12) "ody5mwu3yja4"
    }
    ["4174a92bf055cd7da76300cfb753f92d"] => string(12) "Asia/Bangkok"
    ["captcha_question_answer"] => string(1) "N"
    ["captcha_question_hash"] => string(40) "9ba7f75c2ae6ca386a97dc526a6855d4ea3504ee"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "8691e7b08b8f0145ad27797f558187dc"
  }
}
I already did health check, but nothing changes.
Please help me. Thank you so much.
 

Brogan

XenForo moderator
Staff member
#2
If the failures are intermittent and it is working again, they can likely be ignored.

Otherwise, typical causes of this would be a problem with the network stack, or firewall settings causing the outbound connection to be blocked.
Your sysadmin or host would have to investigate.