Skip to content

[BUG] [Android] Hysteria2 connection stalls working after device sleep or idle period #1529

@noideastowork

Description

@noideastowork

操作系统/Operating System

Android

(Samsung S24 Ultra, OneUI 6.1)

系统版本/Operating System Version

14

App版本/App Version

1.2.18.2102

描述/Describeption

The Hysteria2 protocol stops transmitting data after the phone has been in sleep mode (or left idle) for some time. The exact duration is inconsistent. The connection becomes unresponsive and does not recover automatically upon waking the device.

复现步骤/Reproduction steps

  1. Connect to a server with Hysteria2 protocol.
  2. Verify that the internet connection is working.
  3. Lock the phone and leave it in sleep mode/idle for an extended period (e.g., 3–60 minutes).
  4. Wake the device and try to use the internet.

Observed result: The connection is dead/stalled. It stays broken until the ping is tapped or the VPN is toggled (off and on again).

Expected result: The connection should remain active or automatically reconnect upon waking the device, similar to how VLESS behaves with Karing.

日志/Log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions