Skip to content

🐞 [BUG] - Hysteria2 users stay offline in panel/stats while traffic works correctly #399

Description

@uan190176

Integrity requirements

  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest release

Description

Environment:

  • Remnawave Node: 2.7.0
  • Docker image: remnawave/node:latest
  • Xray version inside container: Xray 26.3.27 (Xray, Penetrates Everything.) d2758a0
  • Protocol: Hysteria2
  • OS: Ubuntu Linux
  • Deployment: Docker, network_mode=host

Problem:
Hysteria2 works correctly and traffic passes, but connected users stay offline in panel/stats.

Observed behavior:

  • Client connects successfully via Hysteria2
  • Traffic passes correctly
  • User remains offline in Remnawave panel
  • The same server shows online status correctly for VLESS Reality

What was checked:

  • UDP/443 was opened and verified
  • tcpdump confirms Hysteria UDP traffic reaches the server
  • Runtime Xray config contains the Hysteria inbound and the user
  • StatsService is enabled
  • statsUserOnline is enabled
  • TLS certificate is valid
  • The issue is reproducible on multiple clients

Important finding:
This matches Xray-core issue #5868:
XTLS/Xray-core#5868

That issue says Hysteria inbound does not populate online stats correctly.
The fix was merged in:

  • PR #5870
  • commit 08301e2

However, current Remnawave node images still ship:

  • remnawave/node:latest -> Xray 26.3.27 d2758a0
  • remnawave/node:dev -> Xray 26.3.27 d2758a0

So it seems current official node images still use an older Xray build without that fix.

Expected behavior:
Hysteria2 users should appear online in panel/stats the same way as VLESS Reality users.

Actual behavior:
Hysteria2 traffic works, but users remain offline in panel/stats.

Request:
Please update the node image to a newer Xray build that includes the fix for Xray-core issue #5868.

Reproduction Method

  1. Deploy Remnawave Node 2.7.0 using the current official image (remnawave/node:latest).
  2. Configure a Hysteria2 inbound with one user.
  3. Make sure StatsService is enabled and statsUserOnline: true is enabled in policy.
  4. Connect a client via Hysteria2 and generate traffic.
  5. Verify that traffic passes successfully.
  6. Check the Remnawave panel / online stats for that user.
  7. Observe that the user remains offline.
  8. Compare with VLESS Reality in the same environment: online status is shown correctly there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions