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.04k stars 371 forks source link

OPENVPN error #1614

Closed postman578 closed 1 year ago

postman578 commented 1 year ago

Is this urgent?

None

Host OS

Debian GNU/Linux 11 (bullseye) aarch64

CPU arch

aarch64

VPN service provider

Surfshark

What are you using to run the container

Portainer

What is the version of Gluetun

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

What's the problem 🤔

I have this running for a long time now on raspberry pi 4 and it worked perfectly! Only after latest update i keep getting this error and the process exits:

2023-05-27T07:55:17Z ERROR VPN settings: provider settings: server selection: for VPN service provider surfshark: the country specified is not valid: value is not one of the possible choices: value united kingdom, choices av

Share your logs

========================================
========================================
=============== gluetun ================
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
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-27T07:55:16Z INFO [routing] default route found: interface eth0, gateway 172.29.0.1, assigned IP 172.29.0.2 and family v4
2023-05-27T07:55:16Z INFO [routing] local ethernet link found: eth0
2023-05-27T07:55:16Z INFO [routing] local ipnet found: 172.29.0.0/16
2023-05-27T07:55:16Z INFO [firewall] enabling...
2023-05-27T07:55:16Z INFO [firewall] enabled successfully
2023-05-27T07:55:17Z INFO [storage] merging by most recent 13056 hardcoded servers and 13056 servers read from /gluetun/servers.json
2023-05-27T07:55:17Z ERROR VPN settings: provider settings: server selection: for VPN service provider surfshark: the country specified is not valid: value is not one of the possible choices: value united kingdom, choices available are Albania, Algeria, Andorra, Argentina, Armenia, Australia, Austria, Azerbaijan, Bahamas, Bangladesh, Belgium, Belize, Bhutan, Bolivia, Bosnia and Herzegovina, Brazil, Brunei, Bulgaria, Cambodia, Canada, Chile, Colombia, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Ecuador, Egypt, Estonia, Finland, France, Germany, Ghana, Greece, Greenland, Hong Kong, Hungary, Iceland, India, India UK, Indonesia, Ireland, Isle of Man, Israel, Italy, Japan, Kazakhstan, Laos, Latvia, Liechtenstein, Lithuania, Luxembourg, Macau, Malaysia, Malta, Marocco, Mexico, Moldova, Monaco, Mongolia, Montenegro, Myanmar, Nepal, Netherlands, New Zealand, Nigeria, North Macedonia, Norway, Pakistan, Panama, Paraguay, Peru, Philippines, Poland, Portugal, Puerto Rico, Romania, Saudi Arabia, Serbia, Singapore, Singapore in, Slovakia, Slovenia, South Africa, South Korea, Spain, Sri Lanka, Sweden, Switzerland, Taiwan, Thailand, Turkey, Ukraine, United Arab Emirates, United Kingdom, United States, Uruguay, Uzbekistan, Venezuela, Vietnam
2023-05-27T07:55:17Z INFO Shutdown successful

Share your configuration

i used this stack:

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=surfshark
      - VPN_TYPE=openvpn
      - OPENVPN_USER=xxx
      - OPENVPN_PASSWORD=xxx
      - SERVER_COUNTRIES=United Kingdom
qdm12 commented 1 year ago

The latest image qmcgaw/gluetun was fixed a few minutes ago by 7e325715c7a24da73447b29cec94b207bd950745. The regression was introduced 2 days ago with a43973c093662c2b5521eb2e9e3aea053584e96b which did compare text taking care about case sensitivity (gluetun lowercases everything inputted, but keeps servers data text with case sensitivity). My apologies for the delay fixing it, obviously, and thank you for reporting the issue 🎖️

Just in case you are not aware, you can use released docker images such as qmcgaw/gluetun:v3 or qmcgaw/gluetun:v3.34.1 which should be more stable than the latest image qmcgaw/gluetun. I always appreciate users using the latest image since this helps fix bugs before bringing them to a stable release which would end up unstable, so ideally keep using the latest image 😉