XF 1.1 Spambot server error log


Well-known member
I just found an interesting server error log:

Error Info
Zend_Http_Client_Exception: Unable to read response, or response is empty - library/Zend/Http/Client.php:993
Generated By: Unknown Account, Today at 8:57 PM

Stack Trace
#0 /home/***/public_html/forum/library/XenForo/Model/Avatar.php(457): Zend_Http_Client->request('HEAD')
#1 /home/***/public_html/forum/library/XenForo/ControllerPublic/Register.php(206): XenForo_Model_Avatar::gravatarExists('zsnvybt@yandex....')
#2 /home/***/public_html/forum/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Register->actionRegister()
#3 /home/***/public_html/forum/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/***/public_html/forum/index.php(13): XenForo_FrontController->run()
#5 {main}

Request State
array(3) {
  ["url"] => string(50) "http://forum.komikanimasi.web.id/register/register"
  ["_GET"] => array(0) {
  ["_POST"] => array(14) {
    ["username"] => string(9) "kazino611"
    ["email"] => string(17) "zsnvybt@yandex.ru"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "7"
    ["dob_day"] => string(2) "12"
    ["dob_year"] => string(4) "1988"
    ["gender"] => string(4) "male"
    ["timezone"] => string(16) "Indian/Mauritius"
    ["captcha_question_hash"] => string(40) "1c89bf516f0018221cf1cbf3ecef1f5be418ba3b"
    ["agree"] => string(1) "1"
    ["submit"] => string(7) "Sign Up"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "c1aece1b1fb8a67115d71aa6ddccd7ef"
Anybody know what is the meaning of this?

Jake Bunce

XenForo moderator
Staff member
That indicates a problem connecting to the gravatar service. You can't do anything about it other than to disable that feature if you don't want it:

Admin CP -> Home -> Options -> User Registration -> Enable Gravatar Support


Well-known member
The issue was that the email input IS associated to a gravatar, but the gravatar service was down, or a connection could not be made (My guess is that gravatar.com was temporarily down)

This would have happened with real users / spam bots if their email was associated to a gravatar at that particular time, and they tried to register

I'm not sure of the out come (For most core XenForo, if a third party is down, an error doesn't propagate to the user, it just displays in your error logs)