Unable to Connect to tcp://www.google.com:80 and tcp://api-verify.recaptcha.net:80

Cykros

Member
My forum is full of this error logs.
2017-05-15 11_05_43-Server Error Logs _ Admin CP - Olympus Gaming Network.webp
I haven't checked the admincp for over 1 month so I cant really say when it started happening.
Any idea what is causing it?
 
It's a communication error between your server and the outside world; specifically Google (for sitemap pings) and ReCAPTCHA.

In the first instance, report the issue to your host. They will likely have to do something to unblock those requests.
 
As you can see in the attachment the policy for the output is to accept it. So I dont think the problem here is the iptables configuration.
 

Attachments

  • 2017-05-15 14_28_36-root@Hades_ ~.webp
    2017-05-15 14_28_36-root@Hades_ ~.webp
    104.8 KB · Views: 5
It may not be that exactly, but the issue is effectively happening outside of XenForo's involvement. All we're doing is performing a HTTP request and that is failing. That failure exists between your server and the URL being requested so there is most certainly something blocking it somewhere.
 
Absolutely, there's not really anything to configure here. It should be a fairly simple HTTP request and there shouldn't be many reasons that should fail.

A similar issue was reported here and there was a non-firewall related solution:
https://xenforo.com/community/threa...p-to-google-unable-to-connect-to-tcp-w.92276/

A good diag step as suggested by Mike in that thread is seeing if you can do a wget on that URL from your shell. If it fails, that definitely rules out anything within XF itself.
 
Hmmmm, seems like my machine also has issues connecting to ipv6 address.
The thread mentioned above does not clearly says how he solved the issues so any further assistance is welcomed :d
 
For those who experience this, if your machine has and IPV6 address and you dont really use it, the easiest way to fix the issue is to disable the ipv6.

TY @Chris D for the assistance so far.
 
Last edited:
Top Bottom