-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reddit 403 Forbidden #3802
Comments
im seeing the same on rss-bridge.org. i think my server ip has been blocked see also threads on /r/rss |
I did change the check interval to be every 12 hours, instead of the default 2 hours other feeds do. Maybe we need a setting on RSS Bridge/FreshRSS to set the user-agent and some header settings so we can pretend to be browsers better. That way Reddit can't snuff out automated systems as easily for a blacklist. |
Reddit's native |
@virtadpt But I reported this a month ago... So whatever happened in the last few days, probably not as relevant ;) Anyway, the link the bridge uses works fine in a browser, so the more logical thing is that Reddit has a quota for requests like this. Or has a way to profile these requests and block them. 403 errors are "NOT AUTHORIZED" errors after-all. To work around that the user agent can be randomized or more 'browser like' headers can be used. But, rss bridge doesn't do that unfortunately. |
@adegans I didn't realize that - my bad. :) I didn't know Reddit got rid of them anywhere on their system. I've got a bunch of bots pulling RSS feeds for subreddits that've been running for the last couple of years, the only hiccoughs being the odd 5XX error. Check this out: https://www.reddit.com/r/Cyberpunk/.rss Pick a subreddit, put a TBH I don't know why there is support for Reddit in RSS-bridge for that reason, unless there's a use case for proxying the existing ones that I'm not aware of. The way things are going, now that I posted it somewhere maybe they really will kill off RSS. Time will tell. Anyway, I agree with you that a randomized user-agent header would be a good thing. I tend to think it's a useful feature to have in general. |
After your previous reply I did tinker with the real reddit rss feeds a bit - WHy use a bridge if there is real RSS, right? Also when loading the feeds locally in my rss reader (Netnewswire) it worked fine, but the formatting was all wonky with their RSS. Images not embedding, small thumbnails for some posts, larger ones for others. Weird borders around text... I also played with a new user agent for rss bridge, but that made no difference - Probably because my server is blocked by IP or something. sigh and such... |
Part of me just stumbled across this - it seems Reddit is being weird about RSS. Which suggests that it might be going away soon. https://www.reddit.com/r/bugs/comments/18gv6yh/newsblur_not_getting_reddit_rss_feeds/ |
sigh Just like lighting a cigarette to make the bus arrive. |
Looks like replacing www.reddit.com with old.reddit.com works for now: |
Can confirm using Fixed in #3848 |
still working |
Stopped working again, by the looks of it. Just tested trying to create a feed using bridge01 and several other hosts and got 403 on all of them. Seems to have started on Mar 28th using https://rssbridge.bus-hit.me/?action=display&bridge=RedditBridge&context=single&r=LocalLlama&f=&score=&d=hot&search=&frontend=https%3A%2F%2Fold.reddit.com&format=Json |
are you confortable giving the url you are getting 403 for? |
Sorry, was editing comment to add details while you were asking; https://rssbridge.bus-hit.me/?action=display&bridge=RedditBridge&context=single&r=LocalLlama&f=&score=&d=hot&search=&frontend=https%3A%2F%2Fold.reddit.com&format=Json is the original feed that broke for me. I since tried creating replacement feeds on several instances, so I suspect it’s intentional. |
that url works fine in my dev pc (using 127.0.0.1) the RedditBridge is programmed so that if reddit responds with 403 Forbidden, then rss-bridge caches that response for 60 minutes. might seem excessive but it's an attempt to not get ip banned. |
Thanks for looking into it straight away! I had tried it on several public instances but had not been exhaustive. Have now tested most and have found one that works, so confirm your result. However, the majority of the public instances are returning 403 for me, so might need even tighter rate limiting. |
|
It's possible to bypass the new limits by pretending to be the Android client: you have to login with the Android oauth client ID and add some headers. See https://github.com/redlib-org/redlib. You can then query the JSON endpoints on the oauth.reddit.com domain. |
Woohoo redlib-org/redlib#90 is merged now, @dvikan is the plan to use redlib within RSS-Bridge to add this feature back? |
On and off my 5 reddit feeds fail in refresh. I've seen this 3 or 4 times now this week.
It has worked fine for the past few months. But now, not all the time. Not sure what causes this. Nothing has changed (that I know of) on my end.
Some quota limit? Or fuckery from Reddit with API?
Does anyone else have this? Thoughts?
For example;
The text was updated successfully, but these errors were encountered: