The site was created on a "devSiteName.com" and then moved to "SiteName.com" and all works fine with the exception of aggregator feeds. The feeds still work and are valid on the dev site, but they give the following errors on the live site:

The feed from... seems to be broken, due to an error "SYSTEM or PUBLIC, the URI is missing" on line 1.
or
The feed from... seems to be broken, due to "400 Bad Request".

Comments

kpm’s picture

Update: I deleted and recreated both feeds (one from Twitter, which gets the 'bad requests' error, and one for a Google News search, which gets the "... URI is missing..." error. Still both getting same error.

kpm’s picture

Category: support » bug

I'm changing this to a bug report because I just noticed that on the feeds source page, rather than the feed url appearing, the site's url is displaying. That is, "http://SiteName.com" is populating the URL field display on the "http://SiteName.com/aggregator/sources/#" page, when that should be the rss feed, "http://news.google.com/news?pz=1..." for example.
I have deleted the feeds, cleared all caches, run cron, re created the feeds, sacrificed a chicken, and got the same results each time. I also disabled and uninstalled the Aggregator module, re-enabled, sacrificed a goat, and still same results. Something is not right in the database I suppose after transferring the site from "devSiteName.com" to "SiteName.com", but I'm at a loss as to why this is. I suppose I will have to hunt down the record in the database and edit the rss feed url directly because the url field in the "http://SiteName.com/admin/content/aggregator/edit/feed/#" is not updating the feed. Just populating the field with "http://siteName.com".
Now, off to sacrifice some tofu...

kpm’s picture

I noticed I had neglected to disable some development modules (views ui, image cache ui, context ui) so clicked on the 'Disable developers modules' link in the admin tool bar. The next day, I noticed that the Google news feed had populated. Bravo I thought, that was the problem, dev modules somehow interfering somehow (even though they did not on my dev server)... But, alas, I am back to square one. For some reason yesterday, the new feeds I created previously decided to work, once. The Google news feed had run, the twitter feed was still blank, but when i ran it, it to populated. But that was it, every attempt to run since has resulted in the same errors.

kpm’s picture

Category: bug » support

Ok, I'm switching this back from a bug to a support request, though I suspect I'll close it when I move the site to a different host. I have to blame the host on this, I can't think or find anything else.
The cron job is set up to run hourly using Netfirms control panel and it does. It has gotten stuck once, other than that, it runs hourly without issue.
The two aggregator feeds have been configured to run each hour also.
The Google News feed now works when manually updated and works sporadically when cron runs. On Feb 2nd, it successfully updated on 9:15, 10:16, 12:16, and 15:15 and then ceased to function for the rest of that day. On Feb 3rd it successfully updated at 10:15, 11:16, 12:16, 14:15, 15:15, and 17:15 then stopped functioning. When it does not work, the error log reads:
The feed from Feed Name seems to be broken, due to an error "SYSTEM or PUBLIC, the URI is missing" on line 1.
The Twitter feed is not working at all, even when manually updated, and returns The feed from Twitter seems to be broken, due to "400 Bad Request"..
As mentioned before, both these feeds are still functioning properly on the development server, updating every hour without a problem...
I've found a number of posts asking for support with similar situations, none with any answers. I suspect there is something in certain hosting environments that is causing this problem. What it is, I have no idea, and Netfirms doesn't seem to care.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.