[GH-ISSUE #4546] [Bug]: Uuid change after status change #3113

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

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

  1. Just toggle status of a client in new client view

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

  • 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 @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 1. Just toggle status of a client in new client view ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### 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 - [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:30:10 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:4530520926 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4541753249 --> @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.
Author
Owner

@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!

<!-- gh-comment-id:4557949471 --> @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!
Author
Owner

@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.

<!-- gh-comment-id:4564288231 --> @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.
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#3113
No description provided.