Sonarr running on NAS cannot connect to Qbittorrent

This has been driving me crazy for days. I’m running Sonarr and qBittorrent on an Asus Nimbustor NAS. I keep getting the below error:

I’m able to connect Sonarr to other services like Prowlarr, Radarr, and Jellyfin but qBittorrent refuses to authenticate.

Username, password, and port are the same as what I’ve set in qbitt web UI.

Below are the Sonarr logs. I’m guessing it’s some kind of permissions issue but I’m not experienced enough in Linux to know how to fix it.

<!--- Additional Information: NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.TestConnection () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:387 [Warn] SonarrErrorPipeline: Invalid request Validation failed: -- Host: Unable to connect to qBittorrent

I doubt you’re using SSL for devices on your own local network.

I thought the same as you but apparently the current image of qBittorrent on the Asustor App Central store does require https connections on LAN. Trying to disable it bricks the app.

In the meantime, I can’t believe it but I solved my own issue.

In qBittorrent’s Web UI settings I just happened to check “bypass authentication for clients in whitelisted IP subnets” and put in Docker’s default “bridge” network subnet 172.17.0.0/16. Then restarted the container. Lo and behold now it’s connected.

Now if I can just work out how to connect remotely via https, then I can monitor my NAS when away from home.

Use a VPN connection for this. Or Tailscale.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.