# Users need to authenticate on each reconnect

**URL:** <https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500>\
**Category:** Pritunl VPN\
**Created:** [October 17, 2024, 9:57am UTC](https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500 "2024-10-17T09:57:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jonathan/32/657_2.png) [@Jonathan](https://forum.pritunl.com/u/Jonathan)\
**Post date:** [October 17, 2024, 9:57am UTC](https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500/1 "2024-10-17T09:57:03Z")

</div>

Hi!

We are having some issues that are hard to debug. We have some users that when they get disconnected for being inactive and automatically reconnect, have to re-authenticate with google SSO each time. We have the settings app.sso\_cache = true, and app.sso\_cache\_timeout = 28800. I could not replicate this issue on my Ubuntu machine, but the users that have reported this are on Mac, though not sure if it is relevant. Any idea what settings might need to be changed to stop this behavior?

Cheers

---

<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 18, 2024, 12:25am UTC](https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500/2 "2024-10-18T00:25:38Z")

</div>

Click Logs from the top right menu on the client and get the service logs.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jonathan/32/657_2.png) [@Jonathan](https://forum.pritunl.com/u/Jonathan)\
**Post date:** [October 18, 2024, 7:52am UTC](https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500/3 "2024-10-18T07:52:24Z")

</div>

Hi Zach, thanks for taking the time!  
I’ve collected some logs from our users:  
[2024-10-14 09:26:27][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 09:26:27][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:26:28][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:26:28][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:26:30][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:26:31][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 09:26:35][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:30:30][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 09:30:30][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:30:30][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:30:31][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:30:34][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:30:34][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 09:32:31][INFO] ▶ utils: Restore DNS  
[2024-10-14 09:33:40][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_/”: read tcp $INTERNAL\_IP:57652-\>$HOST\_IP:443: read: connection reset by peer  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x104a14ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2015 +0x104a127a7  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x104a0f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x104a0f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x104a205c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10449b113  
[2024-10-14 09:36:35][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_/”: read tcp $INTERNAL\_IP:57690-\>$HOST\_IP:443: read: connection reset by peer  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x104a14ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2036 +0x104a12a17  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x104a0f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x104a0f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x104a205c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10449b113  
[2024-10-14 09:38:30][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:38:30][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 09:38:31][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 10:43:11][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 12:06:11][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 12:06:11][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:06:12][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:06:12][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:06:13][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:06:15][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 12:06:18][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:36:36][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 12:36:36][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:36:37][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:36:38][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:36:39][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:36:41][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 12:36:45][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:40:00][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 12:40:00][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:40:00][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:40:00][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:40:01][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:40:04][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 12:40:05][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:46:25][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 12:46:25][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:46:25][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:46:26][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 12:46:26][INFO] ▶ utils: Restore DNS  
[2024-10-14 12:46:29][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 12:46:31][INFO] ▶ utils: Restore DNS  
[2024-10-14 13:49:37][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 13:49:37][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 13:49:38][INFO] ▶ utils: Restore DNS  
[2024-10-14 13:49:38][INFO] ▶ utils: Restore DNS  
[2024-10-14 13:49:38][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 13:49:41][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 13:49:43][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:09:38][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 16:09:38][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:09:38][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:09:39][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:09:41][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:09:42][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:11:38][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:12:44][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:12:44][INFO] ▶ profile: Profile exit, reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:12:44][INFO] ▶ profile: Reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:12:44][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:12:44][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:12:45][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:12:50][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:53:38][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 16:53:38][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:53:39][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:53:39][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:53:40][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:53:42][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:53:45][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:55:38][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:55:39][INFO] ▶ profile: Profile exit, reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:55:39][INFO] ▶ profile: Reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:55:39][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:55:39][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:57:41][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:57:41][INFO] ▶ profile: Profile exit, reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:57:41][INFO] ▶ profile: Reconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:57:42][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:57:42][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:57:43][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:58:06][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:59:14][WARN] ▶ watch: Wakeup restarting…  
[2024-10-14 16:59:14][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:59:17][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:59:18][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:59:18][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:59:21][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-14 16:59:23][INFO] ▶ utils: Restore DNS  
[2024-10-14 16:59:24][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_”: dial tcp $HOST\_IP:443: connect: network is unreachable  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x104a14ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2015 +0x104a127a7  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x104a0f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x104a0f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x104a205c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10449b113  
[2024-10-14 16:59:24][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_”: dial tcp $HOST\_IP:443: connect: network is unreachable  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x104a14ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2036 +0x104a12a17  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x104a0f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x104a0f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x104a205c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10449b113  
[2024-10-14 16:59:27][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-14 16:59:27][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
\<\>\<\>\<\>\<\>  
[2024-10-18 07:43:23][WARN] ▶ watch: Wakeup restarting…  
[2024-10-18 07:43:23][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:43:24][INFO] ▶ utils: Restore DNS  
[2024-10-18 07:43:24][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:43:26][INFO] ▶ utils: Restore DNS  
[2024-10-18 07:43:27][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-18 07:43:31][INFO] ▶ utils: Restore DNS  
[2024-10-18 07:49:08][WARN] ▶ watch: Wakeup restarting…  
[2024-10-18 07:49:08][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:49:08][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_/”: context canceled  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x100da4ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2492 +0x100da54c3  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2015 +0x100da27a7  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x100d9f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x100d9f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x100db05c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10082b113  
[2024-10-18 07:49:08][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:49:11][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-18 07:54:53][WARN] ▶ watch: Wakeup restarting…  
[2024-10-18 07:54:53][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:54:53][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Request put error  
Post “https://$HOST\_IP/key/ovpn\_wait/_redacted_/_redacted_/_redacted_/”: context canceled  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2413 +0x100da4ebc  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2492 +0x100da54c3  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2015 +0x100da27a7  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x100d9f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x100d9f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x100db05c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10082b113  
[2024-10-18 07:54:53][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:54:56][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true  
[2024-10-18 07:57:09][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Single sign-on timeout  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2428 +0x100da4b88  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2492 +0x100da54c3  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2015 +0x100da27a7  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x100d9f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x100d9f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x100db05c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10082b113  
[2024-10-18 07:59:18][WARN] ▶ profile: Request ovpn connection error ◆ host=“$HOST\_IP”  
profile: Single sign-on timeout  
ORIGINAL STACK TRACE:  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2428 +0x100da4b88  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2433 +0x100da4c37  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).reqOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).reqOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2492 +0x100da54c3  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).openOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).openOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:2036 +0x100da2a17  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).startOvpn](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1397 +0x100d9f54b  
[github.com/pritunl/pritunl-client-electron/service/profile.(\*Profile).Start](http://github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).Start)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1380 +0x100d9f37b  
[github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1](http://github.com/pritunl/pritunl-client-electron/service/profile.RestartProfiles.func1)  
/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/utils.go:413 +0x100db05c7  
runtime.goexit  
/opt/homebrew/Cellar/go/1.23.1/libexec/src/runtime/asm\_arm64.s:1223 +0x10082b113  
[2024-10-18 07:59:21][INFO] ▶ profile: Disconnecting ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 07:59:21][INFO] ▶ profile: Disconnected ◆ profile\_id=“$PROFILE\_ID”  
[2024-10-18 09:03:46][INFO] ▶ profile: Connecting ◆ device\_auth=false ◆ disable\_dns=false ◆ disable\_gateway=false ◆ dynamic\_firewall=false ◆ force\_connect=false ◆ force\_dns=false ◆ geo\_sort=“” ◆ mode=“ovpn” ◆ profile\_id=“$PROFILE\_ID” ◆ reconnect=true ◆ sso\_auth=true

Seems like we have 2 issues visible here: The PUT/POST requests of profiles are failing, and SSO is timing out

---

<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 19, 2024, 8:13pm UTC](https://forum.pritunl.com/t/users-need-to-authenticate-on-each-reconnect/2500/4 "2024-10-19T20:13:29Z")

</div>

The new client has rewritten connection code and is much better with handling these issues. The single sign-on timeout most likely indicates the user didn’t complete the single sign-on request before it expired. There’s only about 3 minutes before it times out. There will be a new release either today or tomorrow to fix some other issues with the new connection code, once this is available update to that release.

This may also be an issue with profile sync if the cache was enabled after the profile was imported. If the client has the Debugging button in the profile settings click that and look for `Token` if it is `true` that would indicate cache is enabled. If not the profile needs to be re-imported and the Sync Address in the advanced host settings needs to be updated to allow syncing in the future.
