Bug: port forwarding logs say it's working but it goes down after some time
Is this urgent?
No
Host OS
QTS (QNAP NAS)
CPU arch
x86_64
VPN service provider
ProtonVPN
What are you using to run the container
Portainer
What is the version of Gluetun
Running version latest built on 2025-01-22T08:30:14.628Z (commit 13532c8) / tried main, v3.39.1 and v3.40.0
What's the problem 🤔
When running gluetun at main or tag v3.40.0, port forwarding will stop working very often (sometimes after less than a day). The log output says the port is open but if you try to hit that port from outside it reads as closed. The only way to fix it is to restart the container entierely. The following logs shows that I started gluetun yesterday and the port closed today between 10 and 11 AM local time (I have a cronjob checking hourly so no precise timing). The issue doesn't happen with tag v3.39.1 and I managed to keep the port open for more than a week.
Share your logs (at least 10 lines)
========================================
========================================
=============== gluetun ================
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2025-01-22T08:30:14.628Z (commit 13532c8)
🔧 Need help? ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new/choose
🐛 Bug? ✨ New feature? https://github.com/qdm12/gluetun/issues/new/choose
💻 Email? [email protected]
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2025-05-20T19:14:05+02:00 INFO [routing] default route found: interface eth0, gateway 10.0.3.1, assigned IP 10.0.3.2 and family v4
2025-05-20T19:14:05+02:00 INFO [routing] local ethernet link found: eth0
2025-05-20T19:14:05+02:00 INFO [routing] local ipnet found: 10.0.3.0/24
2025-05-20T19:14:05+02:00 INFO [firewall] enabling...
2025-05-20T19:14:05+02:00 INFO [firewall] enabled successfully
2025-05-20T19:14:06+02:00 INFO [storage] merging by most recent 20776 hardcoded servers and 20776 servers read from /gluetun/servers.json
2025-05-20T19:14:06+02:00 INFO Alpine version: 3.20.5
2025-05-20T19:14:06+02:00 INFO OpenVPN 2.5 version: 2.5.10
2025-05-20T19:14:06+02:00 INFO OpenVPN 2.6 version: 2.6.11
2025-05-20T19:14:06+02:00 INFO IPtables version: v1.8.10
2025-05-20T19:14:06+02:00 INFO Settings summary:
├── VPN settings:
| ├── VPN provider settings:
| | ├── Name: protonvpn
| | ├── Server selection settings:
| | | ├── VPN type: wireguard
| | | ├── Countries: serbia
| | | ├── Cities: belgrade
| | | ├── Port forwarding only servers: yes
| | | └── Wireguard selection settings:
| | | └── Server public key: ts8WajtirB+oQIkcma/cIZ+IO+yO02Q4Ld+j5TmbBU8=
| | └── Automatic port forwarding settings:
| | ├── Redirection listening port: 57161
| | ├── Use code for provider: protonvpn
| | └── Forwarded port file path: /tmp/gluetun/forwarded_port
| └── Wireguard settings:
| ├── Private key: 6BK...Ws=
| ├── Interface addresses:
| | └── 10.2.0.2/32
| ├── Allowed IPs:
| | ├── 0.0.0.0/0
| | └── ::/0
| ├── Network interface: tun0
| | └── MTU: 1400
| └── Implementation: kernelspace
├── DNS settings:
| ├── Keep existing nameserver(s): no
| ├── DNS server address to use: 127.0.0.1
| └── DNS over TLS settings:
| ├── Enabled: yes
| ├── Update period: every 24h0m0s
| ├── Upstream resolvers:
| | └── cloudflare
| ├── Caching: yes
| ├── IPv6: no
| └── DNS filtering settings:
| ├── Block malicious: yes
| ├── Block ads: no
| ├── Block surveillance: no
| └── Blocked IP networks:
| ├── 127.0.0.1/8
| ├── 10.0.0.0/8
| ├── 172.16.0.0/12
| ├── 192.168.0.0/16
| ├── 169.254.0.0/16
| ├── ::1/128
| ├── fc00::/7
| ├── fe80::/10
| ├── ::ffff:127.0.0.1/104
| ├── ::ffff:10.0.0.0/104
| ├── ::ffff:169.254.0.0/112
| ├── ::ffff:172.16.0.0/108
| └── ::ffff:192.168.0.0/112
├── Firewall settings:
| └── Enabled: yes
├── Log settings:
| └── Log level: info
├── Health settings:
| ├── Server listening address: 127.0.0.1:9999
| ├── Target address: cloudflare.com:443
| ├── Duration to wait after success: 5s
| ├── Read header timeout: 100ms
| ├── Read timeout: 500ms
| └── VPN wait durations:
| ├── Initial duration: 6s
| └── Additional duration: 5s
├── Shadowsocks server settings:
| └── Enabled: no
├── HTTP proxy settings:
| └── Enabled: no
├── Control server settings:
| ├── Listening address: :8000
| ├── Logging: yes
| └── Authentication file path: /gluetun/auth/config.toml
├── Storage settings:
| └── Filepath: /gluetun/servers.json
├── OS Alpine settings:
| ├── Process UID: 1000
| ├── Process GID: 1000
| └── Timezone: europe/paris
├── Public IP settings:
| ├── IP file path: /tmp/gluetun/ip
| ├── Public IP data base API: ipinfo
| └── Public IP data backup APIs:
| ├── ifconfigco
| ├── ip2location
| └── cloudflare
├── Server data updater settings:
| ├── Update period: 24h0m0s
| ├── DNS address: 1.1.1.1:53
| ├── Minimum ratio: 0.8
| └── Providers to update: protonvpn
└── Version settings:
└── Enabled: yes
2025-05-20T19:14:06+02:00 INFO [routing] default route found: interface eth0, gateway 10.0.3.1, assigned IP 10.0.3.2 and family v4
2025-05-20T19:14:06+02:00 INFO [routing] adding route for 0.0.0.0/0
2025-05-20T19:14:06+02:00 INFO [firewall] setting allowed subnets...
2025-05-20T19:14:06+02:00 INFO [routing] default route found: interface eth0, gateway 10.0.3.1, assigned IP 10.0.3.2 and family v4
2025-05-20T19:14:06+02:00 INFO [dns] using plaintext DNS at address 1.1.1.1
2025-05-20T19:14:06+02:00 INFO [http server] http server listening on [::]:8000
2025-05-20T19:14:06+02:00 INFO [healthcheck] listening on 127.0.0.1:9999
2025-05-20T19:14:06+02:00 INFO [firewall] allowing VPN connection...
2025-05-20T19:14:06+02:00 INFO [wireguard] Connecting to 45.146.222.226:51820
2025-05-20T19:14:06+02:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2025-05-20T19:14:06+02:00 INFO [dns] downloading hostnames and IP block lists
2025-05-20T19:14:06+02:00 INFO [healthcheck] healthy!
2025-05-20T19:14:07+02:00 INFO [dns] DNS server listening on [::]:53
2025-05-20T19:14:08+02:00 INFO [dns] ready
2025-05-20T19:14:08+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot - source: ipinfo)
2025-05-20T19:14:09+02:00 INFO [vpn] You are running 1 commit behind the most recent latest
2025-05-20T19:14:09+02:00 INFO [port forwarding] starting
2025-05-20T19:14:09+02:00 INFO [port forwarding] gateway external IPv4 address is 45.146.222.227
2025-05-20T19:14:09+02:00 INFO [port forwarding] port forwarded is 63823
2025-05-20T19:14:09+02:00 INFO [firewall] setting allowed input port 63823 through interface tun0...
2025-05-20T19:14:09+02:00 INFO [port forwarding] writing port file /tmp/gluetun/forwarded_port
2025-05-20T19:16:32+02:00 INFO [healthcheck] healthy!
2025-05-20T19:18:03+02:00 INFO [healthcheck] healthy!
2025-05-20T19:18:42+02:00 INFO [healthcheck] healthy!
2025-05-20T19:26:30+02:00 INFO [healthcheck] healthy!
2025-05-20T19:27:03+02:00 INFO [healthcheck] healthy!
2025-05-20T19:48:27+02:00 INFO [healthcheck] healthy!
2025-05-20T19:49:15+02:00 INFO [healthcheck] healthy!
2025-05-20T20:05:55+02:00 INFO [healthcheck] healthy!
2025-05-20T21:30:36+02:00 INFO [healthcheck] healthy!
2025-05-20T21:53:26+02:00 INFO [healthcheck] healthy!
2025-05-20T21:57:29+02:00 INFO [healthcheck] healthy!
2025-05-20T22:04:11+02:00 INFO [healthcheck] healthy!
2025-05-20T22:19:22+02:00 INFO [healthcheck] healthy!
2025-05-20T22:37:15+02:00 INFO [healthcheck] healthy!
2025-05-20T22:43:26+02:00 INFO [healthcheck] healthy!
2025-05-20T22:44:56+02:00 INFO [healthcheck] healthy!
2025-05-20T22:49:23+02:00 INFO [healthcheck] healthy!
2025-05-21T07:24:01+02:00 INFO [healthcheck] healthy!
2025-05-21T07:24:24+02:00 INFO [healthcheck] healthy!
2025-05-21T07:30:03+02:00 INFO [healthcheck] healthy!
2025-05-21T09:53:09+02:00 INFO [healthcheck] healthy!
2025-05-21T09:54:45+02:00 INFO [healthcheck] healthy!
2025-05-21T09:55:54+02:00 INFO [healthcheck] healthy!
2025-05-21T09:55:59+02:00 INFO [healthcheck] healthy!
2025-05-21T10:11:34+02:00 INFO [healthcheck] healthy!
2025-05-21T10:14:07+02:00 INFO [healthcheck] healthy!
2025-05-21T10:23:43+02:00 INFO [healthcheck] healthy!
2025-05-21T10:23:50+02:00 INFO [healthcheck] healthy!
2025-05-21T10:25:05+02:00 INFO [healthcheck] healthy!
2025-05-21T10:37:50+02:00 INFO [healthcheck] healthy!
2025-05-21T10:39:09+02:00 INFO [healthcheck] healthy!
2025-05-21T10:39:57+02:00 INFO [healthcheck] healthy!
2025-05-21T10:40:37+02:00 INFO [healthcheck] healthy!
2025-05-21T10:41:03+02:00 INFO [healthcheck] healthy!
2025-05-21T10:41:23+02:00 INFO [healthcheck] healthy!
2025-05-21T10:41:31+02:00 INFO [healthcheck] healthy!
2025-05-21T10:41:57+02:00 INFO [healthcheck] healthy!
2025-05-21T10:42:00+02:00 INFO [healthcheck] healthy!
2025-05-21T10:42:09+02:00 INFO [healthcheck] healthy!
2025-05-21T10:42:25+02:00 INFO [healthcheck] healthy!
2025-05-21T10:42:58+02:00 INFO [healthcheck] healthy!
2025-05-21T10:43:02+02:00 INFO [healthcheck] healthy!
2025-05-21T10:43:06+02:00 INFO [healthcheck] healthy!
2025-05-21T10:43:27+02:00 INFO [healthcheck] healthy!
2025-05-21T10:44:11+02:00 INFO [healthcheck] healthy!
2025-05-21T10:44:13+02:00 INFO [healthcheck] healthy!
2025-05-21T10:44:33+02:00 INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (healthcheck error: running TLS handshake: context deadline exceeded)
2025-05-21T10:44:33+02:00 INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2025-05-21T10:44:33+02:00 INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2025-05-21T10:44:33+02:00 INFO [vpn] stopping
2025-05-21T10:44:33+02:00 INFO [port forwarding] stopping
2025-05-21T10:44:33+02:00 INFO [firewall] removing allowed port 63823...
2025-05-21T10:44:33+02:00 INFO [port forwarding] removing port file /tmp/gluetun/forwarded_port
2025-05-21T10:44:33+02:00 INFO [vpn] starting
2025-05-21T10:44:33+02:00 INFO [firewall] allowing VPN connection...
2025-05-21T10:44:33+02:00 INFO [wireguard] Connecting to 45.146.222.226:51820
2025-05-21T10:44:33+02:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2025-05-21T10:44:36+02:00 INFO [healthcheck] healthy!
2025-05-21T10:44:38+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot - source: ipinfo)
2025-05-21T10:44:38+02:00 INFO [port forwarding] starting
2025-05-21T10:44:38+02:00 INFO [port forwarding] gateway external IPv4 address is 45.146.222.227
2025-05-21T10:44:38+02:00 INFO [port forwarding] port forwarded is 63823
2025-05-21T10:44:38+02:00 INFO [firewall] setting allowed input port 63823 through interface tun0...
2025-05-21T10:44:38+02:00 INFO [port forwarding] writing port file /tmp/gluetun/forwarded_port
2025-05-21T10:45:35+02:00 INFO [healthcheck] healthy!
2025-05-21T10:46:39+02:00 INFO [healthcheck] healthy!
2025-05-21T10:46:47+02:00 INFO [healthcheck] healthy!
2025-05-21T10:46:52+02:00 INFO [healthcheck] healthy!
2025-05-21T10:46:55+02:00 INFO [healthcheck] healthy!
2025-05-21T10:47:03+02:00 INFO [healthcheck] healthy!
2025-05-21T10:48:07+02:00 INFO [healthcheck] healthy!
2025-05-21T10:48:55+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:03+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:06+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:39+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:42+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:55+02:00 INFO [healthcheck] healthy!
2025-05-21T10:49:57+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:05+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:07+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:10+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:23+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:37+02:00 INFO [healthcheck] healthy!
2025-05-21T10:50:56+02:00 INFO [healthcheck] healthy!
2025-05-21T10:51:37+02:00 INFO [healthcheck] healthy!
2025-05-21T10:51:40+02:00 INFO [healthcheck] healthy!
2025-05-21T10:51:49+02:00 INFO [healthcheck] healthy!
2025-05-21T10:52:03+02:00 INFO [healthcheck] healthy!
2025-05-21T10:52:11+02:00 INFO [healthcheck] healthy!
2025-05-21T10:52:32+02:00 INFO [healthcheck] healthy!
2025-05-21T10:52:39+02:00 INFO [healthcheck] healthy!
2025-05-21T10:53:24+02:00 INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (healthcheck error: running TLS handshake: context deadline exceeded)
2025-05-21T10:53:24+02:00 INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2025-05-21T10:53:24+02:00 INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2025-05-21T10:53:24+02:00 INFO [vpn] stopping
2025-05-21T10:53:24+02:00 INFO [port forwarding] stopping
2025-05-21T10:53:24+02:00 INFO [firewall] removing allowed port 63823...
2025-05-21T10:53:24+02:00 INFO [port forwarding] removing port file /tmp/gluetun/forwarded_port
2025-05-21T10:53:24+02:00 INFO [vpn] starting
2025-05-21T10:53:24+02:00 INFO [firewall] allowing VPN connection...
2025-05-21T10:53:24+02:00 INFO [wireguard] Connecting to 45.146.222.226:51820
2025-05-21T10:53:24+02:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2025-05-21T10:53:24+02:00 INFO [healthcheck] healthy!
2025-05-21T10:53:25+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot - source: ipinfo)
2025-05-21T10:53:25+02:00 INFO [port forwarding] starting
2025-05-21T10:53:25+02:00 INFO [port forwarding] gateway external IPv4 address is 45.146.222.227
2025-05-21T10:53:26+02:00 INFO [port forwarding] port forwarded is 63823
2025-05-21T10:53:26+02:00 INFO [firewall] setting allowed input port 63823 through interface tun0...
2025-05-21T10:53:26+02:00 INFO [port forwarding] writing port file /tmp/gluetun/forwarded_port
2025-05-21T10:53:32+02:00 INFO [healthcheck] healthy!
2025-05-21T10:53:38+02:00 INFO [healthcheck] healthy!
2025-05-21T10:53:54+02:00 INFO [healthcheck] healthy!
2025-05-21T10:54:04+02:00 INFO [healthcheck] healthy!
2025-05-21T10:54:29+02:00 INFO [healthcheck] healthy!
2025-05-21T10:54:37+02:00 INFO [healthcheck] healthy!
2025-05-21T10:54:51+02:00 INFO [healthcheck] healthy!
2025-05-21T10:55:04+02:00 INFO [healthcheck] healthy!
2025-05-21T10:55:25+02:00 INFO [healthcheck] healthy!
2025-05-21T10:55:40+02:00 INFO [healthcheck] healthy!
2025-05-21T10:55:42+02:00 INFO [healthcheck] healthy!
2025-05-21T10:55:45+02:00 INFO [healthcheck] healthy!
Share your configuration
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
restart: unless-stopped
network_mode: bridge
stdin_open: true # Interactive
tty: true # TTY
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8112:8112/tcp
environment:
- VPN_SERVICE_PROVIDER=protonvpn
- VPN_TYPE=wireguard
- PORT_FORWARD_ONLY=on
- VPN_PORT_FORWARDING=on
- VPN_PORT_FORWARDING_PROVIDER=protonvpn
- VPN_PORT_FORWARDING_LISTENING_PORT=57161
- WIREGUARD_PRIVATE_KEY=REDACTED
- WIREGUARD_PUBLIC_KEY=REDACTED
- WIREGUARD_ADDRESSES=10.2.0.2/32
- WIREGUARD_IMPLEMENTATION=kernelspace
- WIREGUARD_MTU=1400
- SERVER_COUNTRIES=Serbia
- SERVER_CITIES=Belgrade
- TZ=Europe/Paris
- UPDATER_PERIOD=24h # Updates list of servers each day
@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:
- do not ask for updates, be patient
- :+1: the issue to show your support instead of commenting @qdm12 usually checks issues at least once a week, if this is a new urgent bug, revert to an older tagged container image
Update: it seems like v3.39.1 also fails to maintain port forwarding open, just less often. Maybe it's not related. Port forwarding stopped working at around 5AM after running for more than a week. Here is the log :
2025-05-31T00:57:36+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T01:20:46+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-05-31T01:58:06+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T02:58:36+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T03:59:06+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T05:04:30+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T06:16:47+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T07:21:00+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T08:26:56+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T10:01:04+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T11:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T12:22:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T13:20:45+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-05-31T13:58:48+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T15:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T16:24:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T17:35:04+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T19:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T20:26:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T22:01:48+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-05-31T23:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T00:28:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T01:20:45+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-06-01T02:02:11+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T03:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T04:23:33+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T06:02:30+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T07:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T08:32:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T09:47:57+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T11:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T12:34:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T13:20:45+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-06-01T13:34:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T14:35:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T15:35:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T16:36:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T17:36:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T18:37:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T19:37:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T20:38:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T21:38:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T22:39:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-01T23:39:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T00:40:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T01:20:45+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-06-02T01:40:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T02:41:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T03:41:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T04:42:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T05:42:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T06:43:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T07:43:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T08:44:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T09:44:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T10:45:17+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T11:40:26+02:00 INFO [healthcheck] healthy!
2025-06-02T12:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T13:13:22+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T13:20:44+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-06-02T15:13:22+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T16:24:57+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T18:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T19:20:31+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T20:35:18+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T21:49:09+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-02T22:57:15+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T00:02:29+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T01:13:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T01:20:44+02:00 INFO [ip getter] Public IP address is 45.146.222.227 (Serbia, Central Serbia, Pirot)
2025-06-03T02:19:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T03:37:27+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T04:37:40+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T05:16:37+02:00 INFO [healthcheck] program has been unhealthy for 6s: restarting VPN
2025-06-03T05:16:37+02:00 INFO [healthcheck] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2025-06-03T05:16:37+02:00 INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2025-06-03T05:16:37+02:00 INFO [vpn] stopping
2025-06-03T05:16:37+02:00 INFO [port forwarding] stopping
2025-06-03T05:16:37+02:00 INFO [firewall] removing allowed port 63823...
2025-06-03T05:16:37+02:00 INFO [port forwarding] removing port file /tmp/gluetun/forwarded_port
2025-06-03T05:16:37+02:00 INFO [vpn] starting
2025-06-03T05:16:37+02:00 INFO [firewall] allowing VPN connection...
2025-06-03T05:16:37+02:00 INFO [wireguard] Connecting to 45.146.222.226:51820
2025-06-03T05:16:37+02:00 INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2025-06-03T05:16:46+02:00 INFO [healthcheck] healthy!
2025-06-03T05:16:47+02:00 ERROR [vpn] getting public IP address information: fetching information: Get "https://ipinfo.io/": dial tcp: lookup ipinfo.io on 127.0.0.1:53: read udp 127.0.0.1:42626->127.0.0.1:53: i/o timeout
2025-06-03T05:16:47+02:00 INFO [port forwarding] starting
2025-06-03T05:16:47+02:00 INFO [port forwarding] gateway external IPv4 address is 45.146.222.227
2025-06-03T05:16:47+02:00 INFO [port forwarding] port forwarded is 63823
2025-06-03T05:16:47+02:00 INFO [firewall] setting allowed input port 63823 through interface tun0...
2025-06-03T05:16:47+02:00 INFO [port forwarding] writing port file /tmp/gluetun/forwarded_port
2025-06-03T05:54:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T06:55:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T07:55:50+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T08:56:20+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T09:56:51+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T10:57:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T11:57:51+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T12:58:21+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
2025-06-03T13:58:51+02:00 INFO [dns] generate keytag query _ta-4a5c-4f66-9728. NULL IN
I'll try v3.39.0 to see if that changes anything
@V4ldum how's v3.39.0 ?
EDIT: Can confirm that v3.39.1 is doing just fine so far. What's surprising, v3.40.0 was fine for weeks, but all of a sudden it started breaking connection every moment.
Same as v3.39.1, stops working after about a week. I did not test previous versions since 3.39.0 seems to have a lot of useful changes. I just restart my container once a week for now.