Client VPN: Failed to authenticate Reconnecting

Hello, I am encountering the following error: initially, it shows “connecting” as the status, and then it switches to “reconnecting”.

Error Message - Client VPN: Failed to authenticate to Access-VPN

  • Windows 11
    
  • Disabled IPV6
    
  • Google Authenticator
    
  • Same time zone set on both my authenticator and Windows 11
    

Serivce Logs

[2024-03-06 18:15:12][INFO] ▶️ profile: Connecting ◆ device_auth=false ◆ disable_dns=false ◆ disable_gateway=false ◆ dynamic_firewall=false ◆ force_dns=false ◆ mode="ovpn" ◆ profile_id="b569297a869dbd2f" ◆ reconnect=true ◆ sso_auth=false
[2024-03-06 18:15:21][INFO] ▶️ profile: Profile exit, reconnecting ◆ profile_id="b569297a869dbd2f"
[2024-03-06 18:15:21][INFO] ▶️ profile: Reconnecting ◆ profile_id="b569297a869dbd2f"
[2024-03-06 18:15:32][INFO] ▶️ profile: Disconnected ◆ profile_id="b569297a869dbd2f"
[2024-03-06 18:15:32][INFO] ▶️ profile: Connecting ◆ device_auth=false ◆ disable_dns=false ◆ disable_gateway=false ◆ dynamic_firewall=false ◆ force_dns=false ◆ mode="ovpn" ◆ profile_id="b569297a869dbd2f" ◆ reconnect=true ◆ sso_auth=false
[2024-03-06 18:15:42][INFO] ▶️ profile: Disconnecting ◆ profile_id="b569297a869dbd2f"

Client Log

[2024-3-6 18:15:11][INFO] Profiles: Updating profile 'b569297a869dbd2f'

User

2024-03-06 18:15:13 OpenVPN 2.6.8 [git:v2.6.8/3b0d9489cc423da3] Windows [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Nov 17 2023
2024-03-06 18:15:13 Windows version 10.0 (Windows 10 or greater), amd64 executable
2024-03-06 18:15:13 library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-06 18:15:13 DCO version: 1.0.0
2024-03-06 18:15:13 TCP/UDP: Preserving recently used remote address: [AF_INET]20.237.5.215:11370
2024-03-06 18:15:13 UDPv4 link local: (not bound)
2024-03-06 18:15:13 UDPv4 link remote: [AF_INET]20.237.5.215:11370
2024-03-06 18:15:13 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2024-03-06 18:15:13 VERIFY OK: depth=1, O=65d3e37ff5a4ccf25b2037cf, CN=65d3e37ff5a4ccf25b2037d4
2024-03-06 18:15:13 NOTE: --mute triggered...
2024-03-06 18:15:13 6 variation(s) on previous 3 message(s) suppressed by --mute
2024-03-06 18:15:13 [65d3e380f5a4ccf25b2037e8] Peer Connection Initiated with [AF_INET]20.237.5.215:11370
2024-03-06 18:15:19 Options error: --dhcp-option DOMAIN-SEARCH: maximum of 10 search entries can be specified
2024-03-06 18:15:19 open_tun
2024-03-06 18:15:19 tap-windows6 device [Pritunl 1] opened
2024-03-06 18:15:19 Set TAP-Windows TUN subnet mode network/local/netmask = 192.168.121.0/192.168.121.3/255.255.255.0 [SUCCEEDED]
2024-03-06 18:15:19 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.121.3/255.255.255.0 on interface {C3459DE7-D157-4EA3-8A06-A4ADE3E2A2E9} [DHCP-serv: 192.168.121.0, lease-time: 31536000]
2024-03-06 18:15:34 OpenVPN 2.6.8 [git:v2.6.8/3b0d9489cc423da3] Windows [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Nov 17 2023
2024-03-06 18:15:34 Windows version 10.0 (Windows 10 or greater), amd64 executable
2024-03-06 18:15:34 library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-03-06 18:15:34 DCO version: 1.0.0
2024-03-06 18:15:34 TCP/UDP: Preserving recently used remote address: [AF_INET]20.237.5.215:11370
2024-03-06 18:15:34 UDPv4 link local: (not bound)
2024-03-06 18:15:34 UDPv4 link remote: [AF_INET]20.237.5.215:11370
2024-03-06 18:15:34 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2024-03-06 18:15:34 VERIFY OK: depth=1, O=65d3e37ff5a4ccf25b2037cf, CN=65d3e37ff5a4ccf25b2037d4
2024-03-06 18:15:34 NOTE: --mute triggered...
2024-03-06 18:15:34 6 variation(s) on previous 3 message(s) suppressed by --mute
2024-03-06 18:15:34 [65d3e380f5a4ccf25b2037e8] Peer Connection Initiated with [AF_INET]20.237.5.215:11370
2024-03-06 18:15:36 AUTH: Received control message: AUTH_FAILED,CRV1:R,E:b5e34af5220348dd8e98f4e365eb523e:bmls:Enter OTP Code
2024-03-06 18:15:36 SIGTERM[soft,auth-failure] received, process exiting

**AUTH: Received control message: AUTH_FAILED,CRV1:R,E:b5e34af5220348dd8e98f4e365eb523e:bmls:Enter OTP Code**

Server Output
[evening-stars-2601] 2024-03-06 23:15:34 ERROR User auth failed "Challenge OTP code"

validated with another VPN server, installed the profile on the client using the Windows machine, and configured the authentication. I do not experience the reconnection issue in this setup.

Thank U

The error is for an incorrect OTP code. Check the time and timezone on both the client and server. Also delete and reimport the authenticator.

Thank U
But when I make the connection from a MacBook, I don’t have that error, but on a Windows, I do have the error.