owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

Not found or bad source / Could not find a feed messages in owncloud.log after upgrade #660

Closed ghost closed 9 years ago

ghost commented 9 years ago

ownCloud version: 7.0.3 News version: 4.1.3 PHP version: 5.5.19 Distribution: Debian Wheezy

Hi,

after upgrading the news app from 3.401 via the 4.0.x releases to 4.1.3 the following messages appears over and over again in my data/owncloud.log

{"reqId":"546cef49da9d6","app":"news","message":"Can not update feed with url http:\/\/feeds.feedburner.com\/tenable\/qaXL?format=xml: Not found or bad source","level":0,"time":"2014-11-19T19:28:20+00:00","method":"--","url":"--"} {"reqId":"546cef49da9d6","app":"news","message":"Could not find a feed","level":0,"time":"2014-11-19T19:28:20+00:00","method":"--","url":"--"}

This feed is valid according to:

http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Ffeeds.feedburner.com%2Ftenable%2FqaXL%3Fformat%3Dxml

and my feed items of this feed are also updating so i'm not really sure why those message are shown?

BernhardPosselt commented 9 years ago

Can confirm, this happens actually very frequently and for basically all of my feeds.

BernhardPosselt commented 9 years ago

Very likely related to caching meaning that each time your feed gets updated and the resource was not modified (and thus empty) picoFeed fails parsing the feed because the body is empty. That also explains why updating works just fine. Waiting for upstream fix

ghost commented 9 years ago

Confirmed as fixed in the news app 4.0.2 :+1: