mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3871] [2.8.10] inbound clients may become null after auto-removal, causing all VLESS users on that inbound to disconnect #2620
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#2620
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 @Clhikari on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3871
Description
On
x-ui 2.8.10, I hit a case where a VLESS inbound (:443,ws+tls) suddenly became unusable for all clients.After checking runtime config, the inbound's
settings.clientsbecamenull.This made all devices fail auth (symptom: clients report connect/check latency failure like
-1).Observed behavior
/usr/local/x-ui/bin/config.jsonid=1,port=443,protocol=vlessLogs
From
journalctl -u x-ui:Feb 28 17:21:16 ... Remove Inbound User ... due to expiration or traffic limitFeb 28 17:34:13 ... Remove Inbound User ... due to expiration or traffic limitEnvironment
2.8.10VLESS + WS + TLSImpact
This is severe because one invalid transition (
clients: null) takes the entire inbound offline for all users, not just a single expired/limited user.Expected behavior
When last/invalid client is removed,
settings.clientsshould remain a valid array (possibly empty), and removal logic should not produce a broken inbound state.Temporary workaround used
Re-enable affected user in DB and restart x-ui, then clients recovered.
Suggestion
Please harden the remove-user / config-generation path to guarantee
settings.clientsis always an array for VLESS/VMess/Trojan inbounds.