-
-
Notifications
You must be signed in to change notification settings - Fork 266
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: Error on home page #870
Comments
I just had this happen to me and I checked Moving to a different egress IP seems to have fixed everything for the moment but it鈥檚 unclear how long that will last. Will report back if I learn anything more. If you can test from a different IP I recommend giving that a shot. |
I have a reserved static IP with a bunch of other services running on the same host. I would have to re-write allowlists, firewall rules etc. This is not a solution for me, unfortunately EDIT: Funny, of the 4 microservers that I spun up - only one could connect to Reddit via curl. My home IP also was able to connect. Pretty frustrating |
That contributes to the theory that Reddit just updated their IP blocklists to be much stricter. My guess is they鈥檙e working towards blocking everything but end users - so like only allowing traffic from residential IP blocks. Even if that鈥檚 the case, it will always be a cat and mouse game. Still it鈥檚 a disappointing development. 馃槥 |
If anyone has access to an IP that is still being blocked and has the ability to compile and run directly (not just docker), please shoot me an email/matrix message (email is in the bottom of https://matthew.science, matrix is sigaloid:matrix.org). |
I've sent an email 馃憤馃徎 |
How to know that your ip is blocked
What to do
https://blog.cloudflare.com/announcing-warp-for-linux-and-proxy-mode/
and than connect to reddit through So I hope @sigaloid could resolve #841 first. Or you could use my Temporary solution https://github.com/freedit-dev/libreddit |
Can I ask what your solution does @freedit-dev? |
I have the same problem as well.. Its really sad how reckless reddit its driving its decisions. |
This is happening to me now too, i've tried some proton vpn servers but they all seem to be blocked. |
You could just build and deploy libreddit fork with Tor support https://git.spec.cat/Nyaaori/libreddit Or build and deploy my temporary solution https://github.com/freedit-dev/libreddit which add support socks proxy. And then install Cloudfalre warp, enable proxy mode. set env |
@freedit-dev mind releasing a binary? |
@duoi Ok, but it's not compatible to the original libreddit. You must offer a socks5 proxy to make it work. |
@freedit-dev great, thank you. Yes, entirely aware of the incompatibility. I can offer my Docker configuration after I get it working as a PR to your fork so that it can be standalone. |
https://git.spec.cat/Nyaaori/libreddit is working fine for me. Can happen that after some time of inactivity appears "impossible to connect to tor" but just reload the page. As for the speed obviously is that of the tor network. |
Apologies if this is a stupid question, but can't we send a dummy/anonymous non-dev account login or cookie so reddit thinks we are logged in? |
@freedit-dev posting here as issues aren't enabled on your repo. It seems that I can't execute the binary. The size is quite different from the officially compiled one, not sure if that's playing a role.
vs.
The outcome of execution is |
Since I also didn't know how to use freedit his modified libreddit, here is another solution.
|
@Unmoved38 I forked @freedit-dev's repo here and enabled the build step that the core libreddit use to get a functioning binary. Haven't had time to install warp onto the container but this is will at least fetch the release from my fork and start the container: https://gist.github.com/duoi/5314a768d8815171f77c950aa5a9da08 |
I suspect reddit started blocking some IP ranges of Linode, regardless of traffic or software like libreddit or teddit. I rent two VPSes, with separate IP addresses, and only one has ever hosted libreddit. However, I get 403 Blocked and "whoa there, pardner!" text from both VPSes. Out of sheer curiosity, if anyone has a Linode, DigitalOcean, or other rented VPS with a static IP, would you mind confirming that you are also blocked by reddit? If it matters, I used Lynx from the terminal, |
Oracle Cloud is definitely blocked also. |
I have a vps from time4vps in lithuania and its ip is blocked, too. Anxiously waiting for a docker image with vpn ability :) . |
I was hosting fine on Oracle Cloud but it got blocked too, so I throw in gluetun to a vpn and it works fine again, but it might just be a question of time before it gets blocked too. |
Contabo and Hetzner CIDR seesms to be blocked too. Just tried from a couple of vps that had never connected to reddit servers before.
The question is: Why don't just use tor? My instance is still working fine after 2 weeks. |
Not a stupid question, as it's exactly the method I'm going to use when I fork it in the next few weeks :D
Tor is a good alternative, probably one I'll add as well once I get all of this on the front burner (next 2 weeks ish?) |
@maxysoft How did you setup tor for libreddit? I would do it but only for libreddit itself so that my other stuff doesn't use tor traffic. |
Both my vps's on vultr and contabo are block rrn, it started about 3 weeks back, then they got block literally the same hour. |
I've used the modified libreddit by nyaaori
|
For all still impacted by this: I've forked it and added OAuth spoofing which bypasses the rate limiting. |
I also use a rented VPS with static IP, also having the same issues with both teddit and libreddit |
Worked for me, thank you. Also thank you for adding a docker compose file, I've been using NPM + portainer for my self hosted servers so a docker file is very much appreciated. |
Glad to hear it fixed your issue! 馃榿 |
Can I ask if you鈥檝e included any other PRs or tweaks? Looks awesome! |
You can find a full list here: redlib-org/redlib#2 Tldr, most of the active PRs in the repository that were important changes or fixes. If I missed any someone wants, would be happy to take a look. |
Describe the bug
I'm pretty sure it is a change on Reddit itself and not a bug, but every subreddit, post and even a home page gives me a
Failed to parse page JSON data: expected value at line 1 column 1
.I'm running libreddit in a docker container, the container itself is healthy and the logs didn't specify anything related:
Steps to reproduce the bug
Steps to reproduce the behavior:
What's the expected behavior?
Give me back my subreddits and posts :)
Additional context / screenshot
N/A
The text was updated successfully, but these errors were encountered: