mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3626] Bug report Traffic Usage & Remaining Online User #2434
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kingpersian on GitHub (Jan 4, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3626
Describe the bug
Hi and thanks for the great work on the WebSocket realtime update feature.
After updating to v2.8.6, I noticed a regression in the inbound user traffic display:
When a user is online, the panel shows the current realtime bandwidth usage instead of the total consumed traffic.
As a result, the “remaining traffic” is calculated incorrectly because it subtracts the realtime bandwidth from the total quota.
When the user goes offline, the values return to normal and the correct total-used traffic is shown.
So the issue only happens while the user is online and WebSocket updates are active.
Expected behavior:
Actual behavior:
This affects all inbounds with traffic limits.
Thanks for checking this. The feature is great, just needs a small fix.
How to repeat the problem?
Expected action
No response
Received action
No response
3x-ui Version
2.8.6
Xray-core Version
No response
Checklist
@wulfric93 commented on GitHub (Jan 4, 2026):
confirmd
it also happens to my panel
@hessamku commented on GitHub (Jan 4, 2026):
I can confirm that I am also experiencing the same issue.
The data usage for users is shown as 70 KB.
I am using Ubuntu version 24.
Before the upgrade, I was on the latest version and upgraded via the terminal.
I would appreciate it if this issue could be resolved in the new update.
@solidwar commented on GitHub (Jan 5, 2026):
https://github.com/user-attachments/assets/5cc691d5-95c5-48a9-b961-33aab339f66e
@rialTresH commented on GitHub (Jan 5, 2026):
Confirm