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
6.71k stars 331 forks source link

Bug: VPNSecure servers list out of date and won't update #2206

Closed morlata closed 2 months ago

morlata commented 2 months ago

Is this urgent?

No

Host OS

Debian

CPU arch

x86_64

VPN service provider

VPNSecure.me

What are you using to run the container

docker-compose

What is the version of Gluetun

v3.37.0

What's the problem 🤔

Update tool can't update any of the servers for this provider.

Share your logs (at least 10 lines)

> docker run --rm -v ./gluetun:/gluetun qmcgaw/gluetun update -minratio 1 -enduser -providers vpnsecure
2024-04-05T00:16:57Z INFO merging by most recent 19476 hardcoded servers and 19476 servers read from /gluetun/servers.json
2024-04-05T00:16:57Z INFO updating Vpnsecure servers...
2024-04-05T00:16:58Z WARN no grid item found: in HTML code: <div class="grid grid--3 grid--locations">
        </div>
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving us6.isponeder.com: lookup us6.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving us7.isponeder.com: lookup us7.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving de3.isponeder.com: lookup de3.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving ch2.isponeder.com: lookup ch2.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving id1.isponeder.com: lookup id1.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving no1.isponeder.com: lookup no1.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN reached the maximum number of consecutive failures: 3 failed attempts resolving no2.isponeder.com: lookup no2.isponeder.com on 192.168.1.254:53: no such host
2024-04-05T00:16:58Z WARN note: if running the update manually, you can use the flag -minratio to allow the update to succeed with less servers found
2024-04-05T00:16:58Z ERROR updating server information: getting servers: not enough servers found: 75 and expected at least 73
2024-04-05T00:16:58Z INFO Shutdown successful

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun:v3.37.0
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=vpnsecure
      - OPENVPN_KEY_PASSPHRASE=${OPENVPN_KEY_PASSPHRASE}
      - OPENVPN_PROTOCOL=udp
      - SERVER_COUNTRIES=United States
      - UPDATER_PERIOD=24h
      - HTTP_CONTROL_SERVER_ADDRESS=:8000
    volumes:
      # gluetun directory must contain the certificate
      # as client.crt and the encrypted key as openvpn_encrypted_key
      - ./gluetun:/gluetun
    ports:
      - 8080:8080 #qBittorent web UI
      - 6885:6885 #qBittorent external port
      - 6885:6885/udp #qBittorrent external UDP port
      - 6767:6767 #bazarr
      - 7878:7878 #radarr
      - 8989:8989 #sonarr
      - 5055:5055 #overseerr
      - 3579:3579 #ombi
      - 9117:9117 #jackett
      - 8765:80 #speedtest
      - 34400:34400 #xteve
    networks:
      - vpn
    restart: unless-stopped
github-actions[bot] commented 2 months ago

@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:

jdeck002 commented 2 months ago

I also have this issue. Additionally the Updater process does not seem to "merge" my custom servers.json file and actually overwrites it with the incorrect IP's from the server list on GitHub.

qdm12 commented 2 months ago

Ratio is between 0 and 1. I guess I should precise it. Make it -minratio 0.5 and it should work fine.

Please keep this opened I'll have a look at the error logged and update the built-in servers data.

morlata commented 2 months ago

Good stuff buddy, getting some working servers with "-minratio 0.5" (❁´◡`❁) and no errors. appears to be getting all locations so thank you!

qdm12 commented 2 months ago

@morlata the log you seems to be from an older updater version (v3.37), try updating the image or using the latest image qmcgaw/gluetun. The new updating mechanism uses the vpn secure list of servers extracted from their website.

I've updated the servers data in the latest image as well in commit 1afe01d8cd6a022b53c655108833d16776504aaf

github-actions[bot] commented 2 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.