On Sleep: Stay, Pause and Off
Checks what each On Sleep choice does when the phone sleeps and wakes, together with Auto Reconnect.
VERIFIED ā TESTED SUCCESSFULLY Tested on 10 November 2026 on the current app build against WaterWall 1.5.42, the official release, unchanged.
Result
| Outcome | Passed: every check succeeded. |
|---|---|
| Test length | 23 seconds, including connecting and disconnecting |
| HTTPS checks through the tunnel | Ping: 233 ms; Ping: 157 ms; Ping: 137 ms |
What the test does
- The test runs four VPN sessions, one after another: Stay with Auto Reconnect on, Pause with Auto Reconnect off, Off with Auto Reconnect on, and Off with Auto Reconnect off.
- In each session it connects, tells the tunnel the phone is going to sleep, and checks that Stay keeps the connection while Pause and Off close it.
- It then tells the tunnel the phone woke up.
- For the first three sessions the connection must come back within 30 seconds and pass the app's HTTPS check.
- For Off without Auto Reconnect, the VPN must end within 15 seconds with the message "The connection was closed while the device slept."
Passes when all four sessions behave as described.
Test setup
The profile used the chain of the VLESS + TLS scenario, with the same server copy and profile settings, except the options the steps above change.
| Phone | iPhone 12 with iOS 27.2 (build 24B119), on Wi-Fi |
|---|---|
| App | SRP VPN Connect 1.2.0 (build 41), a Debug build of commit e69cb668, installed by Xcode for the test. TestFlight build 41 is commit e44cf11d, with the same app code: the commits after it change only the tests and the change log |
| Server program | The official WaterWall 1.5.42 release program, unchanged, the same program as our permanent test server, run as a test copy on port 4097 |
| Server DNS lookups | 5 tries, WaterWall 1.5.42's default; the test copy's core.json does not set it |
| Traffic | An HTTPS test server on the same machine, port 28483 |
| Network | Our office broadband line, over the public internet |
Gaps and limits
- The phone did not really sleep, and WaterWall inside the app did not really crash: a Debug build of the app accepts test commands that make the tunnel act as if it had. Stopping the server is real.
- Each step ran once, on one phone and one network.
Evidence
| Test case | lifecycle-sleep-modes-ww-00097-vless-tls |
|---|---|
| Run | 2026-11-10T10:58:13Z to 2026-11-10T11:08:39Z (UTC) |
| Step log times | 2026-11-10 14:00:11 to 2026-11-10 14:00:27 (phone time, UTC+3) |
| App source | commit e69cb668, Debug build |
| Server program | WaterWall 1.5.42, the official release, unchanged, SHA-256 38631081bd10347d⦠|
| Evidence file | waterwall-lifecycle-20261110T1058Z.json |