Random disconnects and ignoring auto reconnect setting

I thought I would start a new topic

I updated my client to v1.3.4059 on Saturday or Sunday , and Sunday evening I went to my laptop and it had been trying to reconnect for a few hours.

It just occured this evening now, before bed I checked my pc and it had been constantly reconnecting for 4 hours, which of course locks my account on radius.

The weird thing is I have auto reconnect disabled on the server and on the client


We authenticate to radius , which then sends auth to privacyidea for tfa and further LDAP auth. (Users tfa is combined with their password)

Its really important that we can stop auto reconnect as the password+tfa will not be valid for reconnects and this causes accounts to be locked out.

[2024-10-29 01:53:59][INFO] β–Ά connection: Stopping reconnect β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="client_auth_error" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 53, 58, 390737000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:02][ERRO] β–Ά connection: Disconnecting β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=3 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 53, 58, 390737000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:05][INFO] β–Ά utils: Clearing DNS state
[2024-10-29 01:54:05][INFO] β–Ά profile: Disconnected with restart β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=true β—† client_provider=true β—† client_startime=7 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="disconnected" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=true β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 53, 58, 390737000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:05][INFO] β–Ά profile: Connecting β—† device_auth=false β—† disable_dns=false β—† disable_gateway=false β—† dynamic_firewall=false β—† force_connect=false β—† force_dns=false β—† geo_sort="" β—† mode="wg" β—† profile_id="eed40e6e46a19ead" β—† reconnect=false β—† sso_auth=false
[2024-10-29 01:54:05][INFO] β–Ά connection: Resolved remotes β—† public_address="" β—† public_address6="" β—† remotes=[]string{"redacted"} β—† sort_method="random"
[2024-10-29 01:54:05][INFO] β–Ά connection: Attempting remote β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† remote="redacted" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:06][INFO] β–Ά connection: Authorization failed β—† allow=false β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="Too many authentication attempts" β—† remote="" β—† remote6="" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:06][ERRO] β–Ά profile: Failed to authenticate β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="Too many authentication attempts" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:06][INFO] β–Ά connection: Stopping reconnect β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="client_auth_error" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:09][ERRO] β–Ά connection: Disconnecting β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=3 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:12][INFO] β–Ά utils: Clearing DNS state
[2024-10-29 01:54:12][INFO] β–Ά profile: Disconnected with restart β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=true β—† client_provider=true β—† client_startime=7 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="disconnected" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=true β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 5, 477151000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:12][INFO] β–Ά profile: Connecting β—† device_auth=false β—† disable_dns=false β—† disable_gateway=false β—† dynamic_firewall=false β—† force_connect=false β—† force_dns=false β—† geo_sort="" β—† mode="wg" β—† profile_id="eed40e6e46a19ead" β—† reconnect=false β—† sso_auth=false
[2024-10-29 01:54:12][INFO] β–Ά connection: Resolved remotes β—† public_address="" β—† public_address6="" β—† remotes=[]string{"redacted"} β—† sort_method="random"
[2024-10-29 01:54:12][INFO] β–Ά connection: Attempting remote β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† remote="redacted" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:13][INFO] β–Ά connection: Authorization failed β—† allow=false β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="Too many authentication attempts" β—† remote="" β—† remote6="" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:13][ERRO] β–Ά profile: Failed to authenticate β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="Too many authentication attempts" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:13][INFO] β–Ά connection: Stopping reconnect β—† client_disconnect=false β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=0 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† reason="client_auth_error" β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=false β—† state_stop=false β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:16][ERRO] β–Ά connection: Disconnecting β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=false β—† client_provider=true β—† client_startime=3 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="connecting" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=false β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:19][INFO] β–Ά utils: Clearing DNS state
[2024-10-29 01:54:19][INFO] β–Ά profile: Disconnected without restart β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=true β—† client_provider=true β—† client_startime=7 β—† data_iface="" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="disconnected" β—† data_timestamp=0 β—† data_tun_iface="" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=true β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=false β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{} β—† state_time=time.Date(2024, time.October, 29, 1, 54, 12, 570437000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="" β—† wg_conf_path2="" β—† wg_connected=false β—† wg_last_handshake=0 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=false β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
[2024-10-29 01:54:21][ERRO] β–Ά profile: Watch connection error β—† client_disconnect=true β—† client_disconnect_waiters=0 β—† client_disconnected=true β—† client_provider=true β—† client_startime=48249 β—† data_iface="pritunl0" β—† data_mode="" β—† data_remotes=[]string{"redacted"} β—† data_status="disconnected" β—† data_timestamp=0 β—† data_tun_iface="utun10" β—† ovpn_auth_failed=false β—† ovpn_cmd=false β—† ovpn_connected=false β—† ovpn_dir="" β—† ovpn_last_auth_failed=-1 β—† ovpn_management_pass=false β—† ovpn_management_port=0 β—† ovpn_path="/Applications/Pritunl.app/Contents/Resources/pritunl-openvpn" β—† ovpn_remotes=[]string{} β—† ovpn_running=0 β—† ovpn_tap_iface="" β—† profile_device_auth=false β—† profile_disable_dns=false β—† profile_disable_gateway=false β—† profile_dynamic_firewall=false β—† profile_force_connect=false β—† profile_force_dns=false β—† profile_geo_sort=false β—† profile_id="eed40e6e46a19ead" β—† profile_mode="wg" β—† profile_reconnect=false β—† profile_sso_auth=false β—† profile_system_profile=false β—† profile_timeout=false β—† state_closed=true β—† state_closed_waiters=0 β—† state_deadline=false β—† state_delay=false β—† state_interactive=true β—† state_no_reconnect=true β—† state_stop=true β—† state_system_interactive=false β—† state_temp_paths=[]string{"/etc/wireguard/pritunl0.conf"} β—† state_time=time.Date(2024, time.October, 28, 12, 30, 11, 546149000, time.Local) β—† wg_bash_path="/Applications/Pritunl.app/Contents/Resources/bash" β—† wg_conf_path="/etc/wireguard/pritunl0.conf" β—† wg_conf_path2="" β—† wg_connected=true β—† wg_last_handshake=1730118615 β—† wg_path="/Applications/Pritunl.app/Contents/Resources/wg" β—† wg_priv_key=true β—† wg_pub_key=true β—† wg_quick_path="/Applications/Pritunl.app/Contents/Resources/wg-quick" β—† wg_server_pub_key=true β—† wg_sso_start=time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) β—† wg_sso_token=false β—† wg_util_path=""
profile: Request put error
Put "https://10.0.60.1/key/wg/redacted": read tcp 10.0.60.20:63051->10.0.60.1:443: read: connection reset by peer
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/connection.(*Client).EncRequest
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/client.go:979 +0x102e17444
github.com/pritunl/pritunl-client-electron/service/connection.(*Wg).ping
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/wg.go:395 +0x102e2c9db
github.com/pritunl/pritunl-client-electron/service/connection.(*Wg).WatchConnection
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/wg.go:300 +0x102e2c2f3
github.com/pritunl/pritunl-client-electron/service/connection.(*Client).Start.func1
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/client.go:216 +0x102e125fb
runtime.goexit
	/opt/homebrew/Cellar/go@1.22/1.22.8/libexec/src/runtime/asm_arm64.s:1222 +0x1028ce343

