proton-privoxy icon indicating copy to clipboard operation
proton-privoxy copied to clipboard

Authentication failed

Open Tom-S183 opened this issue 1 year ago • 7 comments

Console keeps spamming this message: 2024-05-13 12:13:48 [!] Authentication failed. 2024-05-13 12:13:48 [!] Please make sure that your Username and Password is correct. 2024-05-13 12:13:48 Failed to bring up VPN :( 2024-05-13 12:13:48 Device "proton0" does not exist. 2024-05-13 12:13:53 There is already a VPN connection running. 2024-05-13 12:13:53 Terminating previous connection... 2024-05-13 12:13:53 Connecting to NL#256 via UDP... 2024-05-13 12:13:53 [!] Authentication failed. 2024-05-13 12:13:53 [!] Please make sure that your Username and Password is correct. 2024-05-13 12:13:53 Device "proton0" does not exist.

I am sure the credentials are correct. I used my normal ProtonVPN login and the OpenVPN / IKEv2 credentials. Both didn't work.

Here is the command I used:

docker run -d --device=/dev/net/tun --cap-add=NET_ADMIN -v /etc/localtime:/etc/localtime:ro -p 8888:8080 -e PVPN_USERNAME=user -e PVPN_PASSWORD=pass --name proton-privoxy walt3rl/proton-privoxy

Tom-S183 avatar May 13 '24 10:05 Tom-S183

Same issue on my side. Tried to run protonvpn init but it did not fix the issue.

Cyber-Broccoli avatar May 19 '24 22:05 Cyber-Broccoli

+1

taconi avatar May 20 '24 18:05 taconi

Make sure you've read this: https://github.com/walterl/proton-privoxy/issues/44

I just had this exact issue, because I misunderstood the docs. You can find the credentials you're supposed to give under the "Account" tab in your ProtonVPN dashboard.

kilbouri avatar May 24 '24 02:05 kilbouri

On my side, it was a DNS issue from inside my docker. Solved.

Cyber-Broccoli avatar May 29 '24 21:05 Cyber-Broccoli

If you are on the free tier make sure to specify that in the docker compose file - PVPN_TIER=0

LakshayZoof avatar Oct 22 '24 18:10 LakshayZoof

One other thing to note specific to proton, I have noticed with using 4 containers (plus my desktop/mobile) making 6 connections, I only have 4 connections left.

I had an issue where I was restarting containers too fast, and that temporarily adds 1 connection to your account. In my case I was adding 4 each time I restarted all my containers, easily putting me over limit. I am not sure how long until the stale connection falls off.

So if you have 4 containers, I would not restart them or change servers too often, as you can hit your limit of 10 and then they fail to authenticate and/or kick off your desktop/mobile clients.

Personally I keep 4 connections spare in case I need a new server or reboot container.

mooleshacat avatar Oct 25 '24 12:10 mooleshacat

Please note that I will no longer be maintaining this project: #68. I'll leave this issue open in case anyone else wants to take it further.

walterl avatar Apr 15 '25 20:04 walterl