Skip to content

The application fails to re-establish a connection when the "Auto-Secure" feature is enabled. #60

@grold

Description

@grold

The application fails to re-establish a connection after an unexpected network drop when the "Auto-Secure" feature is enabled.

Steps to Reproduce:

Open Windscribe and enable Auto-Secure in the Connection settings.
Connect to any server location.
Simulate a network interruption (e.g., briefly disable Wi-Fi or unplug the Ethernet cable).
Restore the network connection.
Observe the application's behavior.

Expected Result
Windscribe should detect the restored network and automatically reconnect the VPN tunnel.

Actual Result
The application fails to reconnect. Logs show whitelisted=true, and the client stays stuck, effectively locking the user out of the internet due to the active Auto-Secure policy.

Environment Details

App Version: v3.98.2061
OS: Android 16 (BP4A.251205.006)
Protocol: WireGuard / Amnezia

Supporting Logs

{"tm":"2026-02-17 13:18:21.051","lvl":"debug","mod":"shortcut","msg":"Loading user info."}
{"tm":"2026-02-17 13:18:21.075","lvl":"debug","mod":"shortcut","msg":"Loading network info."}
{"tm":"2026-02-17 13:18:21.077","lvl":"debug","mod":"shortcut","msg":"Loading connection info."}
{"tm":"2026-02-17 13:18:21.092","lvl":"info","mod":"vpn","msg":"[wg:443:NextUp, ikev2:500:Disconnected, udp:443:Disconnected, tcp:443:Disconnected, stunnel:443:Disconnected, wstunnel:443:Disconnected]"}
{"tm":"2026-02-17 13:18:21.099","lvl":"debug","mod":"shortcut","msg":"Changing quick tile status to Connected"}
{"tm":"2026-02-17 13:18:21.100","lvl":"debug","mod":"vpn_backend","msg":"Network Info: NetworkInfo{networkName='Keenetic-8917', isAutoSecureOn=true, isPreferredOn=true, protocol='wg', port='443'}"}
{"tm":"2026-02-17 13:18:21.101","lvl":"info","mod":"vpn","msg":"[wg:443:NextUp, ikev2:500:Disconnected, udp:443:Disconnected, tcp:443:Disconnected, stunnel:443:Disconnected, wstunnel:443:Disconnected]"}
{"tm":"2026-02-17 13:18:24.085","lvl":"debug","mod":"state","msg":"Data Used 334.38875867798924, Days since login 8 Request app review: false"}
{"tm":"2026-02-17 13:18:31.989","lvl":"debug","mod":"vpn","msg":"Disconnecting from VPN: Waiting for next protocol: false Reconnecting: false Error: UserDisconnect"}
{"tm":"2026-02-17 13:18:31.997","lvl":"info","mod":"vpn_backend","msg":"Stopping WireGuard service."}
{"tm":"2026-02-17 13:18:32.006","lvl":"info","mod":"vpn_backend","msg":"WireGuard service destroyed."}
{"tm":"2026-02-17 13:18:32.026","lvl":"info","mod":"vpn_backend","msg":"Setting WireGuard tunnel state down."}
{"tm":"2026-02-17 13:18:32.230","lvl":"info","mod":"vpn_backend","msg":"WireGuard tunnel state changed to DOWN"}
{"tm":"2026-02-17 13:18:32.254","lvl":"debug","mod":"shortcut","msg":"Changing quick tile status to Disconnected"}
{"tm":"2026-02-17 13:18:32.316","lvl":"info","mod":"vpn_backend","msg":"WireGuard tunnel state changed to DOWN"}
{"tm":"2026-02-17 13:18:32.326","lvl":"info","mod":"vpn","msg":"VPN state changed to Disconnected"}
{"tm":"2026-02-17 13:18:32.339","lvl":"debug","mod":"wsnet","msg":"Set session token expiry to 24 hours from disconnect for host 'us-east-135.whiskergalaxy.com'"}
{"tm":"2026-02-17 13:18:32.361","lvl":"debug","mod":"wsnet","msg":"Clear DNS cache"}
{"tm":"2026-02-17 13:18:32.789","lvl":"debug","mod":"wsnet","msg":"DNS servers in channel are changed: 192.168.1.1:53"}
{"tm":"2026-02-17 13:18:32.846","lvl":"debug","mod":"wsnet","msg":"New curl request : https://api.iditinahuipidorasidagga.net/MyIp?platform=android&app_version=3.98.2061"}
{"tm":"2026-02-17 13:18:33.317","lvl":"info","mod":"vpn_backend","msg":"Deactivating WireGuard backend."}
{"tm":"2026-02-17 13:18:33.318","lvl":"info","mod":"pin-ip-recovery","msg":"Stopping IP pinning recovery monitor"}
{"tm":"2026-02-17 13:18:33.318","lvl":"debug","mod":"vpn_backend","msg":"WireGuard backend deactivated."}
{"tm":"2026-02-17 13:18:33.320","lvl":"info","mod":"device-state-manager","msg":"Whitelisted network set to: Keenetic-8917"}
{"tm":"2026-02-17 13:18:33.321","lvl":"debug","mod":"vpn","msg":"User disconnected - whitelisted network: Keenetic-8917"}
{"tm":"2026-02-17 13:18:33.321","lvl":"debug","mod":"device-state-manager","msg":"Whitelisted network state changed: true (current: Keenetic-8917, whitelisted: Keenetic-8917)"}
{"tm":"2026-02-17 13:18:33.351","lvl":"debug","mod":"vpn","msg":"Starting AutoConnectService - auto-secure=true, whitelisted=true"}
{"tm":"2026-02-17 13:18:33.358","lvl":"debug","mod":"auto-connect-service","msg":"Auto connect service started and waiting for network changes."}
{"tm":"2026-02-17 13:18:33.360","lvl":"debug","mod":"auto-connect-service","msg":"Network: Keenetic-8917, AutoSecure: true, Whitelisted: true"}
{"tm":"2026-02-17 13:18:33.360","lvl":"debug","mod":"auto-connect-service","msg":"Auto secure ON for Keenetic-8917 but network is whitelisted - skipping auto-connect"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions