Ubuntu server can't connect to some sites when qbittorrent is running
Hey all, ran into a weird issue with my Ubuntu server running qbittorrent-nox I can't seem to figure out.
When Qbittorrent is running, I can't load some sites. How I discovered this was Jackett was failing tests to my trackers. Sometimes all trackers would fail, other times only a couple would.
From the server I ran a curl to the tracker URLs and confirmed they were not loading.
Pcap shows the TLS hello go out, but no response from the server.
Once I kill the qbittorrent process, everything works.
Wondering if anyone has any ideas or has seen this issue before.
Things I've tried:
Disabled ipv6
Changed Qbit UI port
Paused Torrents
re-installed openssl
rebooted about 150 times and counting
Qbit version is 4.5.5
Ubuntu 22.04.3 headless running on Esxi
From your description I would gues that the affected trackers have some rate or connection limits, and your qbittorrent announces are exceeding them.
try setting a higher announce interval, like 1+ hours
Anonamouse just announced that they're likely to ban some client/version pairs precisely because of announce floods. Thing is, does the problem clear up instantly when the client is killed, or does it take time? The latter would indicate a server side van expiring, the former some issue on the client side.
Sounds like you've already maybe ruled out some things, but as far as the port exhaustion question people had, you could prove that with "netstat -s" to see total number of active connections. You might also look in the qbittorrent log file for anything stands out. You might also check your router to make sure you're not doing some weird port forward or something of that nature.
Do you currently have a bunch of active torrents, each with a bunch of connected peers? What's your network topology like? Aging combo modem/wifi/router? Have you tried limiting the total number of connected peers in your torrent manager? Torrents can really clog up a network. Sometimes routing too many connections overwhelmed my old router, forcing a reboot before any traffic could get through again.