redlib
redlib copied to clipboard
π Bug Report: Couldn't send request to Reddit: error trying to connect: dns error: failed to lookup address information: Try again
Describe the bug
Whenever I try to visit my own Redlib instance at redlib.reallyaweso.me, I get this error:
Couldn't send request to Reddit: error trying to connect: dns error: failed to lookup address information: Try again
Steps to reproduce the bug
- Go to redlib.reallyaweso.me
- See error
What's the expected behavior?
I should normally see the frontpage of my own instance.
Additional context / screenshot
The logs of the Docker container seem to be reporting the same issue:
redlib | ERROR redlib::utils > Error page rendered: Couldn't send request to Reddit: error trying to connect: dns error: failed to lookup address information: Try again
@AlexPewMaster did you find any solution for this one?
I started getting this message on the main page of my own instance. But seems like yours has been fixed. What was the solution?
EDIT: Found my issue - tailscale somehow messed with my container's DNS. Not sure how, considering I haven't changed anything in a few years
Suddenly caught this bug as well. Seems it has something to do with adding more than 1 subreddit to the cookies.
Suddenly caught this bug as well. Seems it has something to do with adding more than 1 subreddit to the cookies.
Same here with v0.31.2 and was able to avoid the error with 0 or 1 subscribed feed. But it worked fine just a few hours ago with multiple subreddits. Did reddit change something?
Had the similar problem; it seems that if I do not subscribe anything, the error wonβt appear, but searching will return no posts for me
I installed Redlib yesterday and it was working perfectly until a couple of minutes ago. Same issue as already related. I also noticed that If for example I open a new icognito tab it works fine (but with a clean profile and none of my previous subscriptions).
Got the same problem on my own instance, reddit must have changed things....
Fixed in https://github.com/redlib-org/redlib/commit/273d889f1b05b23ca1a038fd36da564289b6455a
Release needs some kinks worked out, clone from source if you need this fix asap
Still getting this with the 0.34.0 binary.
Release needs some kinks worked out, clone from source if you need this fix asap
So release is no good to use then at all, even the 0.34.0 binary which came after https://github.com/redlib-org/redlib/commit/273d889f1b05b23ca1a038fd36da564289b6455a ?
Linux 6.6.32-1-lts
podman 5.1.0-1
podman-compose 1.1.0-2
podman-docker 5.1.0-1
Used the Dockerfile here to build locahost
/info page:
Package name redlib
Crate version 0.34.0
Git commit 7a099f259fb5839cd0b5928876c2d22841d505dc
Deploy date 2024-05-31 18:37:17.289669457 +00:00:00
Deploy timestamp 1717180637
Compile mode Release
SFW only off
Pushshift frontend undelete.pullpush.io
Default preferences
Hide awards off
Hide score off
Theme dark
Front page all
Layout compact
Wide off
Comment sort confidence
Post sort hot
Show NSFW on
Blur NSFW on
Use HLS off
Hide HLS notification on
Subscriptions
~ $ cat /etc/resolv.conf
search dns.podman
nameserver 10.89.11.1
:confused: Thank you!