You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst #50 provides support for the VPN to start and stop itself on wake and sleep, I discovered the VPN does not wake itself when the device is slept for a prolonged period of time, instead indicating a crash that occurred whilst slept.
The error message shown is a generic message from the operating system when the network extension process is killed unexpectedly.
Console.app crash logs would suggest this is a panic (or a fatal error: panic + os.exit) in the .dylib:
This crash occurred about 2 hours after putting the device to sleep. I've been unable to replicate the crash in a shorter timeframe.
I was also able to reproduce the crash with the dylib downloading commented out, which rules out any weird interactions with unquarantining a newly downloaded dylib with dev.coder.com restarts
Additionally, I've not seen or heard of this problem present on older versions of Coder Desktop - versions that don't start & stop the VPN on sleep & wake. Some users have had CoderVPN running for days without a crash (albeit with the workspace state out-of-date)
The text was updated successfully, but these errors were encountered:
ethanndickson
changed the title
CoderVPN crashes while device slept for extended period
CoderVPN crashes while device is slept for extended period
Feb 26, 2025
Whilst #50 provides support for the VPN to start and stop itself on wake and sleep, I discovered the VPN does not wake itself when the device is slept for a prolonged period of time, instead indicating a crash that occurred whilst slept.
The error message shown is a generic message from the operating system when the network extension process is killed unexpectedly.
Console.app
crash logs would suggest this is a panic (or a fatal error: panic + os.exit) in the.dylib
:This crash occurred about 2 hours after putting the device to sleep. I've been unable to replicate the crash in a shorter timeframe.
I was also able to reproduce the crash with the dylib downloading commented out, which rules out any weird interactions with unquarantining a newly downloaded dylib with dev.coder.com restarts
Additionally, I've not seen or heard of this problem present on older versions of Coder Desktop - versions that don't start & stop the VPN on sleep & wake. Some users have had CoderVPN running for days without a crash (albeit with the workspace state out-of-date)
The text was updated successfully, but these errors were encountered: