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

Unable to authenticate when 2FA active #44

Closed
OriCat101 opened this issue Jan 9, 2024 · 4 comments
Closed

Unable to authenticate when 2FA active #44

OriCat101 opened this issue Jan 9, 2024 · 4 comments

Comments

@OriCat101
Copy link

Hey, so I have been trying to get this running for quite some time now. I have narrowed the problem down to 2FA and possibly the Mailbox password.

Here are some of the logs, probably useless tho.

2024-01-09 02:21:37,831 — protonvpn-cli — DEBUG — disconnect:347 — No connection found
2024-01-09 02:21:37,831 — protonvpn-cli — DEBUG — get_ip_info:145 — Getting IP Information
2024-01-09 02:21:37,832 — protonvpn-cli — DEBUG — call_api:38 — Initiating API Call: https://api.protonvpn.ch/vpn/location
2024-01-09 02:21:37,947 — protonvpn-cli — DEBUG — call_api:67 — Successful json response
2024-01-09 02:21:37,950 — protonvpn-cli — DEBUG — openvpn_connect:476 — OpenVPN process started
2024-01-09 02:21:44,463 — protonvpn-cli — DEBUG — openvpn_connect:519 — Authentication failure
Connecting to CH#78 via UDP...
[!] Authentication failed. 
[!] Please make sure that your Username and Password is correct.
Device "proton0" does not exist.
Failed to bring up VPN :(
@victorgrund
Copy link

Yeah, trying this image for the first time. Same issue. I know the OpenVPN credential I'm using work elsewhere.

@OriCat101
Copy link
Author

OpenVPN credential? You're suposed to use your Proton Credentials

@victorgrund
Copy link

Au contraire, my friend. You are supposed to be using the credentials under "OpenVPN / IKEv2 username" in your Proton VPN account details.

Anyway, I sorted this. I had the wrong PVPN_TIER configured. It wasn't obvious which one to use (I do have a paid account, but it wasn't leaping out at me which I should use). A little trial and error fixed it.

@walterl
Copy link
Owner

walterl commented Mar 17, 2024

Interesting, @victorgrund. Thanks for that bit of lore. IIRC I also had to play around to find the right value. Since I have a "normal" paid account, and a value of 2 worked for me, I assumed that it would be a safe default.

I'm closing this since there's a known fix, but please re-open if using a different PVPN_TIER value didn't work for you, @OriCat101.

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

No branches or pull requests

3 participants