Unable to connect to bittorrent client

Sonarr version (exact version): 3.0.10.1567
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Windows as a Docker
Debug logs:
Description of issue:

I got BitTorrent, running as a docker in localhost:8080, which I can log in. And when I visit this http://localhost:8080/api/v2/app/webapiVersion, I’m getting 2.8.19 in the browser.

However in Sonarr, when I try to connect to BitTorrent, Im getting the following error

2023-05-11 11:11:30.3|Error|QBittorrent|Unable to test qBittorrent

[v3.0.10.1567] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to connect to qBittorrent, check your settings. —> System.Net.WebException: Error: ConnectFailure (Connection refused): ‘http://localhost:8080/api/v2/app/webapiVersion’ —> System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused

Both apps run on the same machine, as a docker in windows.

If you are running windows why not just use the native windows apps of Sonarr and Qbittorrent?
With that being said did you input the right username and password in Sonarr when you set up Qbittorrent? You could also try a different docker image.
And how are your folders mapped? Trash Guides has a good tutorial on how to configure and map folders

Ah that’s a good point, I will try to use Windows native version. But I figure out the issue but not sure why. Sonarr connects to Qbittorrent if I use the IP address of the machine instead of the localhost in the Qbittorrent settings in Sonarr I’m not sure why tho.

They don’t share a localhost.

What did you mean by that?

In essence, you’re running two different virtual machines (kinda, sorta, containers aren’t VMs, but it’s an easy way to think about it), with each container having its own localhost.

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