FreshRSS icon indicating copy to clipboard operation
FreshRSS copied to clipboard

[BUG] Valid feeds resulting in "This feed has encountered a problem"

Open diamondsw opened this issue 2 years ago • 4 comments

Describe the bug The following feeds are listed as having errors, but validate according to validator.w3.org (couple with minor errors, but jlist is completely valid), and all are accepted by other applications without complaint (e.g. Feedly). https://jlist.com/blog/feed/ https://blog.cloudflare.com/rss/ https://www.scottberkun.com/feed/

The error is (rather misleadingly):

Blast! This feed has encountered a problem. Please verify that it is always reachable then update it. Hard to say what the real issue is, as the error above is all I get, and is plainly wrong.

To Reproduce Steps to reproduce the behavior: Subscribe to the above sites in FreshRSS

Expected behavior I should get a list of articles from the feed.

Environment information (please complete the following information):

  • Docker image: lscr.io/linuxserver/freshrss
  • Device: Irrelevant
  • OS: Irrelevant
  • Browser: Irrelevant
  • FreshRSS version: 1.19.2
  • Database version: Unknown; image does not indicate and FreshRSS UI also does not indicate
  • PHP version: 7.4.26
  • Installation type: Docker

Installation check PHP installation Your PHP version (7.4.26) is compatible with FreshRSS. You have the cURL library. You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql). You have the required library for regular expressions (PCRE). You have the required library for character type checking (ctype). You have the fileinfo library. You have the required library to browse the DOM. You have the JSON extension. You have the recommended mbstring library for Unicode. You have the ZIP extension.

File installation Permissions on the data directory are good. Permissions on the cache directory are good. Permissions on the users directory are good. Permissions on the favicons directory are good. Permissions on the tokens directory are good.

Additional context Wish I could give you some, but FreshRSS doesn't have any useful error messages.

diamondsw avatar May 06 '22 19:05 diamondsw

It works in my server. My configuration is php 8.0, mysql 5.7, freshrss 1.20-dev.

I added https://jlist.com/blog/feed/ and https://blog.cloudflare.com/rss/ successfully, but something wrong happened when I added https://www.scottberkun.com/feed/. image I used a tool Feed Validation Service to find out if something wrong happened in my server but the tool showed that the rss content wasn't standard. image

BlueWhale235 avatar May 14 '22 08:05 BlueWhale235

Same here. The first two work, the third doesn't work because it's malformed.

Hard to say what the real issue is, as the error above is all I get, and is plainly wrong.

You can't say that based on Feedly and validator.w3.org.

If you run something like this it'll be closer, in that case you'd know the machine running this random Docker image can reach the server in question:

curl -v https://jlist.com/blog/feed/

Frenzie avatar May 14 '22 08:05 Frenzie

👌👌

BlueWhale235 avatar May 14 '22 08:05 BlueWhale235

I'll report this to the linuxserver folks since it appears to be specific to their Docker image.

  • The jlist feed goes through a couple standard 301 redirects but otherwise loads just fine via curl, and as mentioned validates fine.
  • Cloudflare is working now (so perhaps there was a transient reachability problem, although I could load the site just fine from the same network).
  • I'll drop the final blog as simply malformed - but still the wrong error message.

diamondsw avatar May 22 '22 23:05 diamondsw