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

OutcomePassed: every check succeeded.
Test length23 seconds, including connecting and disconnecting
HTTPS checks through the tunnelPing: 233 ms; Ping: 157 ms; Ping: 137 ms

What the test does

  1. 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.
  2. 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.
  3. It then tells the tunnel the phone woke up.
  4. For the first three sessions the connection must come back within 30 seconds and pass the app's HTTPS check.
  5. 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.

PhoneiPhone 12 with iOS 27.2 (build 24B119), on Wi-Fi
AppSRP 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 programThe 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 lookups5 tries, WaterWall 1.5.42's default; the test copy's core.json does not set it
TrafficAn HTTPS test server on the same machine, port 28483
NetworkOur office broadband line, over the public internet

Gaps and limits

Evidence

Test caselifecycle-sleep-modes-ww-00097-vless-tls
Run2026-11-10T10:58:13Z to 2026-11-10T11:08:39Z (UTC)
Step log times2026-11-10 14:00:11 to 2026-11-10 14:00:27 (phone time, UTC+3)
App sourcecommit e69cb668, Debug build
Server programWaterWall 1.5.42, the official release, unchanged, SHA-256 38631081bd10347d…
Evidence filewaterwall-lifecycle-20261110T1058Z.json