Submitted by soydemadrid on Sat, 10/01/2016 - 17:20 Pro Licensee
Hi I'm on Ubuntu 16.04.
Bit of a strange one this, but I'm getting this curl timeout error since moving my site from cPanel to Virtualmin:
"cURL error 28: Resolving timed out after 5515 milliseconds"
curl is installed and everything else works ok.. tried also with the firewall turned off but still get the same error. Thanks for any help with this if you can think of what may be the cause. I have a static block of ips if that makes a difference (maybe it is a network related issue?). Thanks again.
Status:
Active
Comments
Submitted by andreychek on Sat, 10/01/2016 - 23:06 Comment #1
Howdy -- what IP address is it trying to resolve when that times out?
Also, what is the output of this command:
host google.com
Submitted by soydemadrid on Sun, 10/02/2016 - 03:32 Pro Licensee Comment #2
Hi thanks.
The host command outputs:
google.com has address 216.58.208.174
google.com has IPv6 address 2a00:1450:4009:808::200e
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
So that looks pretty good!
I can't seem to find what IP or where curl is resolving too. There is just an option in the website backend to "Activate Network Brute Force Protection" - when I click it it says "cURL error 28: Resolving timed out after 5514 milliseconds"
The same option though does work on my other cPanel server - so it must be some curl config or something that is different maybe...
Submitted by andreychek on Sun, 10/02/2016 - 09:19 Comment #3
The error message there sounds a bit like a network issue of some kind.
Curl is being told to access a given URL, but it's attempt to perform a DNS lookup on a particular host is timing out.
However, our test above shows that DNS resolution is working properly on your server.
You mentioned that some hosts or networks are being blocked? Would it be possible to temporarily lift those restrictions?