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

RedditBridge returns error 403 (19707)

Open mglh opened this issue 2 years ago • 2 comments

r/qutebrowser as an example. Seems to pertain to all subreddits.

HttpException: 
https://www.reddit.com/search.json?q=subreddit%3Aqutebrowser&sort=hot&include_over_18=on 
resulted in 403 Forbidden in lib/contents.php line 106

index.php(11): RssBridge->main()
lib/RssBridge.php(113): DisplayAction->execute()
actions/DisplayAction.php(71): DisplayAction->createResponse()
actions/DisplayAction.php(106): RedditBridge->collectData()
bridges/RedditBridge.php(83): RedditBridge->collectDataInternal()
bridges/RedditBridge.php(142): getContents()
lib/contents.php(106)

Query string: action=display&bridge=RedditBridge&context=single&r=qutebrowser&f=&score=&d=hot&search=&format=Html
Version: 2023-09-24
Os: Linux
PHP version: 7.4.33

mglh avatar Dec 16 '23 07:12 mglh

Seems like Reddit updated their IP blacklists, this libreddit issue has some more details.
Both (libreddit and RssBridge) stopped working for me at the same time, ran both on a VPS.
Try to cURL a reddit URL from your host, should throw the same 403 error.

Only solution is to make the requests from another IP, one that's not on the blocklist and not associated with server hostings and such.
I moved my stuff to a NAS, residential IP that changes daily, works (for now).
The only other alternative is some kind of proxying like the libreddit fork does.

joshinat0r avatar Dec 16 '23 17:12 joshinat0r

https://github.com/RSS-Bridge/rss-bridge/issues/3802

dvikan avatar Dec 16 '23 20:12 dvikan