rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

Anidex failed with error 500

Open Boldairdev opened this issue 3 years ago • 7 comments

Error message: Unexpected response from upstream. cUrl error: (0) PHP error: Query string: action=display&bridge=Anidex&id=1%2C2%2C3&lang_id=1&group_id=&q=&h=0&format=Atom Version: dev.2021-04-25

PHP 8.0.1

Boldairdev avatar Dec 14 '21 08:12 Boldairdev

The site seems to have an RSS feed with all the same options as the bridge. Is there a reason to continue maintaining this bridge?

yamanq avatar Dec 14 '21 15:12 yamanq

Ping @ORelio as maintainer of this bridge

em92 avatar Dec 18 '21 10:12 em92

Hi, thanks for opening this issue.

@Boldairdev: Regarding the error 500, Anidex randomly returns error 500. Just try browsing their site, you should get some errors or blank pages from time to time. The bridge works, but due to the site being unreliable, you may need to try loading the bridge several times before getting the feed. On each attempt, the bridge will fetch the description of some torrents and cache them, so just try again and it'll eventually load. My feed reader attempts once per hour and new torrents eventually get in my feed at some point of the day. There is not much I can do to improve this.

@yamanq: Regarding the built-in feed, as discussed in #2072 for Nyaa, I was not really aware you could use search criteria in the built-in RSS feed so I did not write the bridge as a Feed Expander and used the HTML search results instead. Anyway, since the feed is truncated (no torrent description), the bridge is still useful for reading the description of new torrents in a feed reader (but not for auto-downloads as description is unneeded so you'd rather use the built-in RSS feed for that).

I hope this answers both questions.

ORelio avatar Dec 19 '21 18:12 ORelio

Can confirm they randomly give error.

dvikan avatar Mar 27 '22 02:03 dvikan

Hi @dvikan, Since the error 500 happens on Anidex, not inside RSS-Bridge, is there anything we should do? Just asking because you reopened the issue 😉

ORelio avatar Mar 27 '22 17:03 ORelio

In my opinion there should be some retry logic if network requests fail. E.g. try at least 3 times before giving up?

dvikan avatar Mar 27 '22 17:03 dvikan

Got it. I'll see what I can do about that.

ORelio avatar Mar 27 '22 18:03 ORelio