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

I made a small tool to help with timeout issues #343

Open
RayBB opened this issue Dec 5, 2024 · 0 comments
Open

I made a small tool to help with timeout issues #343

RayBB opened this issue Dec 5, 2024 · 0 comments

Comments

@RayBB
Copy link

RayBB commented Dec 5, 2024

I've looked into this a bit and cannot figure out why I get so many timeout issues with redlib.

I run it via coolify (which uses Traefik) and sometimes it just gets stuck on "gateway timeout" for a few minutes.

I'm pretty sure it's not an issue with redlib because if I ssh into the docker container and curl for a redlib post it responds instantly and works great. However, I don't know enough about traefik to try to figure out where the issue comes from.

Long story short, I made a little page called redlib-poke that will keep trying to fetch the redlib page until it gets a < 2s response and then redirect to there. Anyway, if someone else is having this issue and wants to try it out I hope this helps you.

Source: https://github.com/RayBB/onepagers/tree/main/sites/redlib-poke

Example url:
https://www.rayberger.org/onepagers/sites/redlib-poke/?url=https://eu.safereddit.com/r/technology/comments/1h7gbhc/moderators_delete_reddit_thread_as_doctors_torch/

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

1 participant