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

XF 1.2 Unable to connect to Gravatar, Connection timed out

Warchamp7

Active member
#1
This is pretty much the only thing in my error log and there are just tons of them. This has been going on for at least a week as well, so it doesn't seem to be a temporary outage or anything.

Any ideas or recommendations for debugging this?


Error Info
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, Today at 9:28 PM


Stack Trace
#0 /-----/-----/-----/forum/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('www.gravatar.co...', 80, false)
#1 /-----/-----/-----/forum/library/XenForo/Model/Avatar.php(457): Zend_Http_Client->request('HEAD')
#2 /-----/-----/-----/forum/library/XenForo/ControllerPublic/Register.php(219): XenForo_Model_Avatar::gravatarExists('----------')
#3 /-----/-----/-----/forum/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Register->actionRegister()
#4 /-----/-----/-----/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /-----/-----/-----/forum/index.php(13): XenForo_FrontController->run()
#6 {main}
 

Amaury

Well-known member
#2
I get them every now and then, but I don't see any negative effects that linger around, so I don't think it's anything to worry about.
 

ENF

Well-known member
#4
Well I mean, I've gotten 7 since posting this thread, so I almost feel like it happens for every registration
Either way, it's related to their service and not XF itself. If their services are down or unreachable from your server, then this error will repeat until it can connect.

Alternative action: disable Gravatar support.
 

Mike

XenForo developer
Staff member
#5
If it's happening consistently (and just to you), it may indicate either a routing issue between your server and Gravatar or a firewall blocking the connection.