I’m noob at Linux (it just works), so I have no idea how to start troubleshooting this weird issue, any help appreciated!

The setup: stock EndeavourOS, ProtonVPN, qBitTorrent bound to the VPN interface (and Transmission);

the issue: if qBit is running, no matter the load or the server (I have access to P2P-enabled servers), it kills my VPN connection in a matter of minutes, Transmission does not. It is reproducible, launching qBit means getting disconnected, without fail;

the timeline: no issues since I installed EndeavourOS (a year and a half or so), it started happening five to seven days ago, though since a few months ago I would get the same disconnection while qBitting, but only once a day and only while I was away and the system was locked, after I came back to it and reconnect, stable until shutdown. In the months between I haven’t made any changes to my system, just got a new GPU a year ago;

what I tried: I initially though it was a VPN app problem, so I tried reinstalling it, both native and flatpak, after deleting all of its data of course.

Transmission works but I prefer qBit so I’d love to go back to using it.

Where do I start troubleshooting?

I currently can’t be at my PC, so I can’t troubleshoot “live”, but I figured posting this early means more people seeing it and getting more input.

Thanks in advance!

ip link (VPN, no qBit): https://pastebin.com/RtwDqiEN

ip link (VPN, qBit): same identical output (verified with Kate, EndeavourOS text file reader)

journalctl qbit: https://pastebin.com/e2XCgGKy

journalctl PVPN: https://pastebin.com/DiPBvP5W

dmesg: empty for both “torrent” and “proton”

sudo dmesg -l err: virt/tdx: TDX not supported by the host platform

FINGERS CROSSED but it seems that lowering max connections DID fix it, though I’m currently on 20/10/5/4 and it’s limiting. I’ll try upping and see where it lands on, and hopefully that’ll be it.

As per this comment

~~https://leminal.space/post/41934365/26536143~~

Proton must have changed something on their end since I used to run qBit with 500 max connections up until the problem started

UPDATE days later: nevermind, the issue was not fixed by anything other than reducing the amount of active torrents. Seems like PVPN doesn’t like me having 400+ active torrents, even though just a few of them are actively being seeded. Transmission did not show the same behaviour also because I only imported ~20 torrents to test. Guess you can’t really seed everything forever…

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    never heard of this. super weird.

    can your VPN be used with a generic client (ie. wireguard instead of protonvpn app)? it looks like the app is getting overwhelmed somehow?

    • crow@leminal.spaceOP
      link
      fedilink
      arrow-up
      0
      ·
      12 days ago

      at Brickfrog’s suggestion I crossposted this on the piracy community, and someone did incur in the same issue. Apparently it’s a ProtonVPN DDOS protection, and the fix is lowering the number of max connections, so you’re kind of right, though it’s server-side. I’m now on 20 max global connections and it seems to chug along, for the time being. Now, as to why Transmission worked with 200 max connections, while qBit gets a connection timeout with 150 max, I don’t really know. Though I tried Transmission “as is” without even configuring ports, so that probably lowers the actual number of connections it can establish? I did see lower upload speeds in it, compared to my actual bandwidth and to what I used to see in qBit

      • TrollAccount69@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        12 days ago

        Transmission wasn’t bound or if bound was going around the port forwarding because it didn’t have the ports configured.

        Airvpn doesn’t have that limit if you’re looking to bypass that problem.

        Also when you’re ready for it, rtorrent is ready for you.

    • Jack@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      See Transmission’s history with ransomware KeRanger and backdoor Keydnap.

      • cristian64@reddthat.com
        link
        fedilink
        arrow-up
        0
        ·
        12 days ago

        Interesting. I never heard of this at the time. The issue was not with Transmission or its code, though, but with a compromised website. So anyone using a Linux distro would not even download it from the compromised site.

    • crow@leminal.spaceOP
      link
      fedilink
      arrow-up
      0
      ·
      12 days ago

      For the most part, I’m not fond of its GUI, the rest is because I’ve been using qBit for, I don’t know, maybe ten or twelve years now

  • printf("%s", name);@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    12 days ago

    I have never heard of this before. I’m just guessing here, but have you tried binding your qBit client to the VPN interface (tun0 or the likes) from settings? Normally that’s not why you do that, but I wonder if it could somehow force the VPN to stay alive…

    Meanwhile, some more info that people might ask for, with which you may want to edit your post, are the output of:

    • ip link (when VPN is running and when qBit is running)
    • journalctl /usr/bin/qbittorrent (or the location where your qBit is installed)
    • journalctl /usr/bin/[whatever the VPN executable is called] (or the location where your VPN is installed)
    • sudo dmesg | grep -i "torrent"
    • sudo dmesg | grep -i "proton"
    • sudo dmesg -l err
    • crow@leminal.spaceOP
      link
      fedilink
      arrow-up
      0
      ·
      13 days ago

      yes, qBit was always bound to the VPN interface, I’ll add it to the OP.

      thanks for the commands, I’ll see what they return and add everything to the OP as soon as possible

  • scutiger@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    A quick search tells me that Proton has servers for P2P. Are you connecting to one of those?

    If that doesn’t help, check if encryption is enabled/forced in both apps. Your traffic may be getting flagged and they may be shutting you down because of it…

    • crow@leminal.spaceOP
      link
      fedilink
      arrow-up
      0
      ·
      12 days ago

      Yes, virtually all servers allow P2P (there are two or three locations that don’t), and I get the same issue regardless of which one I’m connected to.

      Encryption is set to “allow” in qBit and “prefer” in Transmission.

      Thanks!

  • Brickfrog@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    Just taking a guess: You could try lowering qBittorrent’s total connections and/or bandwidth to see if that helps? I wonder if Transmission is configured for a lower amount vs qBittorrent and somehow the VPN client can’t handle the traffic that qBittorrent pushes through. You could also experiment with disabling DHT & see if that helps - DHT is very useful for public torrenting so disabling it is not ideal but it does generate extra connections.

    You may get better answers in https://lemmy.dbzer0.com/c/piracy there’s probably people with similar setups there that can offer better advice.