Is there an existing issue for this?
Related but not exact duplicates: #92, #179, #300, #302, PR #217, PR #303.
Current Behavior
When using TorBox via Decypharr's rclone/FUSE mount, transient TorBox requestdl failures with HTTP 502 during streaming/probing poison the mount. After the 502, clients start seeing filesystem errors such as:
Socket not connected
Transport endpoint is not connected
Input/output error
- stuck reads/
ffprobe in uninterruptible D state
This affects Jellyfin library scans/playback and *arr stat/import checks against symlinked media. Restarting/remounting Decypharr clears it temporarily, but the issue recurs when Jellyfin scans/probes many files or large remuxes.
Important: this is not the old TorBox / vs ? requestdl URL bug from PR #217. This deployment already includes that fix, and also includes a local build with PR #303 (CDN URL caching) and PR #305.
Expected Behavior
A transient TorBox requestdl HTTP 502 should not poison the FUSE/rclone mount or leave consumers stuck.
Ideally Decypharr should:
- Treat TorBox
requestdl 502/5xx as transient.
- Retry with backoff/jitter before returning failure to rclone/WebDAV.
- Invalidate any cached download link for that file when CDN/link fetch fails.
- Return a clean retryable error if all retries fail, without wedging the mount.
- Avoid leaving rclone/FUSE reads stuck in a state where future
stat/read calls return Socket not connected until container restart.
Steps To Reproduce
- Configure Decypharr with TorBox and rclone/FUSE mount.
- Import symlinked media into Jellyfin/Radarr/Sonarr.
- Let Jellyfin scan/probe several FUSE-backed files, especially anime episodes or large remuxes.
- Eventually TorBox returns
502 for a requestdl/download-link fetch.
- After this, symlinked files that previously resolved can fail with
Socket not connected or hang in reads/ffprobe until Decypharr is restarted/remounted.
Environment
- OS: Linux / Docker
- Decypharr version: 2.3.1 beta local build
- Image: beta + PR #303 + PR #305 (`decypharr-local:beta-pr303-pr305`)
- Debrid provider: TorBox
- Mount type: rclone/FUSE
- Consumers: Jellyfin, Radarr, Sonarr
- TorBox throttling in config: low/conservative (rate/download/repair roughly 1/minute, workers 1)
Relevant Logs
Decypharr WebDAV/link-fetch failures:
2026-05-25 23:58:30 | ERROR | [webdav] Error streaming file: Frieren Beyond Journeys End S01E07 ... error="failed to get download link: 502: unknown error code: 502"
2026-05-26 00:03:33 | ERROR | [webdav] Error streaming file: Frieren Beyond Journeys End S01E01-E04 ... error="failed to get download link: 502: unknown error code: 502"
2026-05-26 00:04:32 | ERROR | [webdav] Error streaming file: Frieren Beyond Journeys End S01E05 ... error="failed to get download link: 502: unknown error code: 502"
2026-05-26 00:09:32 | ERROR | [webdav] Error streaming file: Frieren Beyond Journeys End S01E09 ... error="failed to get download link: 502: unknown error code: 502"
2026-05-26 00:10:33 | ERROR | [webdav] Error streaming file: Frieren Beyond Journeys End S01E10 ... error="failed to get download link: 502: unknown error code: 502"
2026-05-26 00:12:32 | ERROR | [webdav] Error streaming file: Frieren.Beyond.Journeys.End.S01E12... error="failed to get download link: 502: unknown error code: 502"
After these errors, clients see filesystem failures:
stat: cannot statx '/data/media/movies/The Devil Wears Prada (2006)/The.Devil.Wears.Prada.2006.EUR.BDRemux.1080p.mkv': Socket not connected
stat: cannot statx '/data/media/movies/F1 (2025)/F1.The.Movie.2025.2160p...mkv': Socket not connected
stat: cannot statx '/data/media/movies/Project Hail Mary (2026)/Project.Hail.Mary.2026...mkv': Socket not connected
Jellyfin can leave ffprobe stuck in D state while probing a FUSE-backed file:
/usr/lib/jellyfin-ffmpeg/ffprobe ... -i file:/data/media/anime/Frieren - Beyond Journey's End/Season 1/Frieren - Beyond Journey's End - S01E13 - Aversion to One's Own Kind WEBDL-1080p.mkv ...
Decypharr/rclone restart/remount clears the issue temporarily:
[rclone] Successfully mounted rclone filesystem
After restart/remount, the same file can stat/read successfully again:
stat rc 0 out 35909270356 regular file
read4k rc 0
Trace Logs have been provided as applicable
Is there an existing issue for this?
Related but not exact duplicates: #92, #179, #300, #302, PR #217, PR #303.
Current Behavior
When using TorBox via Decypharr's rclone/FUSE mount, transient TorBox
requestdlfailures with HTTP 502 during streaming/probing poison the mount. After the 502, clients start seeing filesystem errors such as:Socket not connectedTransport endpoint is not connectedInput/output errorffprobein uninterruptibleDstateThis affects Jellyfin library scans/playback and *arr stat/import checks against symlinked media. Restarting/remounting Decypharr clears it temporarily, but the issue recurs when Jellyfin scans/probes many files or large remuxes.
Important: this is not the old TorBox
/vs?requestdl URL bug from PR #217. This deployment already includes that fix, and also includes a local build with PR #303 (CDN URL caching) and PR #305.Expected Behavior
A transient TorBox
requestdlHTTP 502 should not poison the FUSE/rclone mount or leave consumers stuck.Ideally Decypharr should:
requestdl502/5xx as transient.stat/read calls returnSocket not connecteduntil container restart.Steps To Reproduce
502for arequestdl/download-link fetch.Socket not connectedor hang in reads/ffprobe until Decypharr is restarted/remounted.Environment
Relevant Logs
Decypharr WebDAV/link-fetch failures:
After these errors, clients see filesystem failures:
Jellyfin can leave ffprobe stuck in
Dstate while probing a FUSE-backed file:Decypharr/rclone restart/remount clears the issue temporarily:
After restart/remount, the same file can stat/read successfully again:
Trace Logs have been provided as applicable