I am getting the below exception when using PHP (5.3.22) HttpRequest
exception 'HttpInvalidParamException' with message 'Empty or too short HTTP message: ''' in /var/www/vhosts/mysite.com/httpdocs/myapp/info.php:0 inner exception 'HttpRequestException' with message 'couldn't resolve host name; name lookup timed out (http://somesite.com)'
This has been working well until today. No errors in apache logs. From the server I am able to ping the target site and also nslookup is returning the ip for that site.
I restarted apache as well as the server but the problem persists. HttpRequest is throwing exception (on send()) for all the urls other than the host site (localhost).
Is there any place/logs to check where I can track this problem?