mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4546] [Bug]: Uuid change after status change #3113
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#3113
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 @amirhkarimifar on GitHub (May 24, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4546
Describe the bug
UUID is changed after toggle status of client to random new one
Version 3.1.0
How to reproduce the problem
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.1.0
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 22
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
@yinyuangu commented on GitHub (May 24, 2026):
The UUID and Hysteria Auth changes not only when the client’s email ID or Subscription ID is modified, but even if the client is simply closed and then reopened.
@Mannokia commented on GitHub (May 26, 2026):
Several critical issues occur when managing clients in 3x-ui.
Problems observed
When enabling or disabling a client, the password either changes automatically or disappears completely. As a result, client connections stop working.
UUIDs also periodically change or disappear unexpectedly. This causes the core to crash with an error related to invalid configuration.
When renaming a client, a new client entry is created with the new name, while the old client remains in the panel without assigned connections.
Additionally, if the client has a Hysteria connection configured, renaming the client creates a new client containing all original connections except Hysteria. The Hysteria connection remains attached to the old client.
Expected behavior
Enabling/disabling a client should not modify passwords or UUIDs.
Renaming a client should only change the client name without creating duplicate entries.
All client connections, including Hysteria, should remain attached to the renamed client.
Actual behavior
Passwords and UUIDs are unexpectedly modified or lost.
Duplicate client entries appear after renaming.
Hysteria connections remain bound to the old client entry.
@shustovTE commented on GitHub (May 27, 2026):
Same issue. Please fix this. After accidentally turning off and then turning on a client I had to manually search for his old uuid. Also this bug set to none "flow" section of a client. I had to manually set it.
Thanks for help!
@anartikov commented on GitHub (May 28, 2026):
I have the same issue on version 3.1.0.
I toggled a client’s status (disabled and then re-enabled it) in the panel. After that the client’s UUID was silently replaced with a completely new random one. The old UUID moved to a different client, so they basically got swapped.
Because my router was still using the old UUID, the tunnel broke immediately – no errors in the logs, just no connection.
I had to manually edit the Xray config file to put the correct UUID back, then hit "Save" on the inbound in the panel to sync the database. That fixed it.
This is a critical bug – toggling a client should never change its credentials. Please fix it as soon as possible.