Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Drupal HTTP requests fail

  1. #1
    tixilite is offline x10Hosting Member tixilite is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    51

    Drupal HTTP requests fail

    I get this error on my Drupal website:

    Error
    HTTP request status - Fails
    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. If you are certain that Drupal can access web pages but you are still seeing this message, you may add $conf['drupal_http_request_fails'] = FALSE; to the bottom of your settings.php file.

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Drupal HTTP requests fail

    Because of abuse in the form of proxy servers on X10 free accounts, software running on your account, such as Drupal, will not be able to connect to other websites in this way.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    tixilite is offline x10Hosting Member tixilite is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    51

    Re: Drupal HTTP requests fail

    So is there no way to fix this?

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Drupal HTTP requests fail

    Not currently.

    What are Drupal trying to connect to? If it is of common interest there may be a chance to make an exception for it in the firewall. To do this we'd need the IP of the site Drupal is connecting to.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  5. #5
    tixilite is offline x10Hosting Member tixilite is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    51

    Re: Drupal HTTP requests fail

    The address that Drupal connects to is http://updates.drupal.org/ which according to cmd is 140.211.166.21.

    I recently installed Drupal 7 though and when I was running Drupal 6, I don't recall having this problem. Is the limit a new rule by X10hosting?

  6. #6
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,939

    Re: Drupal HTTP requests fail

    The rule is to help bring down the number of proxies on hosting-this makes for less abuse on the server, and as proxies require a lot of requests etc, should speed up the sites of legitimate users.


  7. #7
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Drupal HTTP requests fail

    The rule has been in place for a few weeks, it is possible that Drupal 6 had a different approach to it, or that it used another site/IP that has already been made into an exception.

    I'll relay the information, this would most likely be something we can set an exception for.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  8. #8
    tixilite is offline x10Hosting Member tixilite is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    51

    Re: Drupal HTTP requests fail

    Has the exception been added? I am still having issues with the HTTP requests. I think it would be best to add the whole drupal.org domain, if that's possible.
    Last edited by tixilite; 01-09-2011 at 04:41 AM.

  9. #9
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Drupal HTTP requests fail

    We can only do it on a per IP basis, and the two IPs that are associated with the domain drupal.org has been added already.

    So updates and such thing from their site should work, but OpenID, and other services, that use a different IP would still be blocked (unless a rule for those has been added), so it is likely that you will continue to see that error message simply because overall access is not available, assuming it is a configuration warning you get.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  10. #10
    tixilite is offline x10Hosting Member tixilite is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    51

    Re: Drupal HTTP requests fail

    I believe the issue is because Drupal 7 uses a different PHP function from Drupal 6(which worked fine). It seems that x10Hosting has disabled some PHP functions which Drupal uses. The functions are:

    function_exists()
    fread()
    fwrite()
    stream_context_create()
    stream_set_timeout()
    stream_get_meta_data()
    stream_socket_client() - specifically this

    I'm assuming one or more of the above functions are disabled.
    Last edited by tixilite; 06-07-2011 at 02:00 PM.

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. FTP Fail
    By juzzabuzza2 in forum Introductions
    Replies: 1
    Last Post: 07-02-2010, 05:13 AM
  2. FTP Fail
    By juzzabuzza2 in forum Free Hosting
    Replies: 0
    Last Post: 06-30-2010, 05:22 AM
  3. lotus not accepting HTTP (port 80) requests?
    By rbeede in forum Free Hosting
    Replies: 3
    Last Post: 03-01-2010, 03:31 PM
  4. Remove Drupal from http://www.bh-clan.co.cc
    By blackhnd in forum Free Hosting
    Replies: 2
    Last Post: 10-20-2008, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers