Post

Replies

Boosts

Views

Activity

Comment on Sleep State Notification Inconsistencies on MacBook Devices When Unplugged
4 / 4: This solution works effectively on stationary Mac devices (iMac, Mac Mini). However, we've observed unstable system callbacks on MacBooks specifically when: The device is running on battery power With or without external displays connected The inconsistent behavior of sleep/wake notifications on MacBooks complicates our ability to implement reliable connection recovery mechanisms.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Comment on Sleep State Notification Inconsistencies on MacBook Devices When Unplugged
3 / 4: This creates a significant delay as the client must first detect the socket failure and then wait for new policy configurations from the control platform. To address this, we implemented a solution to force reconnection after extended sleep periods rather than waiting for socket timeouts and policy reconfigurations. While this approach might seem rudimentary, it significantly reduces recovery time compared to passive timeout detection and policy redistribution.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Comment on Sleep State Notification Inconsistencies on MacBook Devices When Unplugged
My main question here is "what are you actually trying to do"? 1 / 4: Custom VPN Socket Management Issues During MacBook Sleep/Wake Cycles We have implemented a custom VPN protocol using NetworkExtension's Packet Tunnel Provider. Our system allows multiple routing policies to be configured for a single client through a control platform, where each policy corresponds to a separate socket connection.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Comment on Sleep State Notification Inconsistencies on MacBook Devices When Unplugged
2 / 4: When a Mac device enters sleep mode, the operating system suspends all applications and network connections. These are supposed to be restored upon wake-up. However, we've encountered an issue where upon waking, the sockets remain in their pre-suspension state. While the client locally considers these sockets as healthy, the remote endpoints have actually terminated the connections.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25