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

Your credentials might be wrong with NordVpn #2181

Closed hdryx closed 7 months ago

hdryx commented 7 months ago

Is this urgent?

No

Host OS

Debian

CPU arch

x86_64

VPN service provider

NordVPN

What are you using to run the container

Portainer

What is the version of Gluetun

3.37.0

What's the problem ๐Ÿค”

Hi,

I set up a docker compose with NordVPN as VPN Provider however when starting the container show this error:

"Your credentials might be wrong ๐Ÿคจ"

I'm sure that my credentials are correct,

My password dosn't have any special caracters, it's only alphanum in capital letters.

Thank you

Share your logs (at least 10 lines)

|           โ””โ”€โ”€ Blocked IP networks:
|               โ”œโ”€โ”€ 127.0.0.1/8
|               โ”œโ”€โ”€ 10.0.0.0/8
|               โ”œโ”€โ”€ 172.16.0.0/12
|               โ”œโ”€โ”€ 192.168.0.0/16
|               โ”œโ”€โ”€ 169.254.0.0/16
|               โ”œโ”€โ”€ ::1/128
|               โ”œโ”€โ”€ fc00::/7
|               โ”œโ”€โ”€ fe80::/10
|               โ”œโ”€โ”€ ::ffff:127.0.0.1/104
|               โ”œโ”€โ”€ ::ffff:10.0.0.0/104
|               โ”œโ”€โ”€ ::ffff:169.254.0.0/112
|               โ”œโ”€โ”€ ::ffff:172.16.0.0/108
|               โ””โ”€โ”€ ::ffff:192.168.0.0/112
โ”œโ”€โ”€ Firewall settings:
|   โ””โ”€โ”€ Enabled: yes
โ”œโ”€โ”€ Log settings:
|   โ””โ”€โ”€ Log level: INFO
โ”œโ”€โ”€ Health settings:
|   โ”œโ”€โ”€ Server listening address: 127.0.0.1:9999
|   โ”œโ”€โ”€ Target address: cloudflare.com:443
|   โ”œโ”€โ”€ Duration to wait after success: 5s
|   โ”œโ”€โ”€ Read header timeout: 100ms
|   โ”œโ”€โ”€ Read timeout: 500ms
|   โ””โ”€โ”€ VPN wait durations:
|       โ”œโ”€โ”€ Initial duration: 6s
|       โ””โ”€โ”€ Additional duration: 5s
โ”œโ”€โ”€ Shadowsocks server settings:
|   โ””โ”€โ”€ Enabled: no
โ”œโ”€โ”€ HTTP proxy settings:
|   โ””โ”€โ”€ Enabled: no
โ”œโ”€โ”€ Control server settings:
|   โ”œโ”€โ”€ Listening address: :8000
|   โ””โ”€โ”€ Logging: yes
โ”œโ”€โ”€ OS Alpine settings:
|   โ”œโ”€โ”€ Process UID: 1000
|   โ””โ”€โ”€ Process GID: 1000
โ”œโ”€โ”€ Public IP settings:
|   โ”œโ”€โ”€ Fetching: every 12h0m0s
|   โ”œโ”€โ”€ IP file path: /tmp/gluetun/ip
|   โ””โ”€โ”€ Public IP data API: ipinfo
โ””โ”€โ”€ Version settings:
    โ””โ”€โ”€ Enabled: yes
