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

no region found for server when updating NordVPN server list #2231

Closed Tiiatcha closed 2 months ago

Tiiatcha commented 2 months ago

Is this urgent?

Yes

Host OS

Unraid

CPU arch

x86_64

VPN service provider

NordVPN

What are you using to run the container

Portainer

What is the version of Gluetun

Running version latest built on 2024-04-08T07:43:05.096Z (commit 7b4befc)

What's the problem 🤔

Container Exits with code 0 while trying to update list of servers.

Share your logs (at least 10 lines)

2024-04-18T22:51:58+01:00 INFO merging by most recent 19476 hardcoded servers and 19475 servers read from /gluetun/servers.json
2024-04-18T22:51:58+01:00 INFO Using mullvad servers from file which are 294 days more recent
2024-04-18T22:51:58+01:00 INFO Using nordvpn servers from file which are 28 days more recent
2024-04-18T22:51:59+01:00 INFO updating Nordvpn servers...
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2217
2024-04-18T22:51:59+01:00 WARN no region found for server Brazil #53
2024-04-18T22:51:59+01:00 WARN no region found for server United States #8498
2024-04-18T22:51:59+01:00 WARN no region found for server United States #8499
2024-04-18T22:51:59+01:00 WARN no region found for server United States #8500
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2308
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2309
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2310
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2311
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2312
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2313
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2314
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2315
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2316
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2317
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2318
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2319
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2320
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2321
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2322
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2323
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2324
2024-04-18T22:51:59+01:00 WARN no region found for server United Kingdom #2325
2024-04-18T22:51:59+01:00 WARN no region found for server Netherlands #1032
2024-04-18T22:51:59+01:00 WARN no region found for server Netherlands #1033

Share your configuration

version: '3.3'
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    command: update -enduser -providers nordvpn
    dns:
      - 1.1.1.1
      - 8.8.8.8
    cap_add:
      - NET_ADMIN
      # - SYS_MODULE
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 6881:6881
      - 6881:6881/udp
      - 8989:8989 # Sonarr
      - 9696:9696 # Prowlarr
      - 7878:7878 # Radarr
      - 8384:8384 # Syncthing
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    volumes:
      # - /lib/modules:/lib/modules:ro
      - /mnt/user/appdata/gluetun/arr-stack:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=nordvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=${NORD_ACCESS_TOKEN}
      - WIREGUARD_ADDRESSES=10.64.222.21/32
      - SERVER_CITIES=london,paris,madrid,prague
      - TZ=Europe/London
      - UPDATER_PERIOD=24h
      # - FIREWALL_OUTBOUND_SUBNETS=172.10.0.0/16 #
    healthcheck:
      test: ["CMD-SHELL", "curl -sS http://localhost:8000/ || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
  plex: # https://hub.docker.com/r/linuxserver/plex
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    # network_mode: host
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
      - VERSION=docker
      - PLEX_CLAIM=claim-yysExkQ1DwXq8m8sH96M #optional
    ports:
      - 32400:32400
    volumes:
      - /tmp:/transcode
      - /mnt/user/appdata/Plex-Media-Server:/config
      - /mnt/user/media/plex:/data
    restart: unless-stopped
  prowlarr: # https://hub.docker.com/r/linuxserver/prowlarr
    image: lscr.io/linuxserver/prowlarr:latest
    container_name: prowlarr
    network_mode: "service:gluetun"
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
    volumes:
      - /mnt/user/appdata/prowlarr:/config
    #ports:
      #- 9696:9696
    restart: unless-stopped
  sonarr: # https://hub.docker.com/r/linuxserver/sonarr
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    network_mode: "service:gluetun"
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
    volumes:
      - /mnt/user/media:/data
      - /mnt/user/media/downloads/:/downloads
      - /mnt/user/appdata/sonarr:/config #Location of Sonarr configuration
    #ports:
      #- 8989:8989
    restart: unless-stopped
  radarr: # https://hub.docker.com/r/linuxserver/radarr
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    network_mode: "service:gluetun"
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
    volumes:
      - /mnt/user/appdata/radarr:/config #Location of Radarr configuration
      - /mnt/user/media:/data
      - /mnt/user/media/downloads:/downloads #Location of downloads from download client
    #ports:
      #- 7878:7878
    restart: unless-stopped
  overseerr: # https://hub.docker.com/r/linuxserver/overseerr
    image: lscr.io/linuxserver/overseerr:latest
    container_name: overseerr
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
    volumes:
      - /mnt/user/appdata/overseerr:/config
    ports:
      - 5055:5055
    restart: unless-stopped
  syncthing: # https://hub.docker.com/r/linuxserver/syncthing
    image: lscr.io/linuxserver/syncthing:latest
    container_name: syncthing
    network_mode: "service:gluetun"
    # hostname: syncthing #optional
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/London
    volumes:
      - ./syncthing/config:/config
      - ./downloads:/data1
      - ./madia_cache:/data2
    #ports:
      #- 8384:8384
    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:

qdm12 commented 2 months ago

Container Exits with code 0 while trying to update list of servers.

That means it succeeded. Exit code 1 means it failed.

no region found for server

That means the Nordvpn API endpoint did not give region information for these few servers you get a warning for. It will still add them to the list of servers, but the region field will be absent. Note Nordvpn has hundreds if not thousands of servers listed (it's half of all servers data within Gluetun all vpn providers mixed), so a few warnings about missing data is fine. I don't really want to hardcode the region for these server names, however I'm sure Nordvpn would be interested to know these few servers are missing region information, so feel free to let them know so they can fix it on their side :wink:

Closing this since it's more of a data error on Nordvpn API side than a Gluetun bug.

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.