curl-and-php
cURL: Hostname was NOT found in DNS cache
Date: Tue, 25 Oct 2016 10:04:04 -0500
Hi. We are having a strange issue with PHP Curl.
It happens around once every minute and this is what we see in the logs:
* Connection #0 to host data01 left intact
* Hostname was NOT found in DNS cache
* Trying x.x.x.x...
* connect to x.x.x.x port yyyy failed: Connection timed out
* Failed to connect to x.x.x.x port yyyy: Connection timed out
* Closing connection 0`
We have data01 correctly defined in our /etc/hosts file but for some
reason, the resolved x.x.x.x IP address is incorrect so the connection
fails.
curl --version returns the following:
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8
libidn/1.28 librtmp/2.3
Please help
_______________________________________________
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2016-10-25