2024-03-25T15:27:48Z INFO [routing] default route found: interface eth0, gateway 192.168.176.1, assigned IP 192.168.176.2 and family v4
2024-03-25T15:27:48Z INFO [routing] adding route for 0.0.0.0/0
2024-03-25T15:27:48Z INFO [firewall] setting allowed subnets...
2024-03-25T15:27:48Z INFO [routing] default route found: interface eth0, gateway 192.168.176.1, assigned IP 192.168.176.2 and family v4
2024-03-25T15:27:48Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2024-03-25T15:27:48Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-03-25T15:27:48Z INFO [http server] http server listening on [::]:8000
2024-03-25T15:27:48Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-03-25T15:27:48Z INFO [firewall] allowing VPN connection...
2024-03-25T15:27:48Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-25T15:27:48Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-25T15:27:48Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]185.218.127.83:1194
2024-03-25T15:27:48Z INFO [openvpn] UDP link local: (not bound)
2024-03-25T15:27:48Z INFO [openvpn] UDP link remote: [AF_INET]185.218.127.83:1194
2024-03-25T15:27:49Z INFO [openvpn] [au749.nordvpn.com] Peer Connection Initiated with [AF_INET]185.218.127.83:1194
2024-03-25T15:27:50Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong ๐Ÿคจ
2024-03-25T15:27:50Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2024-03-25T15:27:54Z INFO [healthcheck] program has been unhealthy for 6s: restarting VPN
2024-03-25T15:27:54Z INFO [healthcheck] ๐Ÿ‘‰ See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-25T15:27:54Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-25T15:27:54Z INFO [vpn] stopping
2024-03-25T15:27:54Z INFO [vpn] starting
2024-03-25T15:27:54Z INFO [firewall] allowing VPN connection...
2024-03-25T15:27:54Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-25T15:27:54Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-25T15:27:54Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]138.199.15.86:1194
2024-03-25T15:27:54Z INFO [openvpn] UDP link local: (not bound)
2024-03-25T15:27:54Z INFO [openvpn] UDP link remote: [AF_INET]138.199.15.86:1194
2024-03-25T15:27:54Z INFO [openvpn] [fr860.nordvpn.com] Peer Connection Initiated with [AF_INET]138.199.15.86:1194
2024-03-25T15:27:55Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong ๐Ÿคจ
2024-03-25T15:27:55Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2024-03-25T15:28:05Z INFO [healthcheck] program has been unhealthy for 11s: restarting VPN
2024-03-25T15:28:05Z INFO [healthcheck] ๐Ÿ‘‰ See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-03-25T15:28:05Z INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-03-25T15:28:05Z INFO [vpn] stopping
2024-03-25T15:28:05Z INFO [vpn] starting
2024-03-25T15:28:05Z INFO [firewall] allowing VPN connection...
2024-03-25T15:28:05Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-03-25T15:28:05Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-25T15:28:05Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.160.132:1194
2024-03-25T15:28:05Z INFO [openvpn] UDP link local: (not bound)
2024-03-25T15:28:05Z INFO [openvpn] UDP link remote: [AF_INET]191.101.160.132:1194
2024-03-25T15:28:05Z INFO [openvpn] [us9790.nordvpn.com] Peer Connection Initiated with [AF_INET]191.101.160.132:1194
2024-03-25T15:28:12Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong ๐Ÿคจ
2024-03-25T15:28:12Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting

Share your configuration

`version: "3.3"
services:
  nordvpn:
    container_name: GlueTun-Nord
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    ports:
      - "8089:8089" # QbitTorrent UI
      - "9092:9091" # Transmission
      - "51413:51413" # Transmision
      - "51413:51413/udp" # Transmision
      - "51420:51420" # QbitTorrent
      - "51420:51420/udp" # QbitTorrent
    environment:
      - VPN_SERVICE_PROVIDER=nordvpn
      - OPENVPN_USER=myaccount@gmail.com
      - OPENVPN_PASSWORD=MYPASSWORD
      - SERVER_REGIONS=Canada
      - VPN_TYPE=openvpn
    restart: always
  qbittorrent:
    image: linuxserver/qbittorrent:4.5.2
    network_mode: "service:nordvpn"
    container_name: QbitTorrent-Nord
    depends_on:
      - nordvpn
    environment:
      - WEBUI_PORT=8089
      - PUID=1000
      - PGID=1000
      - TZ=America/Toronto
    volumes:
      - "/DATA/AppData/qBittorrent-VPN/config:/config"
      - "/media/HardDrive/Downloads/QBitTorrent:/downloads"
    restart: always`
github-actions[bot] commented 7 months ago

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

qdm12 commented 7 months ago

Copy paste the version line at the top of your logs. It MUST be in the form Running version latest built on 2020-03-13T01:30:06Z (commit d0f678c).

Closing because of no respect of this.

Apart from this, Nordvpn is known to fail auth for no reason, so just try changing server (also your logs are not full so I don't see your filter settings, please read instructions to create an issue clearly, it's not made for no reason).

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