[GH-ISSUE #4869] [Bug]: The issue with accurate online client display persists #3399

Closed
opened 2026-10-31 20:32:10 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @mitrios-hub on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4869

Describe the bug

  1. Clients connect to inbounds and use the channel, but after weeks the panel shows that they have never been online and traffic is zero, and the client is shown as offline. Apparently, there is an issue with them being linked to different inbounds on different nodes. Rarely can you see a date when a client was online, but traffic still shows as zero.

  2. There are 10 online clients in total, and the panel shows that all of them are simultaneously on different nodes — this is visible both by the count and the list of emails when hovering over. Consequently, it's unclear which client is online on which node. If you go to a specific node (not the master), a client may appear online on different inbounds at the same time, even though only one inbound is enabled for them and IPLIMIT = 1. On another node, the same user is shown online on all inbounds at once — meaning the fact of the client being on the node is displayed, but it's unclear which tunnel they are using. If you hover over each connection, the same user appears on all of them.

  3. Conclusion: on the master node, the list of online clients is shown across all connections linked to that user, even though they are only using one tunnel. And on some node, online may be shown as zero, while the master node shows that all 10 clients are online there.

Image

How to reproduce the problem

Add client
Link ibounds to client
Connect client to any inbound
See the client either offline or online at all inbounds

Expected behavior

I would like to see which connection the client is using and on which node, to see exactly whether they are online or offline, and to see the real traffic and connection time.

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3,2,6

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Debian 13

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @mitrios-hub on GitHub (Jun 3, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4869 ### Describe the bug 1. Clients connect to inbounds and use the channel, but after weeks the panel shows that they have never been online and traffic is zero, and the client is shown as offline. Apparently, there is an issue with them being linked to different inbounds on different nodes. Rarely can you see a date when a client was online, but traffic still shows as zero. 2. There are 10 online clients in total, and the panel shows that all of them are simultaneously on different nodes — this is visible both by the count and the list of emails when hovering over. Consequently, it's unclear which client is online on which node. If you go to a specific node (not the master), a client may appear online on different inbounds at the same time, even though only one inbound is enabled for them and IPLIMIT = 1. On another node, the same user is shown online on all inbounds at once — meaning the fact of the client being on the node is displayed, but it's unclear which tunnel they are using. If you hover over each connection, the same user appears on all of them. 3. Conclusion: on the master node, the list of online clients is shown across all connections linked to that user, even though they are only using one tunnel. And on some node, online may be shown as zero, while the master node shows that all 10 clients are online there. <img width="484" height="663" alt="Image" src="https://github.com/user-attachments/assets/3dc29813-1a17-4fc7-b668-c99101778d37" /> ### How to reproduce the problem Add client Link ibounds to client Connect client to any inbound See the client either offline or online at all inbounds ### Expected behavior I would like to see which connection the client is using and on which node, to see exactly whether they are online or offline, and to see the real traffic and connection time. ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3,2,6 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Debian 13 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:32:10 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jun 3, 2026):

Thanks for the detailed report.

Issues 2 and 3 — online status bleeding across nodes and inbounds — are confirmed bugs already fixed in the main branch, but not yet included in v3.2.6.

Two separate fixes are queued for the next release:

  1. Cross-node bleeding (a client connected to one node shows online on every other node): fixed by fix(online): scope online status per node instead of a global union (closes #4809). The new GetOnlineClientsByNode() tracks each node's online set independently under its own node ID (local panel = key 0), and both the Inbounds page rollup and the Nodes page now scope online status by node.

  2. Per-inbound bleeding on the same node (a client shows online on every inbound it is attached to, not just the one it is actually using): fixed by fix(online): scope per-inbound online to inbounds that carried traffic (closes #4859). A new GetActiveInboundsByNode() / activeInbounds WebSocket field tracks which inbound tags actually moved traffic within the 20 s grace window, and the frontend rollup now gates each inbound's online count on that signal.

Both are on main now. Wait for the next release, or build from main to get the fix earlier.


Issue 1 — traffic shows zero and last-seen date never set — this symptom is separate and needs a bit more detail:

  • Open the panel's Nodes page and check whether each remote node shows as connected (green). If a node is red / disconnected, traffic from that node's xray is not syncing to the master panel at all.
  • On the master panel run Settings → Restart Panel (or systemctl restart x-ui on the master) and watch journalctl -u x-ui -f for any NodeTrafficSyncJob errors.
  • Run x-ui on the master → option to show the version, and confirm it really is v3.2.6 (the command output is more reliable than the UI header).

If the nodes do show as connected, could you share the Xray-core version (shown in the panel header or via x-ui) and roughly how many nodes/inbounds you have? That will help narrow down whether it is a sync accumulation issue or a display-only artifact of the online-status bug above.

<!-- gh-comment-id:4615091158 --> @github-actions[bot] commented on GitHub (Jun 3, 2026): Thanks for the detailed report. **Issues 2 and 3 — online status bleeding across nodes and inbounds — are confirmed bugs already fixed in the `main` branch, but not yet included in v3.2.6.** Two separate fixes are queued for the next release: 1. **Cross-node bleeding** (a client connected to one node shows online on every other node): fixed by `fix(online): scope online status per node instead of a global union` (closes #4809). The new `GetOnlineClientsByNode()` tracks each node's online set independently under its own node ID (local panel = key 0), and both the Inbounds page rollup and the Nodes page now scope online status by node. 2. **Per-inbound bleeding on the same node** (a client shows online on every inbound it is attached to, not just the one it is actually using): fixed by `fix(online): scope per-inbound online to inbounds that carried traffic` (closes #4859). A new `GetActiveInboundsByNode()` / `activeInbounds` WebSocket field tracks which inbound tags actually moved traffic within the 20 s grace window, and the frontend rollup now gates each inbound's online count on that signal. Both are on `main` now. Wait for the next release, or build from `main` to get the fix earlier. --- **Issue 1 — traffic shows zero and last-seen date never set** — this symptom is separate and needs a bit more detail: - Open the panel's **Nodes** page and check whether each remote node shows as **connected** (green). If a node is red / disconnected, traffic from that node's xray is not syncing to the master panel at all. - On the master panel run **Settings → Restart Panel** (or `systemctl restart x-ui` on the master) and watch `journalctl -u x-ui -f` for any `NodeTrafficSyncJob` errors. - Run `x-ui` on the master → option to show the version, and confirm it really is v3.2.6 (the command output is more reliable than the UI header). If the nodes do show as connected, could you share the **Xray-core version** (shown in the panel header or via `x-ui`) and roughly how many nodes/inbounds you have? That will help narrow down whether it is a sync accumulation issue or a display-only artifact of the online-status bug above.
Author
Owner

@mitrios-hub commented on GitHub (Jun 3, 2026):

Thank you for your responses. Regarding issue #1, all panel nodes have been updated to 3.2.6, and all nodes are running Xray core 26.6.1. There are no errors in the logs, and the services are running. We have restarted multiple times.

Absolutely all clients added after updating to version 3.2.0 have this problem — zero traffic, shown as offline, even though clients are actively using the tunnel. In the screenshot above, the top client was added to the panel before 3.2.0, and the rest were added after.

Image
<!-- gh-comment-id:4615157543 --> @mitrios-hub commented on GitHub (Jun 3, 2026): Thank you for your responses. Regarding issue #1, all panel nodes have been updated to 3.2.6, and all nodes are running Xray core 26.6.1. There are no errors in the logs, and the services are running. We have restarted multiple times. Absolutely all clients added after updating to version 3.2.0 have this problem — zero traffic, shown as offline, even though clients are actively using the tunnel. In the screenshot above, the top client was added to the panel before 3.2.0, and the rest were added after. <img width="471" height="770" alt="Image" src="https://github.com/user-attachments/assets/36157de3-22b3-4da4-8c00-895cc54d6520" />
Author
Owner

@MHSanaei commented on GitHub (Jun 4, 2026):

The client online status can't be tracked per inbound, it's currently tracked per email instead
This means that if an email is online, it will appear as online across all inbounds associated with that email.

<!-- gh-comment-id:4623454550 --> @MHSanaei commented on GitHub (Jun 4, 2026): The client online status can't be tracked per inbound, it's currently tracked per email instead This means that if an email is online, it will appear as online across all inbounds associated with that email.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3399
No description provided.