Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: VPNSecure AUTH_FAILED #2649

Open
webepg opened this issue Jan 7, 2025 · 3 comments
Open

Bug: VPNSecure AUTH_FAILED #2649

webepg opened this issue Jan 7, 2025 · 3 comments

Comments

@webepg
Copy link

webepg commented Jan 7, 2025

Is this urgent?

None

Host OS

Debian 12 (Bookworm)

CPU arch

x86_64

VPN service provider

VPNSecure.me

What are you using to run the container

docker-compose

What is the version of Gluetun

Latest Build: 2024-12-27T20:18:46.989Z

What's the problem 🤔

I'm trying to set up the container with the vpnsecure provider. I've created the client.crt and openvpn_encrypted_key file and filled them like explained here:

https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/openvpn-client-certificate.md
https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/openvpn-client-encrypted-key.md

The files are set up correctly. The credentials do work when I use the app and also on the website of vpnsecure.

Share your logs (at least 10 lines)

2025-01-07T18:18:36Z INFO [openvpn] SIGUSR1[soft,auth-failure] received, process restarting
2025-01-07T18:18:46Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]51.158.252.2:1282
2025-01-07T18:18:46Z INFO [openvpn] UDPv4 link local: (not bound)
2025-01-07T18:18:46Z INFO [openvpn] UDPv4 link remote: [AF_INET]51.158.252.2:1282
2025-01-07T18:18:47Z INFO [openvpn] [vpnsecure-server] Peer Connection Initiated with [AF_INET]51.158.252.2:1282
2025-01-07T18:18:48Z ERROR [openvpn] AUTH: Received control message: AUTH_FAILED
Your credentials might be wrong 🤨

Share your configuration

version: "3"
services:
  gluetun:    
    restart: unless-stopped
    image: qmcgaw/gluetun:latest
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=vpnsecure
      - SERVER_COUNTRIES=Netherlands
      - OPENVPN_KEY_PASSPHRASE=mypassword
      - UPDATER_PERIOD=24h
      - PREMIUM_ONLY=no
    ports:
      - 5800:5800/tcp
      - 5800:5800/udp
    #command: update -enduser -providers vpnsecure
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - /data/compose/19/gluetun:/gluetun
Copy link
Contributor

github-actions bot commented Jan 7, 2025

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

@qdm12
Copy link
Owner

qdm12 commented Jan 9, 2025

  1. Do you have any funny characters (such as $) in your password? Maybe that could be the issue 🤔 although I'd expect openvpn not being able to decrypt your openvpn key file if the passphrase was invalid...
  2. Have you tried with other servers (for example pick one with SERVER_HOSTNAMES)

@qdm12 qdm12 changed the title Bug: VPNSecure wrong credentials Bug: VPNSecure AUTH_FAILED Jan 9, 2025
@webepg
Copy link
Author

webepg commented Jan 9, 2025

I tried to change the password to one without special characters, deployed the new files and also tried to connect to an other server -> nothing changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants