Drupal – HTTP request status Fails

If you got the following problem in the Drupal Status report.

  • Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.



 

One possible reason is your hosting server does not allow outgoing connection which makes your Drupal site could not get update from drupal.org or fetch RSS feeds from other websites. You can contact your hosting provider and see if they could help.

But if you don’t care about the Drupal update notification nor fetching RSS feed in your website, you can bypass this warning by appending the following line in settings.php.

$conf['drupal_http_request_fails'] = FALSE;

 

Done =)

Reference:

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.