mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-04 12:21:33 -06:00
[BUG] Can't connect to qbittorrent #40
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Eyt-Lev on GitHub.
Before submitting a bug report, I have:
What is the behavior?
I cant connect to qBittorrent. radarr works fine (yes its on port 5003)
Which operating system do you use?
Linux
What type of deployment do you use?
Docker container
Relevant log output
Anything else?
Rdarr qBittorrent and Cleanuparr are all on the smae docker network
I've tried to:
radarr:
@Eyt-Lev commented on GitHub:
why would i use a vpn? its just a local connection in the docker network
if radarr and sonar can reach it just fine, why not cleanuparr?
@Flaminel commented on GitHub:
Basic auth is for when people are using a second round of auth on top of qBit's login system. Is that relevant to your setup? If
Unauthorizedis not part of the logs, I would not consider that being the case. Anything else that might be relevant to your setup?@Flaminel commented on GitHub:
Idk, the usual reason people are using a VPN? I'm not saying that you're using a VPN to connect qBit to the arrs. Are you using a VPN at all in your setup?
I don't know how your network setup looks like. I'm mentioning again that people have encountered this before and it's always from the networking.
@Flaminel commented on GitHub:
This does not seem like a bug, but rather a misconfiguration of your network. While the service seems reachable, it did not respond in a timely matter and people usually encounter this because they're using a VPN. Are you using one?
Ok, but is the problem permanent or does it become healthy sometimes?
@Eyt-Lev commented on GitHub:
i have no vpn. setup is very simple:
radarr (sonarr), qb and cleanuparr are on the same docker bridge network (127.0.0.1)
radarr can acess qb through 172.17.0.1:8080 (now using 8080, switched to check if it'll work) and cleanuparr is getting a timeout, although obviously able to access it, verifed by running ping and curl in the container.
It's probably something in cleanuparr that interpret 403 (unauthorized) as not responding and results in a timeout.
I saw a relatively new PR to add basic auth support to qb, so is it not supported now?
I'll try to rollback cleanuparr next
@codebeetl commented on GitHub:
I had a very similar issue to this. After some diagnostics I stopped the qbt container and added "IPFilter\BannedIPs=" to the config file ~/.config/qBittorrent/qBittorrent.conf ([Preferences] section) and respun the container and all was well and qbt stopped intermittently declining access. I had to enable logs in qbt to determine this. YMMV
ETA: I only had this behavior from Cleanuparr - Sonarr etc did not cause qbt to react this way, go figure
@Flaminel commented on GitHub:
Cleanuparr does not decide if the tracker is private or not. The
.torrentfiles are marked as private if they are coming from private trackers and this information is provided by the download client.@Eyt-Lev commented on GitHub:
nothing else relevant in my setup
here is another log called "Failed to login" (indicating that cleanuparr probably finds qb but can't login and says it's a timeout)
also, small not very related question:
what cleanuparr counts as private tracker? do i need to manually set that (didn't find anything like that)? is it from prowlarr defining trackers as private?
@Eyt-Lev commented on GitHub:
i did
docker execinto the container and ran ping and curl from there. no logs on qb@codebeetl commented on GitHub:
@Eyt-Lev - have you checked the qBittorrent logs? - it may have banned the incoming IP. You'd get 200 from your test device, but not from the Cleanuparr container
@Flaminel commented on GitHub:
Might be because the other apps are not so heavy with the amount of requests to qBit, but there's really nothing from the app itself that should be different than doing a simple
curlor just using the arrs, unless there something about setting a certainUser-Agentin the request, but I can't find any specific one in Sonarr.@Eyt-Lev commented on GitHub:
doesn't seem to be working for me sadly
is the config right?

I've restarted everything
@Eyt-Lev commented on GitHub:
and with qbittorrent
latest?@Flaminel commented on GitHub:
Seems to be working fine for me, so how exactly should I reproduce the problem?
@Eyt-Lev commented on GitHub:
from what I've seen in qb,
IPFilter\BannedIPsis used to ban IPs of other torrent peers, not webUI clients@Eyt-Lev commented on GitHub:
Update: solved it (somehow) by just completely removing cleanuparr config and starting it only with qb configured.
last time I tried resetting that i got to qb configuration after the *arrs may be the problem
@Flaminel commented on GitHub:
Works just fine with
latestas well. I've even deleted the qBit configuration and, after changing the user and pass and restarting the container, everything seems to be working fine.