mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5832] [Bug]: Updating a user's data causes all of their inbounds/nodes to stop working until restart (XUI 3.4.2) #4051
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#4051
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 @Begamegazon on GitHub (Jul 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5832
Describe the bug
After upgrading XUI from v3.4.0 to v3.4.2, editing an existing user's information (such as the expiration date or traffic limit) causes all of that user's nodes/inbounds across all servers to stop working.
There are no Xray errors and no relevant logs indicating a problem. The only way to restore service is to manually restart each affected node. This issue did not exist in v3.4.0.
How to reproduce the problem
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.4.2
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
ubuntu 24
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
@github-actions[bot] commented on GitHub (Jul 6, 2026):
This is the same underlying bug as #5771 (and #5764), and the reproduction here matches exactly: editing a client's data (expiration, traffic limit, etc.) on the master causes every remote node hosting that client to stop forwarding traffic, with Xray still "running" and no errors, until it is manually restarted.
Root cause (confirmed in the fix that closed #5771): a client edit always stamped a fresh
updated_atand marked the node dirty; the 5s node sync job (cadenceNodeTraffic,internal/web/web.go) then saw a fingerprint mismatch and pushed a fullinbounds/update/:idto the node. On the node, applying that update removes and re-adds the Xray inbound handler (internal/web/service/inbound.go, via the local runtime), and that remove/re-add can leave the handler not actually forwarding even though the Xray process itself stays up — the same failure class already documented in this codebase for the VLESS-reverse-client restart fix (internal/xray/hot_diff.go).This has already been fixed on
main(commita0989e0, "fix(node): stop client edits from tearing down node inbounds and harden reconcile fingerprints", which explicitly closes #5764 and #5771). The fix makes no-op saves skip the node push entirely, and makes real edits (like the expiration/traffic-limit change in your case) send a lightweight per-client update instead of tearing down and rebuilding the whole inbound.That fix landed after
v3.4.2and is not in any tagged release yet. Until the next release ships, the only workaround is to avoid editing clients that have nodes attached, or to manually restart Xray on the affected nodes after an edit.Closing this as a duplicate of #5771 so discussion and any updates stay in one place.
This reply was generated automatically; a maintainer may follow up.