My gluetun VPN keeps failing the health check after running for a few hours. I found that some had fixed this by changing the update period to a shorter interval, and this worked for a while for me as well. But for the last 24h or so, it keeps failing after a few hours.

How can i fix this?

docker compose:

gluetun log:

  • AnEilifintChorcra@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 months ago

    Are you seeding a lot of torrents?

    Something similar kept happening to me last year, constantly disconnecting no matter what I tried. I thought it was a gluetun issue so I stopped using docker and tried the official ProtonVPN app, openvpn, wireguard and community version of protonvpn, I tried switching from arch to ubuntu on my NAS and the same thing kept happening.

    I was convinced it was a hardware issue so I tried different hardware, same issues.

    The only thing that fixed it was reducing the number of torrents I had seeding. At the time I had ~500 and once I lowered it, I stopped disconnecting.

    Now I run 3 gluetun containers with 1 qbittorrent container connected to each and they each have ~400 torrents seeding and I haven’t had any issues since.

    • ExcessShiv@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 months ago

      Huh…i don’t have a lot seeding, but I do have one big one that’s seeding at a high rate, and it started seeding recently.

      • AnEilifintChorcra@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 months ago

        The size of the file and speed shouldn’t be an issue, unless its crazy high speeds, I’m seeding a bunch of 80+ GB files, I think for me it was the number of connections being made that was causing the disconnects for me.

        I assume its not something basic like the ProtonVPN subscription lapsed or one of the issues mentioned in the link in the logs https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md

        I’d try a few different countries and see if its that specific one, I like to have 3 different countries listed in my compose files so if there are issues with one countries servers it just connects to the next country instead

        You could also try switching between wireguard and openvpn configs to see if that helps https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/custom.md#wireguard

        • ExcessShiv@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          no my subscription is fine, and working on other devices without issues, firewall and internet connection should also be fine. I’ll try adding more countries to the compose file and see if that helps.