# Random disconnects and ignoring auto reconnect setting

**URL:** <https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555>\
**Category:** Pritunl VPN\
**Tags:** pritunl, pritunl-client\
**Created:** [October 29, 2024, 2:16am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555 "2024-10-29T02:16:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [October 29, 2024, 2:16am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/1 "2024-10-29T02:16:18Z")

</div>

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

 ![Screenshot 2024-10-29 at 02.05.46](https://forum-static.pritunl.com/original/2X/1/15403236ed685d8c44247a6bca9f7c83b3ee2ced.png)  
 ![Screenshot 2024-10-29 at 02.10.30](https://forum-static.pritunl.com/original/2X/8/870d4f80167717976f85c1d93795aed8fe042cdf.png)

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.

```auto
[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

```

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [October 29, 2024, 2:19am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/2 "2024-10-29T02:19:08Z")

</div>

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

```auto
[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"

```

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [October 29, 2024, 2:27am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/3 "2024-10-29T02:27:54Z")

</div>

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

 ![Screenshot 2024-10-29 at 02.24.22](https://forum-static.pritunl.com/original/2X/4/4654d474cdbfc518bc4dead65195f7ca6063f640.png)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 29, 2024, 4:14am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/4 "2024-10-29T04:14:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nestor-lobo-work](https://forum.pritunl.com/user_avatar/forum.pritunl.com/nestor-lobo-work/32/1028_2.png) [@nestor-lobo-work](https://forum.pritunl.com/u/nestor-lobo-work)\
**Post date:** [October 29, 2024, 12:09pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/5 "2024-10-29T12:09:08Z")

</div>

> [@jaredc](#):
>
> have auto reconnect disabled on the s

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

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [October 30, 2024, 10:42am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/6 "2024-10-30T10:42:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 30, 2024, 12:50pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/7 "2024-10-30T12:50:39Z")

</div>

The `build_macos.sh` and `build_win.go` scripts are in the [**pritunl-client-electron/tools**](https://github.com/pritunl/pritunl-client-electron/tree/master/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**](https://github.com/pritunl/pritunl-pacur).

The updated [**Pritunl Client v1.3.4066.51**](https://github.com/pritunl/pritunl-client-electron/releases/tag/1.3.4066.51) is available now in the repository. This uses a new code signing certificate and may show a warning in Chrome.

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [October 30, 2024, 12:57pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/8 "2024-10-30T12:57:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [November 3, 2024, 12:06pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/9 "2024-11-03T12:06:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 3, 2024, 1:30pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/10 "2024-11-03T13:30:21Z")

</div>

Send the service logs from the top right menu.

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [November 3, 2024, 1:38pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/11 "2024-11-03T13:38:17Z")

</div>

I mean the fix worked 😀

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [November 24, 2024, 2:02pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/12 "2024-11-24T14:02:39Z")

</div>

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:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 24, 2024, 6:14pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/13 "2024-11-24T18:14:11Z")

</div>

That issue should be fixed in the latest Pritunl server release available in the [**unstable repositories**](https://docs.pritunl.com/docs/repo#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.

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [November 27, 2024, 2:31pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/14 "2024-11-27T14:31:57Z")

</div>

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

Are there logs on the server side I could monitor?

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [November 29, 2024, 9:10am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/15 "2024-11-29T09:10:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [December 3, 2024, 10:56am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/16 "2024-12-03T10:56:22Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![bwarren](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bwarren](https://forum.pritunl.com/u/bwarren)\
**Post date:** [December 3, 2024, 5:24pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/17 "2024-12-03T17:24:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jaredc](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/j/dec6dc/32.png) [@jaredc](https://forum.pritunl.com/u/jaredc)\
**Post date:** [December 4, 2024, 8:45am UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/18 "2024-12-04T08:45:01Z")

</div>

Will give it a try

---

<div class="post-metadata">

**Author:** ![bwarren](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bwarren](https://forum.pritunl.com/u/bwarren)\
**Post date:** [December 5, 2024, 7:26pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/19 "2024-12-05T19:26:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [December 5, 2024, 10:59pm UTC](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555/20 "2024-12-05T22:59:17Z")

</div>

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

[Next page](https://forum.pritunl.com/t/random-disconnects-and-ignoring-auto-reconnect-setting/2555.md?page=2)
