this post was submitted on 10 May 2024
27 points (96.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

53370 readers
726 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS
 

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:

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 3 months ago (1 children)

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.

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago) (1 children)

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.

[–] [email protected] 4 points 3 months ago (1 children)

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

[–] [email protected] 1 points 3 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.

[–] [email protected] 1 points 3 months ago (1 children)

Have you read and tried each possible solution it tells you about?

[–] [email protected] 2 points 3 months ago (1 children)

Yes, that was were I started...when that didn't work I asked here

[–] [email protected] 1 points 3 months ago (1 children)

Then I would continue following its advice and open an issue. It could be a bug in the program.

[–] [email protected] 2 points 3 months ago

I'm not very competent with docker, so honestly I think the error is more on my end than theirs. I bet there is some setting I have set incorrectly and I'm just missing it.

[–] [email protected] 1 points 3 months ago
[–] [email protected] 0 points 3 months ago (1 children)

If all else fails you can overwrite the healthcheck command or even disable it altogether.

[–] gravitas_deficiency 1 points 3 months ago (1 children)

lol that second one is a terrible idea

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago) (1 children)

Wouldn't you want to turn it off if it doesn't work reliably? I struggle to see the point of keeping around a health check that behaves erratically.

[–] gravitas_deficiency 2 points 3 months ago* (last edited 3 months ago)

I suppose it’s a personal choice of where you set the bar for your systems.

Personally, as a software engineer who’s designed and built a lot of systems over the course of my career: nope - not if you want to just set it and forget it, that is. Which I do. And yes, most of the systems I’ve built professionally aren’t to that standard (mostly due to time constraints), which has consistently frustrated me, but you gotta be a little bit zen about stuff you don’t have complete ownership over.

Maybe your tolerance for manual intervention is higher than mine, but in terms personal standards, I don’t consider a system to be “done” until it’s configured to to handle itself resiliently and recoverably in all but the most catastrophic situations (I.e. basically, a hardware fault, or some sort of fairly serious upstream infrastructure failure).

All that said: YMMV. It’s a personal preference, and I know my standards would be considered abnormally strict by some.