Pritunl client's tray icon doesn't get updated anymore when connected on MacOS

Previously when I used Pritunl Client and connected to a VPN, the tray icon updated itself and from outlined it became full. This in turn helped me to know wether I was connected to a VPN or not. In the current updates this doesn’t happen anymore, and I often forget to check VPN connection status, thus staying connected on the VPN connected for days.

The machine is a MacBook Pro (14-inch, 2021) with Apple’s M1 Pro processor, and Pritunl Client was fetched using brew.

Could this be investigated?

Screenshot of Pritunl Client version (v1.2.3154.57) and settings:

Service logs below:

[2022-05-18 13:49:26][INFO] ▶ main: Service starting ◆ version="1.2.3154.57"
[2022-05-18 14:02:09][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 14:57:09][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 14:57:10][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 15:41:33][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:19:51][WARN] ▶ watch: Wakeup restarting...
[2022-05-18 16:19:52][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:19:56][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:19:59][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:35:24][WARN] ▶ watch: Wakeup restarting...
[2022-05-18 16:35:25][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:35:28][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 16:35:32][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 18:03:52][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-18 18:03:53][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 11:22:42][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 11:25:09][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 11:25:10][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 16:25:34][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:39:57][WARN] ▶ watch: Wakeup restarting...
[2022-05-19 17:39:58][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:40:00][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:40:03][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:45:43][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:45:43][WARN] ▶ watch: Wakeup restarting...
[2022-05-19 17:45:44][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:45:44][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:51:29][WARN] ▶ watch: Wakeup restarting...
[2022-05-19 17:51:29][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:51:30][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 17:51:33][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 19:06:54][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 19:06:54][WARN] ▶ watch: Wakeup restarting...
[2022-05-19 19:06:56][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-19 19:06:56][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-20 02:38:21][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-20 02:38:22][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-20 20:14:41][INFO] ▶ main: Service starting ◆ version="1.2.3154.57"
[2022-05-23 10:39:17][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 04:21:31][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 04:21:31][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 04:21:33][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 04:21:33][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 05:24:39][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 05:24:39][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 05:24:41][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 05:24:44][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 06:28:06][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 06:28:06][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 06:28:06][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 06:28:09][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 07:31:33][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 07:31:33][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 07:31:34][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 07:31:37][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 08:35:12][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 08:35:12][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 08:35:13][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 08:35:16][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 09:38:42][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 09:38:42][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 09:38:42][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 09:38:45][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:42:06][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 10:42:06][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:42:06][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:42:10][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:44:51][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:44:51][WARN] ▶ watch: Wakeup restarting...
[2022-05-24 10:44:52][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 10:44:52][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 12:23:17][INFO] ▶ profile: Disconnecting ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-24 12:23:19][INFO] ▶ profile: Disconnected ◆ profile_id="0deb82bab33263f4ad5ab08daaea57e5"
[2022-05-25 17:00:31][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 17:35:06][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 17:35:06][WARN] ▶ watch: Wakeup restarting...
[2022-05-25 17:35:06][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 17:35:09][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 17:35:09][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 18:46:34][WARN] ▶ watch: Wakeup restarting...
[2022-05-25 18:46:35][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 18:46:39][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 18:46:42][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 19:42:22][WARN] ▶ watch: Wakeup restarting...
[2022-05-25 19:42:22][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 19:42:24][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 19:42:27][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 21:54:54][WARN] ▶ watch: Wakeup restarting...
[2022-05-25 21:54:54][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 21:54:54][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 21:54:57][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 21:54:57][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 23:10:17][WARN] ▶ watch: Wakeup restarting...
[2022-05-25 23:10:18][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 23:10:18][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 23:10:21][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-25 23:10:21][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:19:06][WARN] ▶ watch: Lost DNS settings updating... ◆ global_addresses=[]string{} ◆ global_domains=[]string{} ◆ vpn_addresses=[]string{"10.201.0.2"} ◆ vpn_domains=[]string{}
[2022-05-26 01:19:27][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:19:27][ERRO] ▶ watch: Failed to backup DNS settings
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.BackupScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:318 +0x102a291ef
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:196 +0x102a60dbb
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:19:31][WARN] ▶ watch: Lost DNS settings updating... ◆ global_addresses=[]string{} ◆ global_domains=[]string{} ◆ vpn_addresses=[]string{"10.201.0.2"} ◆ vpn_domains=[]string{}
[2022-05-26 01:19:51][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:19:53][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:19:53][ERRO] ▶ watch: Failed to backup DNS settings
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.BackupScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:318 +0x102a291ef
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:196 +0x102a60dbb
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:20:12][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:20:12][ERRO] ▶ profile: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/profile.(*Profile).startOvpn.func4
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/profile/profile.go:1470 +0x102a4ebeb
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:20:12][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:20:12][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:20:16][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:20:16][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:20:43][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:20:43][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:21:09][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:21:09][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:21:35][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:21:35][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:22:01][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:22:01][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:22:28][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:22:28][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:22:54][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:22:54][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:23:21][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:23:21][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:23:47][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:23:47][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:24:13][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:24:13][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:24:40][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:24:40][WARN] ▶ watch: Failed to restore DNS
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.RestoreScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:232 +0x102a28d0f
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:130 +0x102a606b3
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:32:19][WARN] ▶ watch: Lost DNS settings updating... ◆ global_addresses=[]string{} ◆ global_domains=[]string{} ◆ vpn_addresses=[]string{"10.201.0.2"} ◆ vpn_domains=[]string{}
[2022-05-26 01:32:40][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:32:40][ERRO] ▶ watch: Failed to backup DNS settings
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.BackupScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:318 +0x102a291ef
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:196 +0x102a60dbb
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:32:44][WARN] ▶ watch: Lost DNS settings updating... ◆ global_addresses=[]string{} ◆ global_domains=[]string{} ◆ vpn_addresses=[]string{"10.201.0.2"} ◆ vpn_domains=[]string{}
[2022-05-26 01:33:04][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:33:05][ERRO] ▶ utils: Failed to find primary service from scutil ◆ output="No such key"
[2022-05-26 01:33:05][ERRO] ▶ watch: Failed to backup DNS settings
utils: Failed to find primary service from scutil
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/service/utils.GetScutilService
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:216 +0x102a28c04
github.com/pritunl/pritunl-client-electron/service/utils.BackupScutilDns
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/utils/utils.go:318 +0x102a291ef
github.com/pritunl/pritunl-client-electron/service/watch.dnsWatch
	/Users/apple/go/src/github.com/pritunl/pritunl-client-electron/service/watch/watch.go:196 +0x102a60dbb
runtime.goexit
	/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/asm_arm64.s:1259 +0x1025e7733
[2022-05-26 01:33:22][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 01:33:23][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 04:09:48][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 04:09:48][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 04:09:50][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 04:09:50][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 05:12:53][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 05:12:53][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 05:12:54][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 05:12:57][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 06:16:20][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 06:16:20][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 06:16:20][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 06:16:23][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 07:19:49][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 07:19:49][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 07:19:49][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 07:19:52][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 08:23:07][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 08:23:07][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 08:23:08][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 08:23:11][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 09:26:34][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 09:26:34][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 09:26:35][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 09:26:38][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:29:37][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 10:29:37][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:29:37][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:29:40][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:44:15][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 10:44:15][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:44:15][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 10:44:18][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:11:33][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 12:11:33][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:11:36][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:11:39][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:32:17][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:32:17][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 12:32:20][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:32:20][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:41:32][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:41:32][WARN] ▶ watch: Wakeup restarting...
[2022-05-26 12:41:34][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:41:34][INFO] ▶ profile: Connecting ◆ mode="" ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:51:15][INFO] ▶ profile: Disconnecting ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"
[2022-05-26 12:51:16][INFO] ▶ profile: Disconnected ◆ profile_id="2c2a323bdfa297a52e85265b1aec3644"

System logs are empty

1 Like

This design was changed to improve the appearance of the icon, it may be changed in a future release.

Hi,
Same here. Tray icon not changing since last versions.

Please bring back the white color when connected!

Thanks

Respectfully, whatever improvement was sought to “the appearance of the icon” is secondary to usability. From a usability standpoint, removing the connection status indication from the menu bar icon is objectively a step backward for this application. You have removed a feature that users expect to see and rely upon, causing confusion and frustration in the user community. Now instead of simply checking the icon to confirm the connection status I need to bring the app into focus, which is just one more thing in the work day to break flow.

Please revert this change / restore the old behavior. Or make it a config option.

1 Like

The code has been added back in to update the icon for the connection state. This will be included in the next release.

2 Likes

I’ve just updated Pritunl Client to v1.2.3233.75 on MacOS and I can confirm this issue was fixed