Users need to authenticate on each reconnect

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

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

Hi Zach, thanks for taking the time!
I’ve collected some logs from our users:
[2024-10-14 09:26:27][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 09:26:27][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:26:28][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 09:26:28][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:26:30][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 09:26:31][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 09:30:30][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 09:30:30][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:30:30][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 09:30:31][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:30:34][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 09:30:34][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 09:33:40][WARN] :arrow_forward: 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
/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
/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
/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
/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
/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] :arrow_forward: 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
/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
/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
/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
/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
/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] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:38:30][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 09:38:31][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 10:43:11][INFO] :arrow_forward: 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] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 12:06:11][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:06:12][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:06:12][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:06:13][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:06:15][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 12:36:36][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 12:36:36][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:36:37][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:36:38][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:36:39][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:36:41][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 12:40:00][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 12:40:00][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:40:00][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:40:00][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:40:01][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:40:04][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 12:46:25][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 12:46:25][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:46:25][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:46:26][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 12:46:26][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 12:46:29][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 13:49:37][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 13:49:37][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 13:49:38][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 13:49:38][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 13:49:38][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 13:49:41][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:09:38][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 16:09:38][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:09:38][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:09:39][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:09:41][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:09:42][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:12:44][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:12:44][INFO] :arrow_forward: profile: Profile exit, reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:12:44][INFO] :arrow_forward: profile: Reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:12:44][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:12:44][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:12:50][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:53:38][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 16:53:38][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:53:39][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:53:39][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:53:40][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:53:42][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:55:38][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:55:39][INFO] :arrow_forward: profile: Profile exit, reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:55:39][INFO] :arrow_forward: profile: Reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:55:39][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:55:39][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:57:41][INFO] :arrow_forward: profile: Profile exit, reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:57:41][INFO] :arrow_forward: profile: Reconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:57:42][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:57:42][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:58:06][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:59:14][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-14 16:59:14][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:59:17][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:59:18][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:59:18][INFO] :arrow_forward: utils: Restore DNS
[2024-10-14 16:59:21][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-14 16:59:24][WARN] :arrow_forward: 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
/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
/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
/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
/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
/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] :arrow_forward: 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
/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
/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
/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
/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
/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] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-14 16:59:27][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
<><><><>
[2024-10-18 07:43:23][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-18 07:43:23][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:43:24][INFO] :arrow_forward: utils: Restore DNS
[2024-10-18 07:43:24][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:43:26][INFO] :arrow_forward: utils: Restore DNS
[2024-10-18 07:43:27][INFO] :arrow_forward: 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] :arrow_forward: utils: Restore DNS
[2024-10-18 07:49:08][WARN] :arrow_forward: watch: Wakeup restarting…
[2024-10-18 07:49:08][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:49:08][WARN] :arrow_forward: 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
/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
/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
/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
/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
/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
/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
/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
/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
/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] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:49:11][INFO] :arrow_forward: 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] :arrow_forward: watch: Wakeup restarting…
[2024-10-18 07:54:53][INFO] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:54:53][WARN] :arrow_forward: 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
/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
/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
/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
/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
/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
/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
/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
/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
/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] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:54:56][INFO] :arrow_forward: 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] :arrow_forward: 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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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] :arrow_forward: 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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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] :arrow_forward: profile: Disconnecting ◆ profile_id=“$PROFILE_ID”
[2024-10-18 07:59:21][INFO] :arrow_forward: profile: Disconnected ◆ profile_id=“$PROFILE_ID”
[2024-10-18 09:03:46][INFO] :arrow_forward: 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

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.