Same thing - OpenVPN 3.4.0 will infinitely ask for Google 2FA code, Pritunl logs show User connection to "XXX" denied. User failed two-step authentication.
Downgrading OpenVPN client to 3.3.4 fixes the issue.
I could not reproduce the issue on Ubuntu 20.04 Pritunl v1.32.
Try disabling OpenVPN authentication cache in the top right settings if it is set.
Run the commands below to edit the authorizer find the _check_password function and add the log message to the first line of the function with the correct indention. Then restart the service and this will allow seeing what is getting sent to the server in the password field. The path below is for a v1.32 release, on older releases you will need to find the file similar to /usr/lib/pritunl/lib/python3.8/site-packages/pritunl/authorizer/authorizer.py with the correct Python version.
Hi @afahre, i still cannot login or use vpn client in android. Can you share information which version openvpn client in android that you use please?
I tried with 3.4.2, 3.3.4, 3.3.3, 3.2.6 version but still error after import the profile. The popup error is User Authentication Failed.
Here’s the capture from me and there is a log that shows us if the user/pass empty, I believe that it should be filled.
Many thanks for any guidance here