
AUTH_FAILED means you got as far as the server. Network, port and certificate are fine; only the last step failed.
Reaching this step means the hard part, the network, already worked. What remains is why the server does not accept this person: account, password, code, permission, or no room.
The six usual reasons
| Reason | How to tell |
|---|---|
| A space in the password | Type it instead of pasting |
| The wrong account | Many providers have separate website and OpenVPN accounts |
| One-time code | Some want the password with six digits right after it |
| Too many at once | Disconnect other devices |
| Expired or unpaid | Sign in to the website |
| Locked after too many tries | Wait fifteen minutes or ask the administrator |

Two accounts at one provider
Quite a few VPN providers show a separate user name and password for manual setup, long random strings. The e-mail and password you use on the website will always fail.
Your own server
sudo journalctl -u openvpn-server@server -n 50
sudo tail -n 30 /var/log/auth.logWith PAM the password is the system account's and the account must be allowed to sign in. With a script, look at its return value.
- Try an account that surely worksIf it connects, it was the account
- Clear the saved password and type againAn old one may be remembered
- Check the server's clockOne-time codes fail when it is a minute off

The server says more than the client shows
| Server log | Meaning |
|---|---|
PAM: authentication failure | System account or password |
account expired, password expired | As it says |
User not found | Misspelled, mind the case |
Auth Username/Password verification failed | The script refused |
concurrent connections | Too many at once |
LDAP bind failed | The directory is down, everybody fails |
If you cannot see it, tell the administrator the exact minute.
Three ways to enter a code
- Password in the password box, then six digits in a second box.
- Password and six digits together, no space.
- Only the six digits in the password box.
Codes change every thirty seconds; with less than five left wait for the next. A phone clock one minute off makes every code wrong: turn on automatic time.
The client remembers an old password
| Client | Clear it |
|---|---|
| OpenVPN GUI | Right-click → clear saved passwords |
| OpenVPN Connect | Edit the profile and retype |
| Tunnelblick | Keychain entry, or in settings |
| OpenVPN for Android | Edit → Basic, empty the password |
| NetworkManager | Connection settings |
Less visible: auth-user-pass file reads from a file. Trailing spaces or Windows line ends in it fail on Linux.
Special characters
Quotes, backslashes and non-Latin letters are escaped by some clients. Try a temporary password of letters and digits. Some accounts need the part after @, some not.
Commercial providers
The usual mistake is the wrong account. Look for manual setup, OpenVPN credentials or router in the dashboard; only those work. Some providers have dropped OpenVPN altogether, such as Mullvad in January 2026, and then every password fails.
After many failures
- A fewWait minutes
- A dozenLocked for fifteen minutes to an hour
- MoreThe address is banned by fail2ban or similar
A banned address gets no answer even to the handshake and looks like a network fault. If a hotspot works, that was it.
It worked until today?
Did you change the website password? Is another device using your slot?
The prompt flashes and disappears?
The client sends an old saved password. Clear it.
The administrator says the account is fine?
Let them try it on their computer. If it works there, the fault is on yours.
Two computers, one account?
Depends on the server; often the second is refused or pushes the first out.
New phone, no codes?
The administrator has to enrol you again.



