Feed parsing error since update

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
ivanwin
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 27 Jan 2017, 12:23

Feed parsing error since update

Postby ivanwin » 27 Jan 2017, 12:28

Hi,

I've had this feed working for months and after an update it doesn't work anymore.
Here's the myfeedsucks' report:

Processing feed: http://mangapedia.fr/rss.xml

Fetching URL (UA: Tiny Tiny RSS/17.1 (http://tt-rss.org/))

Operation failed. Diagnostic output below.
Error message: file_get_contents(http://mangapedia.fr/rss.xml): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
Code: 503
Used curl:
Content type: text/html; charset=UTF-8

Of course using a browser directly to the url http://mangapedia.fr/rss.xml is working and Firefox sees it as a valid feed file...
Does someone have an idea?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed parsing error since update

Postby fox » 27 Jan 2017, 12:44

one idea would be reading both subforum rules and maybe even the error message

7 days probation

>Of course using a browser directly to the url http://mangapedia.fr/rss.xml is working and Firefox sees it as a valid feed file...

imagine if you will a world where computers with different network addresses, CDNs, and all sorts of other wacky shit exists

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Feed parsing error since update

Postby sleeper_service » 27 Jan 2017, 21:11


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed parsing error since update

Postby fox » 27 Jan 2017, 21:51

putting rss feed behind cloudflare, smart

ibreakcellphones
Bear Rating Trainee
Bear Rating Trainee
Posts: 31
Joined: 28 Mar 2013, 09:49

Re: Feed parsing error since update

Postby ibreakcellphones » 28 Jan 2017, 00:35

I had this same sort of trouble with . Only thing I could do was to ask the site owner to move the RSS feeds outside of cloudflare.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed parsing error since update

Postby fox » 28 Jan 2017, 12:12

i kind of lowkey want to implement some kind of detection for this retarded shit just to shame idiots who use cloudflare for rss feeds

also the way they abuse http 503 status code makes me sad

Image

should probably read something like "cloudlflare, contact the idiot who runs this site"

User avatar
Skibbi
Bear Rating Disaster
Bear Rating Disaster
Posts: 61
Joined: 15 Mar 2013, 14:59
Location: Poland

Re: Feed parsing error since update

Postby Skibbi » 29 Jan 2017, 15:53

Few month ago I had similar issue with RSS behind cloudflare. The solution was very simple - change user agent to something popular. But maybe now they have more sophisticated protection.

Nicola
Bear Rating Trainee
Bear Rating Trainee
Posts: 11
Joined: 19 Dec 2015, 14:02

Re: Feed parsing error since update

Postby Nicola » 04 Feb 2017, 18:40


User avatar
Skibbi
Bear Rating Disaster
Bear Rating Disaster
Posts: 61
Joined: 15 Mar 2013, 14:59
Location: Poland

Re: Feed parsing error since update

Postby Skibbi » 04 Feb 2017, 20:21


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Feed parsing error since update

Postby JustAMacUser » 04 Feb 2017, 21:20


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed parsing error since update

Postby fox » 04 Feb 2017, 21:46

please don't ask for support after doing that tho

Nicola
Bear Rating Trainee
Bear Rating Trainee
Posts: 11
Joined: 19 Dec 2015, 14:02

Re: Feed parsing error since update

Postby Nicola » 04 Feb 2017, 22:39


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Feed parsing error since update

Postby JustAMacUser » 04 Feb 2017, 23:01

fox has a good point. Changing the user agent for every request (which is what will happen if you set that constant I suggested) could be a bad thing. If you wanted it per feed, you'd have to write a plugin that hooks HOOK_FETCH_FEED. Check if it's the feed URL in question; if so, call fetch_file_contents() just as TT-RSS would normally in rssfuncs.php but with a specific useragent key. Then return the results.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed parsing error since update

Postby fox » 04 Feb 2017, 23:24

i think its best to contact the site owner and tell them that putting an rss feed - a thing normally accessed by automated agents - behind a literal captcha is unimaginably retarded

ivanwin
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 27 Jan 2017, 12:23

Re: Feed parsing error since update

Postby ivanwin » 06 Feb 2017, 18:04

Hello,
Thanks for all your responses, thanks to you i understand what is wrong.
I've ask the website admin to do something about it. Hope it will work again.

Sorry @fox if I didn't respected the rules.

see you and thank again


Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests