qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
8.1k stars 374 forks source link

Bug: Updating cyberghost server list impossible #1803

Closed aue84fr closed 6 months ago

aue84fr commented 1 year ago

Is this urgent?

Yes

Host OS

Docker for Portainer on Assustor NAS

CPU arch

None

VPN service provider

Cyberghost

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2023-08-11T11:08:54.752Z (commit e556871)

What's the problem πŸ€”

Dear community,

I am trying to connect to Cyberghost servers without any success for several days now I have been trying to update the server list without success running "command: update -enduser -providers cyberghost" but glutetun returns 0 servers

Gluetun sometimes work fine for several days, but this problem tends to return very often. It used to be the same with NordVPN prior to my move towards Cyberghost. It is a rampant issue, I have been trying to find a solution but I do not believe there is something I can really do locally.

Thanks in advance for your insights and support,

Share your logs

2023-08-17T08:20:04Z INFO updating Cyberghost servers...
2023-08-17T08:20:24Z ERROR updating server information: getting servers: not enough servers found: 0 and expected at least 153
2023-08-17T08:20:24Z INFO Shutdown successful

2023-08-17T08:25:35.793425063Z ========================================
2023-08-17T08:25:35.793692824Z ========================================
2023-08-17T08:25:35.793813113Z =============== gluetun ================
2023-08-17T08:25:35.793943260Z ========================================
2023-08-17T08:25:35.794067341Z =========== Made with ❀️ by ============
2023-08-17T08:25:35.794191778Z ======= https://github.com/qdm12 =======
2023-08-17T08:25:35.794322036Z ========================================
2023-08-17T08:25:35.794444486Z ========================================
2023-08-17T08:25:35.794580560Z 
2023-08-17T08:25:35.794691040Z Running version latest built on 2023-08-11T11:08:54.752Z (commit e556871)
2023-08-17T08:25:35.794826846Z 
2023-08-17T08:25:35.794930583Z πŸ”§ Need help? https://github.com/qdm12/gluetun/discussions/new
2023-08-17T08:25:35.795064156Z πŸ› Bug? https://github.com/qdm12/gluetun/issues/new
2023-08-17T08:25:35.795186250Z ✨ New feature? https://github.com/qdm12/gluetun/issues/new
2023-08-17T08:25:35.795290343Z β˜• Discussion? https://github.com/qdm12/gluetun/discussions/new
2023-08-17T08:25:35.795404170Z πŸ’» Email? quentin.mcgaw@gmail.com
2023-08-17T08:25:35.795508544Z πŸ’° Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2023-08-17T08:25:35.850767775Z 2023-08-17T08:25:35Z INFO [routing] default route found: interface eth0, gateway 172.20.0.1, assigned IP 172.20.0.2 and family v4
2023-08-17T08:25:35.850804717Z 2023-08-17T08:25:35Z INFO [routing] local ethernet link found: eth0
2023-08-17T08:25:35.850818341Z 2023-08-17T08:25:35Z INFO [routing] local ipnet found: 172.20.0.0/16
2023-08-17T08:25:36.186439921Z 2023-08-17T08:25:36Z INFO [firewall] enabling...
2023-08-17T08:25:36.252505408Z 2023-08-17T08:25:36Z INFO [firewall] enabled successfully
2023-08-17T08:25:37.316170051Z 2023-08-17T08:25:37Z INFO [storage] merging by most recent 17692 hardcoded servers and 17692 servers read from /gluetun/servers.json
2023-08-17T08:25:37.560717095Z 2023-08-17T08:25:37Z INFO Alpine version: 3.18.3
2023-08-17T08:25:37.862657415Z 2023-08-17T08:25:37Z INFO OpenVPN 2.5 version: 2.5.8
2023-08-17T08:25:37.940573480Z 2023-08-17T08:25:37Z INFO OpenVPN 2.6 version: 2.6.5
2023-08-17T08:25:38.011207872Z 2023-08-17T08:25:38Z INFO Unbound version: 1.17.1
2023-08-17T08:25:38.011237628Z 2023-08-17T08:25:38Z INFO IPtables version: v1.8.9
2023-08-17T08:25:38.011251061Z 2023-08-17T08:25:38Z INFO Settings summary:
2023-08-17T08:25:38.011264157Z β”œβ”€β”€ VPN settings:
2023-08-17T08:25:38.011277721Z |   β”œβ”€β”€ VPN provider settings:
2023-08-17T08:25:38.011290598Z |   |   β”œβ”€β”€ Name: cyberghost
2023-08-17T08:25:38.011303421Z |   |   └── Server selection settings:
2023-08-17T08:25:38.011316281Z |   |       β”œβ”€β”€ VPN type: openvpn
2023-08-17T08:25:38.011348093Z |   |       β”œβ”€β”€ Countries: france
2023-08-17T08:25:38.011367254Z |   |       └── OpenVPN server selection settings:
2023-08-17T08:25:38.011380368Z |   |           └── Protocol: UDP
2023-08-17T08:25:38.011393293Z |   └── OpenVPN settings:
2023-08-17T08:25:38.011406220Z |       β”œβ”€β”€ OpenVPN version: 2.5
2023-08-17T08:25:38.011419197Z |       β”œβ”€β”€ User: [set]
2023-08-17T08:25:38.011432245Z |       β”œβ”€β”€ Password: [set]
2023-08-17T08:25:38.011445092Z |       β”œβ”€β”€ Client crt: MII...Q==
2023-08-17T08:25:38.011457860Z |       β”œβ”€β”€ Client key: MII...Po=
2023-08-17T08:25:38.011470947Z |       β”œβ”€β”€ Network interface: tun0
2023-08-17T08:25:38.011484019Z |       β”œβ”€β”€ Run OpenVPN as: root
2023-08-17T08:25:38.011496785Z |       └── Verbosity level: 1
2023-08-17T08:25:38.011509491Z β”œβ”€β”€ DNS settings:
2023-08-17T08:25:38.011522131Z |   β”œβ”€β”€ Keep existing nameserver(s): no
2023-08-17T08:25:38.011535119Z |   β”œβ”€β”€ DNS server address to use: 127.0.0.1
2023-08-17T08:25:38.011548005Z |   └── DNS over TLS settings:
2023-08-17T08:25:38.011560898Z |       β”œβ”€β”€ Enabled: yes
2023-08-17T08:25:38.011573571Z |       β”œβ”€β”€ Update period: every 24h0m0s
2023-08-17T08:25:38.011586417Z |       β”œβ”€β”€ Unbound settings:
2023-08-17T08:25:38.011599138Z |       |   β”œβ”€β”€ Authoritative servers:
2023-08-17T08:25:38.011611983Z |       |   |   └── cloudflare
2023-08-17T08:25:38.011624822Z |       |   β”œβ”€β”€ Caching: yes
2023-08-17T08:25:38.011637696Z |       |   β”œβ”€β”€ IPv6: no
2023-08-17T08:25:38.011650554Z |       |   β”œβ”€β”€ Verbosity level: 1
2023-08-17T08:25:38.011663236Z |       |   β”œβ”€β”€ Verbosity details level: 0
2023-08-17T08:25:38.011676143Z |       |   β”œβ”€β”€ Validation log level: 0
2023-08-17T08:25:38.011688979Z |       |   β”œβ”€β”€ System user: root
2023-08-17T08:25:38.011701801Z |       |   └── Allowed networks:
2023-08-17T08:25:38.011714746Z |       |       β”œβ”€β”€ 0.0.0.0/0
2023-08-17T08:25:38.011727908Z |       |       └── ::/0
2023-08-17T08:25:38.011740799Z |       └── DNS filtering settings:
2023-08-17T08:25:38.011753676Z |           β”œβ”€β”€ Block malicious: yes
2023-08-17T08:25:38.011766441Z |           β”œβ”€β”€ Block ads: no
2023-08-17T08:25:38.011779346Z |           β”œβ”€β”€ Block surveillance: no
2023-08-17T08:25:38.011792328Z |           └── Blocked IP networks:
2023-08-17T08:25:38.011805230Z |               β”œβ”€β”€ 127.0.0.1/8
2023-08-17T08:25:38.011817998Z |               β”œβ”€β”€ 10.0.0.0/8
2023-08-17T08:25:38.011830690Z |               β”œβ”€β”€ 172.16.0.0/12
2023-08-17T08:25:38.011853490Z |               β”œβ”€β”€ 192.168.0.0/16
2023-08-17T08:25:38.011866655Z |               β”œβ”€β”€ 169.254.0.0/16
2023-08-17T08:25:38.011879893Z |               β”œβ”€β”€ ::1/128
2023-08-17T08:25:38.011892935Z |               β”œβ”€β”€ fc00::/7
2023-08-17T08:25:38.011905659Z |               β”œβ”€β”€ fe80::/10
2023-08-17T08:25:38.011920031Z |               β”œβ”€β”€ ::ffff:127.0.0.1/104
2023-08-17T08:25:38.011932983Z |               β”œβ”€β”€ ::ffff:10.0.0.0/104
2023-08-17T08:25:38.011946005Z |               β”œβ”€β”€ ::ffff:169.254.0.0/112
2023-08-17T08:25:38.011959014Z |               β”œβ”€β”€ ::ffff:172.16.0.0/108
2023-08-17T08:25:38.011971967Z |               └── ::ffff:192.168.0.0/112
2023-08-17T08:25:38.011984744Z β”œβ”€β”€ Firewall settings:
2023-08-17T08:25:38.011997559Z |   └── Enabled: yes
2023-08-17T08:25:38.012010266Z β”œβ”€β”€ Log settings:
2023-08-17T08:25:38.012023162Z |   └── Log level: INFO
2023-08-17T08:25:38.012036039Z β”œβ”€β”€ Health settings:
2023-08-17T08:25:38.012048915Z |   β”œβ”€β”€ Server listening address: 127.0.0.1:9999
2023-08-17T08:25:38.012062030Z |   β”œβ”€β”€ Target address: cloudflare.com:443
2023-08-17T08:25:38.012075463Z |   β”œβ”€β”€ Duration to wait after success: 5s
2023-08-17T08:25:38.012097472Z |   β”œβ”€β”€ Read header timeout: 100ms
2023-08-17T08:25:38.012110500Z |   β”œβ”€β”€ Read timeout: 500ms
2023-08-17T08:25:38.012331504Z |   └── VPN wait durations:
2023-08-17T08:25:38.012345741Z |       β”œβ”€β”€ Initial duration: 6s
2023-08-17T08:25:38.012358770Z |       └── Additional duration: 5s
2023-08-17T08:25:38.012371696Z β”œβ”€β”€ Shadowsocks server settings:
2023-08-17T08:25:38.012389913Z |   └── Enabled: no
2023-08-17T08:25:38.012402801Z β”œβ”€β”€ HTTP proxy settings:
2023-08-17T08:25:38.012415506Z |   └── Enabled: no
2023-08-17T08:25:38.012428313Z β”œβ”€β”€ Control server settings:
2023-08-17T08:25:38.012441073Z |   β”œβ”€β”€ Listening address: :8000
2023-08-17T08:25:38.012453983Z |   └── Logging: yes
2023-08-17T08:25:38.012467056Z β”œβ”€β”€ OS Alpine settings:
2023-08-17T08:25:38.012479956Z |   β”œβ”€β”€ Process UID: 1000
2023-08-17T08:25:38.012492812Z |   └── Process GID: 1000
2023-08-17T08:25:38.012505755Z β”œβ”€β”€ Public IP settings:
2023-08-17T08:25:38.012518522Z |   β”œβ”€β”€ Fetching: every 12h0m0s
2023-08-17T08:25:38.012531244Z |   └── IP file path: /tmp/gluetun/ip
2023-08-17T08:25:38.012544095Z └── Version settings:
2023-08-17T08:25:38.012556862Z     └── Enabled: yes
2023-08-17T08:25:38.017296194Z 2023-08-17T08:25:38Z INFO [routing] default route found: interface eth0, gateway 172.20.0.1, assigned IP 172.20.0.2 and family v4
2023-08-17T08:25:38.017335366Z 2023-08-17T08:25:38Z INFO [routing] adding route for 0.0.0.0/0
2023-08-17T08:25:38.017349212Z 2023-08-17T08:25:38Z INFO [firewall] setting allowed subnets...
2023-08-17T08:25:38.017362480Z 2023-08-17T08:25:38Z INFO [routing] default route found: interface eth0, gateway 172.20.0.1, assigned IP 172.20.0.2 and family v4
2023-08-17T08:25:38.017375820Z 2023-08-17T08:25:38Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2023-08-17T08:25:38.017388943Z 2023-08-17T08:25:38Z INFO [http server] http server listening on [::]:8000
2023-08-17T08:25:38.023219474Z 2023-08-17T08:25:38Z INFO [healthcheck] listening on 127.0.0.1:9999
2023-08-17T08:25:38.023264305Z 2023-08-17T08:25:38Z INFO [dns] using plaintext DNS at address 1.1.1.1
2023-08-17T08:25:38.023278799Z 2023-08-17T08:25:38Z INFO [firewall] allowing VPN connection...
2023-08-17T08:25:38.072541105Z 2023-08-17T08:25:38Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:25:38.072710875Z 2023-08-17T08:25:38Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:25:38.077465343Z 2023-08-17T08:25:38Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.73:443
2023-08-17T08:25:38.077641300Z 2023-08-17T08:25:38Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:25:38.077724916Z 2023-08-17T08:25:38Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.73:443
2023-08-17T08:25:44.020119232Z 2023-08-17T08:25:44Z INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:25:44.020162623Z 2023-08-17T08:25:44Z INFO [vpn] stopping
2023-08-17T08:25:44.020295757Z 2023-08-17T08:25:44Z INFO [vpn] starting
2023-08-17T08:25:44.020537511Z 2023-08-17T08:25:44Z INFO [firewall] allowing VPN connection...
2023-08-17T08:25:44.036017338Z 2023-08-17T08:25:44Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:25:44.036067834Z 2023-08-17T08:25:44Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:25:44.040655773Z 2023-08-17T08:25:44Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]84.17.43.166:443
2023-08-17T08:25:44.040674983Z 2023-08-17T08:25:44Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:25:44.040701010Z 2023-08-17T08:25:44Z INFO [openvpn] UDP link remote: [AF_INET]84.17.43.166:443
2023-08-17T08:25:55.128325688Z 2023-08-17T08:25:55Z INFO [healthcheck] program has been unhealthy for 11s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:25:55.128374312Z 2023-08-17T08:25:55Z INFO [vpn] stopping
2023-08-17T08:25:55.129158711Z 2023-08-17T08:25:55Z INFO [vpn] starting
2023-08-17T08:25:55.129617813Z 2023-08-17T08:25:55Z INFO [firewall] allowing VPN connection...
2023-08-17T08:25:55.144006542Z 2023-08-17T08:25:55Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:25:55.144046284Z 2023-08-17T08:25:55Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:25:55.148538145Z 2023-08-17T08:25:55Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.188:443
2023-08-17T08:25:55.148557473Z 2023-08-17T08:25:55Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:25:55.148719894Z 2023-08-17T08:25:55Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.188:443
2023-08-17T08:26:11.236911994Z 2023-08-17T08:26:11Z INFO [healthcheck] program has been unhealthy for 16s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:26:11.236963969Z 2023-08-17T08:26:11Z INFO [vpn] stopping
2023-08-17T08:26:11.237800616Z 2023-08-17T08:26:11Z INFO [vpn] starting
2023-08-17T08:26:11.238336005Z 2023-08-17T08:26:11Z INFO [firewall] allowing VPN connection...
2023-08-17T08:26:11.253760111Z 2023-08-17T08:26:11Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:26:11.253909486Z 2023-08-17T08:26:11Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:26:11.258361370Z 2023-08-17T08:26:11Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]84.17.43.166:443
2023-08-17T08:26:11.258515502Z 2023-08-17T08:26:11Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:26:11.258674825Z 2023-08-17T08:26:11Z INFO [openvpn] UDP link remote: [AF_INET]84.17.43.166:443
2023-08-17T08:26:32.346510619Z 2023-08-17T08:26:32Z INFO [healthcheck] program has been unhealthy for 21s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:26:32.346559916Z 2023-08-17T08:26:32Z INFO [vpn] stopping
2023-08-17T08:26:32.347252069Z 2023-08-17T08:26:32Z INFO [vpn] starting
2023-08-17T08:26:32.347732349Z 2023-08-17T08:26:32Z INFO [firewall] allowing VPN connection...
2023-08-17T08:26:32.362258132Z 2023-08-17T08:26:32Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:26:32.362302064Z 2023-08-17T08:26:32Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:26:32.367381194Z 2023-08-17T08:26:32Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.236:443
2023-08-17T08:26:32.367596792Z 2023-08-17T08:26:32Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:26:32.367772227Z 2023-08-17T08:26:32Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.236:443
2023-08-17T08:26:58.454888955Z 2023-08-17T08:26:58Z INFO [healthcheck] program has been unhealthy for 26s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:26:58.454950603Z 2023-08-17T08:26:58Z INFO [vpn] stopping
2023-08-17T08:26:58.457324436Z 2023-08-17T08:26:58Z INFO [vpn] starting
2023-08-17T08:26:58.457346839Z 2023-08-17T08:26:58Z INFO [firewall] allowing VPN connection...
2023-08-17T08:26:58.465561036Z 2023-08-17T08:26:58Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:26:58.465797301Z 2023-08-17T08:26:58Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:26:58.470831344Z 2023-08-17T08:26:58Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.236:443
2023-08-17T08:26:58.471053575Z 2023-08-17T08:26:58Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:26:58.471288801Z 2023-08-17T08:26:58Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.236:443
2023-08-17T08:27:29.559213888Z 2023-08-17T08:27:29Z INFO [healthcheck] program has been unhealthy for 31s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:27:29.559245968Z 2023-08-17T08:27:29Z INFO [vpn] stopping
2023-08-17T08:27:29.559259373Z 2023-08-17T08:27:29Z INFO [vpn] starting
2023-08-17T08:27:29.559272125Z 2023-08-17T08:27:29Z INFO [firewall] allowing VPN connection...
2023-08-17T08:27:29.575734907Z 2023-08-17T08:27:29Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:27:29.576036960Z 2023-08-17T08:27:29Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:27:29.581089387Z 2023-08-17T08:27:29Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]138.199.27.11:443
2023-08-17T08:27:29.581316790Z 2023-08-17T08:27:29Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:27:29.581506879Z 2023-08-17T08:27:29Z INFO [openvpn] UDP link remote: [AF_INET]138.199.27.11:443
2023-08-17T08:28:05.669413901Z 2023-08-17T08:28:05Z INFO [healthcheck] program has been unhealthy for 36s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:28:05.669468667Z 2023-08-17T08:28:05Z INFO [vpn] stopping
2023-08-17T08:28:05.670745522Z 2023-08-17T08:28:05Z INFO [vpn] starting
2023-08-17T08:28:05.670766865Z 2023-08-17T08:28:05Z INFO [firewall] allowing VPN connection...
2023-08-17T08:28:05.686398742Z 2023-08-17T08:28:05Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:28:05.686538839Z 2023-08-17T08:28:05Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:28:05.691212115Z 2023-08-17T08:28:05Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]84.17.43.166:443
2023-08-17T08:28:05.691327345Z 2023-08-17T08:28:05Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:28:05.691348898Z 2023-08-17T08:28:05Z INFO [openvpn] UDP link remote: [AF_INET]84.17.43.166:443
2023-08-17T08:28:46.781279070Z 2023-08-17T08:28:46Z INFO [healthcheck] program has been unhealthy for 41s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:28:46.781314544Z 2023-08-17T08:28:46Z INFO [vpn] stopping
2023-08-17T08:28:46.781328739Z 2023-08-17T08:28:46Z INFO [vpn] starting
2023-08-17T08:28:46.781341855Z 2023-08-17T08:28:46Z INFO [firewall] allowing VPN connection...
2023-08-17T08:28:46.794710692Z 2023-08-17T08:28:46Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:28:46.794911977Z 2023-08-17T08:28:46Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:28:46.799265556Z 2023-08-17T08:28:46Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]138.199.27.3:443
2023-08-17T08:28:46.799420587Z 2023-08-17T08:28:46Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:28:46.799540469Z 2023-08-17T08:28:46Z INFO [openvpn] UDP link remote: [AF_INET]138.199.27.3:443
2023-08-17T08:29:32.887712779Z 2023-08-17T08:29:32Z INFO [healthcheck] program has been unhealthy for 46s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:29:32.887766809Z 2023-08-17T08:29:32Z INFO [vpn] stopping
2023-08-17T08:29:32.889453507Z 2023-08-17T08:29:32Z INFO [vpn] starting
2023-08-17T08:29:32.889472342Z 2023-08-17T08:29:32Z INFO [firewall] allowing VPN connection...
2023-08-17T08:29:32.903667211Z 2023-08-17T08:29:32Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:29:32.903837305Z 2023-08-17T08:29:32Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:29:32.908457190Z 2023-08-17T08:29:32Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.188:443
2023-08-17T08:29:32.908584557Z 2023-08-17T08:29:32Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:29:32.908684499Z 2023-08-17T08:29:32Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.188:443
2023-08-17T08:30:23.995988027Z 2023-08-17T08:30:23Z INFO [healthcheck] program has been unhealthy for 51s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:30:23.996041082Z 2023-08-17T08:30:23Z INFO [vpn] stopping
2023-08-17T08:30:23.996755588Z 2023-08-17T08:30:23Z INFO [vpn] starting
2023-08-17T08:30:23.997506121Z 2023-08-17T08:30:23Z INFO [firewall] allowing VPN connection...
2023-08-17T08:30:24.012455400Z 2023-08-17T08:30:24Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:30:24.012599428Z 2023-08-17T08:30:24Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:30:24.017044783Z 2023-08-17T08:30:24Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.73:443
2023-08-17T08:30:24.017158775Z 2023-08-17T08:30:24Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:30:24.017300864Z 2023-08-17T08:30:24Z INFO [openvpn] UDP link remote: [AF_INET]191.101.31.73:443
2023-08-17T08:31:20.105546546Z 2023-08-17T08:31:20Z INFO [healthcheck] program has been unhealthy for 56s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:31:20.105580434Z 2023-08-17T08:31:20Z INFO [vpn] stopping
2023-08-17T08:31:20.105594679Z 2023-08-17T08:31:20Z INFO [vpn] starting
2023-08-17T08:31:20.106121448Z 2023-08-17T08:31:20Z INFO [firewall] allowing VPN connection...
2023-08-17T08:31:20.120722119Z 2023-08-17T08:31:20Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:31:20.120902548Z 2023-08-17T08:31:20Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:31:20.125446082Z 2023-08-17T08:31:20Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]138.199.27.3:443
2023-08-17T08:31:20.125617054Z 2023-08-17T08:31:20Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:31:20.125762813Z 2023-08-17T08:31:20Z INFO [openvpn] UDP link remote: [AF_INET]138.199.27.3:443
2023-08-17T08:32:20.794931135Z 2023-08-17T08:32:20Z WARN [openvpn] TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2023-08-17T08:32:20.794983918Z πŸš’πŸš’πŸš’πŸš’πŸš’πŸš¨πŸš¨πŸš¨πŸš¨πŸš¨πŸš¨πŸš’πŸš’πŸš’πŸš’πŸš’
2023-08-17T08:32:20.794998722Z That error usually happens because either:
2023-08-17T08:32:20.795011355Z 
2023-08-17T08:32:20.795023681Z 1. The VPN server IP address you are trying to connect to is no longer valid πŸ”Œ
2023-08-17T08:32:20.795036365Z    Check out https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
2023-08-17T08:32:20.795048892Z 
2023-08-17T08:32:20.795061051Z 2. The VPN server crashed πŸ’₯, try changing your VPN servers filtering options such as SERVER_REGIONS
2023-08-17T08:32:20.795073702Z 
2023-08-17T08:32:20.795097205Z 3. Your Internet connection is not working 🀯, ensure it works
2023-08-17T08:32:20.795110051Z 
2023-08-17T08:32:20.795122330Z 4. Something else ➑️ https://github.com/qdm12/gluetun/issues/new/choose
2023-08-17T08:32:20.795134972Z 
2023-08-17T08:32:20.795147208Z 2023-08-17T08:32:20Z INFO [openvpn] TLS Error: TLS handshake failed
2023-08-17T08:32:20.795159770Z 2023-08-17T08:32:20Z INFO [openvpn] SIGTERM received, sending exit notification to peer
2023-08-17T08:32:20.795301053Z 2023-08-17T08:32:20Z INFO [openvpn] SIGTERM[soft,tls-error] received, process exiting
2023-08-17T08:32:20.796932122Z 2023-08-17T08:32:20Z INFO [vpn] retrying in 15s
2023-08-17T08:32:21.214369081Z 2023-08-17T08:32:21Z INFO [healthcheck] program has been unhealthy for 1m1s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2023-08-17T08:32:35.797822208Z 2023-08-17T08:32:35Z INFO [firewall] allowing VPN connection...
2023-08-17T08:32:35.813917131Z 2023-08-17T08:32:35Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2023-08-17T08:32:35.813959988Z 2023-08-17T08:32:35Z INFO [openvpn] library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-08-17T08:32:35.818658258Z 2023-08-17T08:32:35Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.YYY.ZZ.UU:PPP
2023-08-17T08:32:35.818738317Z 2023-08-17T08:32:35Z INFO [openvpn] UDP link local: (not bound)
2023-08-17T08:32:35.818813563Z 2023-08-17T08:32:35Z INFO [openvpn] UDP link remote: [AF_INET]XXX.YYY.ZZ.UU:PPP
2023-08-17T08:33:35.544228005Z 2023-08-17T08:33:35Z WARN [openvpn] TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Share your configuration

version: "3"
services:
  gluetun:
    image: ghcr.io/qdm12/gluetun:latest
    container_name: gluetun
    # line above must be uncommented to allow external containers to connect. See https://github.com/qdm12/gluetun/wiki/Connect-a-container-to-gluetun#external-container-to-gluetun
    cap_add:
      - NET_ADMIN
    #devices:
    #  - /dev/net/tun:/dev/net/tun
    ports:
      #- 8888:8888/tcp # HTTP proxy
      #- 8388:8388/tcp # Shadowsocks
      #- 8388:8388/udp # Shadowsocks
      - 6881:6881 #qbittorrent data
      - 6881:6881/udp #qbittorrent data
      - 18181:18181 #qbittorrent Web UI
    volumes:
      - /share/Docker/gluetun:/gluetun
    # command: update -enduser -providers cyberghost
    environment:
      # See https://github.com/qdm12/gluetun/wiki
      - VPN_SERVICE_PROVIDER=cyberghost
      - OPENVPN_USER=...
      - OPENVPN_PASSWORD=...
      - OPENVPN_KEY
      - OPENVPN_CERT
      - SERVER_COUNTRIES=France
      - UPDATE_PERIOD=24h
      - NETWORK=192.168.1.0/24    # So it can be accessed within the local network
    restart: unless-stopped
qdm12 commented 1 year ago

I have been trying to update the server list without success running "command: update -enduser -providers cyberghost" but glutetun returns 0 servers

Running the command update -enduser -providers cyberghost does work and updates all servers data correctly. You can check changes with the updated file /share/Docker/gluetun/servers.json. Where did you see 0 servers were found??

Gluetun sometimes work fine for several days, but this problem tends to return very often

As it says in the logs, it's most likely either 1. or 2.:

2023-08-17T08:32:20.795023681Z 1. The VPN server IP address you are trying to connect to is no longer valid πŸ”Œ
2023-08-17T08:32:20.795036365Z    Check out https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
2023-08-17T08:32:20.795048892Z 
2023-08-17T08:32:20.795061051Z 2. The VPN server crashed πŸ’₯, try changing your VPN servers filtering options such as SERVER_REGIONS
github-actions[bot] commented 6 months ago

Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.