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
7.91k stars 367 forks source link

Bug: SERVER_REGIONS=* value not one of the possible choices #1617

Closed jvince11 closed 1 year ago

jvince11 commented 1 year ago

I’m finally submitting this ticket since my head cant take anymore of me banging it against this wall.

ISSUE

Container is telling me that the value is not possible no matter what I try. I’ve seen the other bug about not needing to use “United States” or whatever, but no configuration is working (e.g. =Netherlands, = Netherlands, =“Netherlands”, =netherlands).

See logs below, the program seems to be reading in lower case instead of title case (e.g. “ value is not one of the possible choices: value netherlands,”), even though I have it in Title Case per the compose file example.

Hoping I’m not missing something super simple, I tend to do that sometimes :)

Compose file

version: "3.2" services: gluetun: image: qmcgaw/gluetun container_name: gluetun logging: driver: json-file options: max-file: ${DOCKERLOGGING_MAXFILE} max-size: ${DOCKERLOGGING_MAXSIZE} labels:

Expected Behavior

connect to vpn server

docker logs gluetun

Running version latest built on 2023-05-25T12:12:44.932Z (commit a43973c)

🔧 Need help? https://github.com/qdm12/gluetun/discussions/new 🐛 Bug? https://github.com/qdm12/gluetun/issues/new ✨ New feature? https://github.com/qdm12/gluetun/issues/new ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new 💻 Email? quentin.mcgaw@gmail.com 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12 2023-05-27T14:17:25-07:00 INFO [routing] default route found: interface eth0, gateway 172.20.0.1, assigned IP 172.20.0.5 and family v4 2023-05-27T14:17:25-07:00 INFO [routing] local ethernet link found: eth0 2023-05-27T14:17:25-07:00 INFO [routing] local ipnet found: 172.20.0.0/16 2023-05-27T14:17:25-07:00 INFO [firewall] enabling... 2023-05-27T14:17:26-07:00 INFO [firewall] enabled successfully 2023-05-27T14:17:26-07:00 INFO [storage] merging by most recent 13056 hardcoded servers and 13056 servers read from /gluetun/servers.json 2023-05-27T14:17:26-07:00 ERROR VPN settings: provider settings: server selection: for VPN service provider nordvpn: the region specified is not valid: value is not one of the possible choices: value netherlands, choices available are Albania, Argentina, Australia, Austria, Belgium, Bosnia and Herzegovina, Brazil, Bulgaria, Canada, Chile, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, Hong Kong, Hungary, Iceland, India, Indonesia, Ireland, Israel, Italy, Japan, Latvia, Lithuania, Luxembourg, Malaysia, Mexico, Moldova, Netherlands, New Zealand, North Macedonia, Norway, Poland, Portugal, Romania, Serbia, Singapore, Slovakia, Slovenia, South Africa, South Korea, Spain, Sweden, Switzerland, Taiwan, Thailand, Turkey, Ukraine, United Kingdom, United States, Vietnam

frepke commented 1 year ago

You should pull the latest image, this issue is solved a few hours ago.

jvince11 commented 1 year ago

well, shoot! That worked, thought I had pulled the update as of yesterday, but it seems that might’ve been the issue. Thanks!

qdm12 commented 1 year ago

Thanks @frepke 👍