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

XF 1.2 Cannot Connect to Gravatar

The Dark Wizard

Well-known member
#1
I get this error when someone registers on RC2.

library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, 4 minutes ago
Stack Trace
#0 /home/rpdom/public_html/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('www.gravatar.co...', 80, false)
#1 /home/rpdom/public_html/library/XenForo/Model/Avatar.php(457): Zend_Http_Client->request('HEAD')
#2 /home/rpdom/public_html/library/XenForo/ControllerPublic/Register.php(219): XenForo_Model_Avatar::gravatarExists('accipuche@hotma...')
#3 /home/rpdom/public_html/library/UserEss/ControllerPublic/Register.php(68): XenForo_ControllerPublic_Register->actionRegister()
#4 /home/rpdom/public_html/library/XenForo/FrontController.php(337): UserEss_ControllerPublic_Register->actionRegister()
#5 /home/rpdom/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/rpdom/public_html/index.php(13): XenForo_FrontController->run()
#7 {main}
 

Mike

XenForo developer
Staff member
#2
You would've gotten this before. It's not really unexpected for it to happen randomly - it just means that your server couldn't connect to Gravatar. It might just indicate that Gravatar was down or that your server had a minor connection issue with Gravatar. It doesn't break anything. The error is logged for the cases where it happens all the time (such as outbound connections being blocked).
 

The Dark Wizard

Well-known member
#3
You would've gotten this before. It's not really unexpected for it to happen randomly - it just means that your server couldn't connect to Gravatar. It might just indicate that Gravatar was down or that your server had a minor connection issue with Gravatar. It doesn't break anything. The error is logged for the cases where it happens all the time (such as outbound connections being blocked).
Your right. Thanks!