gluetun: Bug: AUTH_FAILED out of the blue
Is this urgent?
None
Host OS
Ubuntu 22.04
CPU arch
x86_64
VPN service provider
NordVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
sha256:0293640326ff3b55c594a5373c705daf318c274d242bd632b3fd48e2de0caeb6
What’s the problem 🤔
Today out of the blue I received the “ERROR [openvpn] AUTH: Received control message: AUTH_FAILED Your credentials might be wrong 🤨” error in the logs. It worked flawlessly for weeks without changing anything. The login is also correct and hasn’t changed. I’ve also tried an other account (which works on the desktop) but not on Gluetun.
Share your logs
2023-06-28T13:46:54+02:00 INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2023-06-28T13:47:04+02:00 INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP>:1194
2023-06-28T13:47:04+02:00 INFO [openvpn] UDP link local: (not bound)
2023-06-28T13:47:04+02:00 INFO [openvpn] UDP link remote: [AF_INET]<IP>:1194
2023-06-28T13:47:05+02:00 INFO [openvpn] [kr34.nordvpn.com] Peer Connection Initiated with [AF_INET]<IP>:1194
2023-06-28T13:47:11+02:00 ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong 🤨
2023-06-28T13:47:11+02:00 INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2023-06-28T13:47:13+02:00 INFO [healthcheck] program has been unhealthy for 26s: restarting VPN (see https://github.com/qdm12/gluetun/wiki/Healthcheck)
2023-06-28T13:47:13+02:00 INFO [vpn] stopping
2023-06-28T13:47:13+02:00 INFO [vpn] starting
2023-06-28T13:47:13+02:00 INFO [firewall] allowing VPN connection...
2023-06-28T13:47:13+02:00 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-06-28T13:47:13+02:00 INFO [openvpn] library versions: OpenSSL 3.1.1 30 May 2023, LZO 2.10
2023-06-28T13:47:13+02:00 INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]<IP>:1194
2023-06-28T13:47:13+02:00 INFO [openvpn] UDP link local: (not bound)
2023-06-28T13:47:13+02:00 INFO [openvpn] UDP link remote: [AF_INET]<IP>:1194
2023-06-28T13:47:14+02:00 INFO [openvpn] [ee51.nordvpn.com] Peer Connection Initiated with [AF_INET]<IP>:1194
2023-06-28T13:47:20+02:00 ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong 🤨
Share your configuration
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun_nordvpn
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=nordvpn
- OPENVPN_USER=<MYMAIL>
- OPENVPN_PASSWORD=<MYPASS>
- SERVER_REGIONS=Albania,Argentina,Australia,Belgium,Bosnia and Herzegovina,Brazil,Bulgaria,Canada,Chile,Costa Rica,Croatia,Cyprus,Czech Republic,Estonia,Finland,France,Georgia,Greece,Hungary,Iceland,India,Indonesia,Ireland,Israel,Italy,Japan,Latvia,Lithuania,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,United Kingdom,United States
- HTTP_CONTROL_SERVER_ADDRESS=:8000
- HTTP_CONTROL_SERVER_LOG=on
labels:
- com.centurylinklabs.watchtower.monitor-only=true
restart: unless-stopped
ports:
- 8001:8000/tcp
- 8124:8124
- 6881:6881
- 6881:6881/udp
networks:
- <MYNETWORK>
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 5
- Comments: 17 (3 by maintainers)
I started my morning with this issue. Just messing around with my NordVPN settings, I changed my login credentials in my Portainer Stack FROM my email and password, TO my Service Credentials and it worked right away. Find this in your NordVPN account under Manual Setup. Maybe Nord changed what they accept for a headless login from a Docker container over night? Either way, it’s working for me now using these different login credentials.