Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anidex failed with error 500 #2370

Closed
Boldairdev opened this issue Dec 14, 2021 · 7 comments
Closed

Anidex failed with error 500 #2370

Boldairdev opened this issue Dec 14, 2021 · 7 comments

Comments

@Boldairdev
Copy link

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

@yamanq
Copy link
Contributor

yamanq commented Dec 14, 2021

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?

@em92
Copy link
Contributor

em92 commented Dec 18, 2021

Ping @ORelio as maintainer of this bridge

@ORelio
Copy link
Contributor

ORelio commented Dec 19, 2021

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.

@dvikan
Copy link
Contributor

dvikan commented Mar 27, 2022

Can confirm they randomly give error.

@dvikan dvikan reopened this Mar 27, 2022
@ORelio
Copy link
Contributor

ORelio commented Mar 27, 2022

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 😉

@dvikan
Copy link
Contributor

dvikan commented Mar 27, 2022

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

@ORelio
Copy link
Contributor

ORelio commented Mar 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants