I've run into something that I can't figure out. I have a webpage (http://www.thebikeracer.com) that pulls feeds from Cyclingnews.com, Velonews.com and twitter posts from several professional cyclists. I set up a cron job in my Control Panel of my website hosting company.

Up until a few days ago, everything was working fine. Every hour, the cron job runs and updated all of the feeds. I added a new page to the website (Links Page) which was the only change to the site in the last few days. Now the issue is that only the feeds from the news websites get updated. THe twitter feeds are not updating.

I can get the twitter feeds to update 'sometimes' from the aggregator admin page by selecting the update option. I can also get them to update sometimes by manually running cron.

The error I receive when it doesn't work is the 400 Bad Request error.

Does anyone have a solution to this?

What I've tried or thought about so far:

1. I thought about deleting the new page, but can't see how or why that is affecting the cron

2. I reloaded the Twitter feed URLS

3. Did twitter change something?

Mike

UPDATE 7/3: So when I log into the site as an administrator...I see the feed updates after I manually update each one. But when I log out, the updates don't show up. After clearing the cache, the updates show up when I log out.

Before clearing the cache, I received the http 400 bad request error. I just re-ran cron and didn't receive the error.

I also deleted the old cron.php in my cpanel and created a new one. I will see if this resolves the issue.

Comments

cedric_a’s picture

Hi,

I had this same problem with my Twitter RSS feed : allways return "400 BAD REQUEST" during the cron job.
I tried other RSS adresses in aggregator and finally I just replace "https" with "feed" and it worked!

Original RSS adress given by Twitter : https://twitter.com/statuses/user_timeline/[...].rss

Modified adress in aggregator : feed://twitter.com/statuses/user_timeline/[...].rss

I see that your issue is resolved but maybe it can helps somebody else.

Cedric

cedric_a’s picture

It has just worked for few hours, but now "400 BAD REQUEST" is back. Sorry for my previous message.

webservant316’s picture

I call cron.php from my unix crontab and my aggregator feeds are not getting updated. It was initially working, but then stopped. In the mean time the first RSS feed on my list went bad. The RSS provider has a problem. So I thought that perhaps since the first feed was bad then the aggregator bombed on the attempted to update the whole list. So I removed the bad RSS feed, but cron is still not updating my feeds.

I more curious thing. If I run cron.php by hand then it works.

Jeff

Anyone who gives another a cold cup of water certainly will not lose his reward!