u/downstairs_upstairs

▲ 41 r/rclone+2 crossposts

Sick of rclone 429 rate limits with Plex/Jellyfin? I built Warpbox: an open-source WebDAV proxy for TorBox.

Hey everyone,

I wanted to share a project I've been working on to solve a massive headache when running TorBox alongside media servers. Whenever I ran a library scan over a direct rclone mount to Plex or Jellyfin, the media server would probe file headers, hitting the API with a massive spike of concurrent requests all at once. This instantly breaches TorBox's 300 RPM rate limit, leading to immediate 429 errors and account lockouts.

Using --tpslimit=1 was a clumsy band-aid that killed my throughput, and generic WebDAV proxies don’t offer any protocol-specific protection.

It wasn't just that my streams were cutting out. During background scans, my setup would hit a wall of 429s, causing Plex to assume the files were missing entirely and automatically empty the trash... wiping out my library matching and watch history. Plus, constantly hammering the API limits is a fast track to getting a TorBox account flagged or banned under their automated abuse system.

To solve this for my own setup, I built Warpbox - a lightweight, high-performance WebDAV proxy written in Go specifically tuned for TorBox's API behaviour.

Repo: https://github.com/mainlink0435/warpbox

How it fixes the rate-limit issue:

  • Zero-API Browsing... It syncs your TorBox directory into a local SQLite database with fully configurable cache times. Media server lookups hit the local DB instantly. Cost: 0 API calls.
  • Smart Throttle Queue... If your media server fires off 200 concurrent requests, Warpbox queues them and trickles them to TorBox safely below the limit. rclone just sees a slow disk; nothing crashes.
  • Smart CDN Caching... Caches active download links with configurable TTLs so repeated file requests don't hammer the API when links change.
  • Direct Streaming Offload... For full-file downloads, Warpbox issues a 302 Redirect straight to the CDN, stepping out of the data path entirely to save local bandwidth.

Setup

It is fully containerised and ready to go. I've included a complete, copy-pasteable Docker Compose template in the repository README that spins up both Warpbox and an optimised rclone mount automatically.

Full transparency: I developed this project with AI assistance, but every architectural choice has been designed, guided and refined by me.

I've been using it for a while now for my own streaming library and it has completely eliminated my rate-limit issues. It's totally sorted out my setup, so I hope it saves you some headaches too. Feel free to give it a spin and enjoy.

reddit.com
u/downstairs_upstairs — 13 days ago