A few weeks ago, I lost the ability to automatically get update notifications from updates.drupal.org in the Status Report section of Drupal admin.

beta.skeds.com
63.97.245.242

I am able to access any other website through port 80 from the server machine, but I am unable to receive updates to the Status Report section. This link
http://drupal.org/node/549834#comment-2076650
suggests that this may be because my IP was blocked. This also may not be the reason, but I was wondering if someone could check for me since I can access other HTTP sites.

Thanks,

Comments

nnewton’s picture

Status: Active » Fixed

All IP blocks have been cleared.

espirates’s picture

I still can't access the updates, host isn't blocking anything either. This has never happen before.

avpaderno’s picture

Verify that calls to fsopen() are allowed in the PHP installation running on your site. It seems that the function is disabled for security issues from some host providers.

espirates’s picture

I did verify and it's allowed but still unable to access

avpaderno’s picture

I apologize; I reported the wrong function name, which is fsockopen().

espirates’s picture

fsockopen() is also included so there must be another reason why. I can access them on localhost just not on the server.

killes@www.drop.org’s picture

Can you write a small php script that tries to access say google.com using fsockopen?

espirates’s picture

No unfortunately I'm php challenged, don't know any of that.

killes@www.drop.org’s picture

Try this. Name it fsockopen.php" or something else, copy it to where index.php lives and access it through your browser.

<?php
$fp = fsockopen("www.google.com", 80, $errno, $errstr, 30);
if (!$fp) {
    echo "error $errstr ($errno)<br />\n";
}
else {
    echo "google contacted";
}
espirates’s picture

tried that and it shows google contacted

gerhard killesreiter’s picture

what happens if you replace www.google.com by first www.drupal.org and then updates.drupal.org?

espirates’s picture

I get this message with drupal.org

Warning: fsockopen() [function.fsockopen]: unable to connect to www.drupal.org:80 (Network is unreachable) in /utest.php on line 2
error Network is unreachable (101)

and with updates.drupal.org

unable to connect to updates.drupal.org:80 (Network is unreachable) in /utest.php on line 2
error Network is unreachable (101)
gerhard killesreiter’s picture

can you try "drupal.org" instead of "www.drupal.org" and "updates.drupal.org" also without www?

espirates’s picture

The host fixed it, I send them the messages and they got it working again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.