redlib icon indicating copy to clipboard operation
redlib copied to clipboard

I made a small tool to help with timeout issues

Open RayBB opened this issue 1 year ago • 0 comments

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/

RayBB avatar Dec 05 '24 21:12 RayBB