Skip to content

Favicons are not loaded #1380

@thomasrenes

Description

@thomasrenes

I have a issue were favicons of some RSS feeds are not loaded in FreshRSS since I've updated to version 1.6.1. For these RSS feeds Chrome displays the "image not found icon" on the place where the favicon of that feed should be. When manually going to to the URL "[domain]/p/f.php?8fff8de3" I don't get any output.

Example RSS Feed:
https://developer.apple.com/news/rss/news.rss

The favicon.ico file does exist:
https://developer.apple.com/favicon.ico

The file is created on the server but is empty:

[favicons]# file 8fff8de3.ico
8fff8de3.ico: empty
[favicons]# cat 8fff8de3.txt
https://developer.apple.com/news
[tmp]# wget https://developer.apple.com/favicon.ico
--2016-11-23 09:29:47--  https://developer.apple.com/favicon.ico
Resolving developer.apple.com... 17.146.1.14
Connecting to developer.apple.com|17.146.1.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9062 (8.8K) [image/vnd.microsoft.icon]
Saving to: `favicon.ico'

100%[======================================>] 9,062       --.-K/s   in 0s

2016-11-23 09:29:47 (626 MB/s) - `favicon.ico' saved [9062/9062]

[tmp]# file favicon.ico
favicon.ico: MS Windows icon resource - 4 icons, 32x32, 256-colors

The permissions on the folders seems to be correct. I've tried manually removing all .ico and .txt files from the folder but the same feeds will have the same issue after the files are recreated.

This issue seems to be for 5 of the 164 RSS feeds I'm using:

[favicons]# find . -size 0 | grep ".ico" | wc -l
5
[favicons]# ls -ail *.ico | wc -l
164

Metadata

Metadata

Assignees

Labels

Feed problem 🗞️Feeds that have issues while loading/reading in FreshRSS

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions