After installing and enabling HRFR, invoking cron manually returns a white page that prints "$fails = TRUE". Watchdog indicates HRFR is doing its resets, and that cron is not completing. This is on D6.8 with Acquia 1.2.0.

Comments

francewhoa’s picture

How to install and configure 'http_request_fail_reset' module can be found at http://drupal.org/files/issues/README_78.txt

Read more at http://drupal.org/node/535710

hawkdrupal’s picture

Same problem in Drupal 6.14 and Drupal 6.15, following exactly the instructions, cron.php returns "$fails = TRUE" if this module is enabled, but "$fails = FALSE" if this module is disabled.

Obviously a module that causes a cron error can't be desirable, yet the HTTP Request problem needs a solution.

francewhoa’s picture

@hawkdrupal: Here are a few more solutions http://drupal.org/node/588186 Under the section 'To fix this here are a few things you could try'

If working could report your results here?

Thanks

hawkdrupal’s picture

So far, I've only found two "solutions" to cron claiming it failed:

Disable Http Request Fail Reset module, OR apply the patch ($conf['drupal_http_request_fails'] = FALSE;) that forces it to "succeed".

Either of these methods gets cron.php to return $fails = FALSE, but neither gives me confidence that Drupal is indeed functioning normally.

I'm confused about whether Http Request Fail Reset is still required in Drupal 6.15 -- and if so, why does Drupal require it to run normally?

francewhoa’s picture

I'm confused about whether Http Request Fail Reset is still required in Drupal 6.15 -- and if so, why does Drupal require it to run normally?

Here is why. This is an explanation of the error: http://drupal.org/node/245990#comment-909263

Progress on fixing this issue http://drupal.org/node/245990

hawkdrupal’s picture

Thanks for steering me to the extensive discussion -- a tad amazing to have a multi-year problem that is still not "fixed".

After patching, I still have Drupal's cron.php failing to be run by the server, though it seems to be making the call reliably. I can run cron.php manually withour error, and my hosting company claims there's nothing wrong with its cron daemon. In fact, my Drupal 5 system is still installed and its cron runs just as scheduled. It's only Drupal 6 where scheduled cron won't run, and that problem popped up the same time as the Http Request failures.

Is cron failure related to the Http Request problem?

francewhoa’s picture

@hawkdrupal: You're welcome.

If you want to speed up the progress on fixing this issue then you should post your questions and contribute your patch test results on the following issue queue http://drupal.org/node/245990

I'm not a coder so I don't know if cron failure is related to the Http Request problem.