XF 1.4 Zend_Http_Client_Adapter_Exception: Error submitting sitemap to Google: Unable to Connect to tcp://w


Active member
I have a fairly new xenforo 1.4.4 installation

I keep getting this error

What do I do?

Zend_Http_Client_Adapter_Exception: Error submitting sitemap to Google: Unable to Connect to tcp://www.google.com:80. Error #110: Connection timed out -library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, Today at 6:11 AM
Stack Trace
#0 /srv/http/techraptor/community/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('www.google.com', 80, false)
#1 /srv/http/techraptor/community/library/XenForo/Model/Sitemap.php(263): Zend_Http_Client->request('GET')
#2 /srv/http/techraptor/community/library/XenForo/Deferred/Sitemap.php(296): XenForo_Model_Sitemap->sendSitemapPing()
#3 /srv/http/techraptor/community/library/XenForo/Deferred/Sitemap.php(64): XenForo_Deferred_Sitemap->_finalizeSitemap(2, 7.9999969005585)
#4 /srv/http/techraptor/community/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Sitemap->execute(Array, Array, 7.9999969005585, '')
#5 /srv/http/techraptor/community/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#6 /srv/http/techraptor/community/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 /srv/http/techraptor/community/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
["url"] => string(44) "http://techraptor.net/community/deferred.php"
["_GET"] => array(0) {
["_POST"] => array(4) {
["_xfRequestUri"] => string(11) "/community/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"


Active member
I flushed my iptables entirely, no rules.

Still having the same error.
A note: I'm behind cloudflare, not that it really should matter.

I also tried it with our firewall entirely disabled.

I realized I'm also getting similar errors with google recaptcha.
Last edited:


XenForo developer
Staff member
If you try a wget from the server to www.google.com does that work?

This is definitely related to the underlying network stack so XF doesn't really have any directly influence over it.


Active member
Wget failed

I tracked it down

Our host uses dhcpcd to assign IP addresses, and the linux image they gave us had slaac private set by default, which made ipv6 requests fail on their network
All of the failed requests we were having were over ipv6

Thanks for helping
All good now