rdt-client icon indicating copy to clipboard operation
rdt-client copied to clipboard

No valid download clients found - Cleanuparr

Open unicornsandcandies opened this issue 4 months ago • 3 comments

What version are you using? Version 2.0.116.0

What OS are you running? Proxmox 9.0.3

Are you using Docker or as a service? Service

Which debrid provider are you using? Real-Debrid

Which downloader are you using? Internal

Please attach a log file here with the log setting set to debug https://pastebin.com/raw/N9XrFHbr

Description:

I can't hook rdtcleint to cleanuparr. I need it in my usecase. Is client "pretending" to be qbittorrent, correctly?

unicornsandcandies avatar Aug 13 '25 23:08 unicornsandcandies

Thats right yes, you will have to poke in the source or logs from cleanuparr to see which qBittorrent methods it's calling, as only a handful are implemented.

rogerfar avatar Aug 14 '25 13:08 rogerfar

Hey @unicornsandcandies! @rogerfar I ran into the same issue and spent some time debugging it.

The Problem: Cleanuparr's health check calls /api/v2/app/webapiVersion to verify the connection, but RDT Client was requiring authentication for that endpoint. When it fails auth, it returns the HTML login page instead of JSON, which causes Cleanuparr to error out with "No valid download clients found."

The Fix: The health check endpoints need to allow anonymous access (just like real qBittorrent does). I've tested this fix and it works perfectly:

In server/RdtClient.Web/Controllers/QBittorrentController.cs, add [AllowAnonymous] to these methods:

  • AppVersion() (around line 65)
  • AppWebVersion() (around line 74)
  • AppBuildInfo() (around line 83)

Code:

[AllowAnonymous]  // Add this line
[Route("app/webapiVersion")]
[HttpGet]
[HttpPost]
public ActionResult AppWebVersion()
{
    return Ok("2.7");
}

After rebuilding and restarting, you should be able to connect Cleanuparr without issues. Let me know if this works for you!

ajax1337 avatar Oct 09 '25 05:10 ajax1337

Has this fix been implemented yet?

makaone20 avatar Nov 09 '25 22:11 makaone20