The logs from the server around the start of the disconnection, nothing stands out

[evening-waves-9199] 2024-10-28 22:40:57 ERROR User auth wg failed "Failed secondary authentication"
[evening-waves-9199] 2024-10-28 22:41:05 ERROR User auth wg failed "Failed secondary authentication"
[evening-waves-9199] 2024-10-28 22:41:12 ERROR User auth wg failed "Failed secondary authentication"
[evening-waves-9199] 2024-10-28 22:41:18 ERROR User auth wg failed "Too many authentication attempts"
[evening-waves-9199] 2024-10-28 22:41:25 ERROR User auth wg failed "Too many authentication attempts"
[evening-waves-9199] 2024-10-28 22:41:32 ERROR User auth wg failed "Too many authentication attempts"

Tried connecting while my account is locked , and the reconnect behaviour is present even on initial connection

I did find the cause for this, an incorrectly handled if statement caused the no reconnect option to always reconnect. This will be fixed in an update either tomorrow or Wednesday.

2 Likes

I don’t have access to VPN server, IT team manage it
But I can confirm the very same, latest update don’t honor the disable auto reconnect, even if it shows up as active in the UI
This was not the case with previous versions
Would really appreciate a quick fix for this as my DUO account get locked out most of time during the night

On the other hand, there should be a unit test case for this to prevent it

I see there were 2 commits to the client github repo, is there a way I can compile my client from the master branch, I see the mac compile script looks at latest release only

The build_macos.sh and build_win.go scripts are in the pritunl-client-electron/tools directory. These are used to build the Windows and macOS client, code signing commands would need to either be updated or removed. The linux client is built from pritunl/pritunl-pacur.

The updated Pritunl Client v1.3.4066.51 is available now in the repository. This uses a new code signing certificate and may show a warning in Chrome.

1 Like

Thanks for the prompt update on this , will give the new client a try and feedback the results

On the new client I had my first disconnect , and it didnt try auto connect which is expected

1 Like

Send the service logs from the top right menu.

I mean the fix worked :grinning:

1 Like

Just some feedback on how its been going:

The auto reconnect config issue was resolved by the client update

I am still getting random disconnects which started around when I updated to the version in my OP , and I am trying to diagnose them

I notice this in the log each time:

profile: Request put error
Put "https://10.10.3.1/key/wg/<redacted>/<redacted>/<redacted>": read tcp 10.10.3.14:50165->10.10.3.1:443: read: connection reset by peer
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/connection.(*Client).EncRequest
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/client.go:987 +0x104e9f614
github.com/pritunl/pritunl-client-electron/service/connection.(*Wg).ping
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/wg.go:395 +0x104eb5a8b
github.com/pritunl/pritunl-client-electron/service/connection.(*Wg).WatchConnection
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/wg.go:300 +0x104eb53a3
github.com/pritunl/pritunl-client-electron/service/connection.(*Client).Start.func1
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/connection/client.go:218 +0x104e9a78b
runtime.goexit
	/opt/homebrew/Cellar/go@1.22/1.22.8/libexec/src/runtime/asm_arm64.s:1222 +0x104956343

That issue should be fixed in the latest Pritunl server release available in the unstable repositories. The ping requests were consuming excessive CPU from an unnecessary RSA verification. This can cause the web server to lock up and timeout.

Added the unstable repo’s and updated , had a disconnect quite soon after

Are there logs on the server side I could monitor?

Just an update , I created a 2nd server on a different port , and I dont seem to get these disconnections.

We were testing udp 443 wireguard as we use it on our other vpn , perhaps something on my mac is intercepting these every now and again

Update

Turns out the disconnects are not isolated to my mac , another tester on linux is experiencing them also on 443 wireguard

@zach is 443 wireguard supported , is the web server needing that port or only tcp?

Any chance you could try downgrading to client v1.3.4026.10 and see if you still get the disconnects? We had to downgraded to this one to keep our users connected. The very next version and all of the newer versions result in β€œkeepalive failed” in the client.

Will give it a try

I tried the most recent release that just posted, and I still get disconnects, and I went back to v1.3.4026.10 which is still running fine.

Send a screenshot of all the server settings and routes. I’m unable to reproduce this issue.