[GH-ISSUE #4705] [v3.2.0] Disabled client cannot be re-enabled – returns EOF until recreated #3249

Closed
opened 2026-10-31 20:31:06 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SomeBytee on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4705

Describe the bug

Description

I found an issue in version 3.2.0 related to disabling and re-enabling clients. And I have to mention that. this test has been done in a new enviroment without importing database from another panel

If a client is working normally and I manually disable it, then enable it again, the client no longer works. The panel shows the client as enabled, but no traffic passes through and the client application returns EOF.

Additional Notes

Interestingly, if a client's traffic has already depleted and the client becomes disabled automatically, enabling it again works fine. and a temporal fix would be to just re-generate the User UUID and save and then use the same UUID he had before and save it. and user continues working again.

The issue only seems to happen when the client is manually disabled by the administrator. After that, there appears to be no way to restore the client properly, even though the panel shows it as enabled.

This makes me wonder whether the client is somehow remaining disabled internally or possibly being removed or corrupted in the database state after manual disable/enable actions.

How to reproduce the problem

  1. Create a client and confirm it works normally.
  2. Disable the client manually from the panel.
  3. Re-enable the same client.
  4. Try connecting using the client configuration.

Expected behavior

After re-enabling the client, it should work normally again and continue passing traffic.

Actual behavior

  • Client appears enabled in the panel.
  • No traffic passes through.
  • Client application returns EOF.
  • Restarting Xray does not fix the issue.
  • Editing client settings (traffic limits, expiry, or other values) also does not fix it.
  • The only working solution is to completely delete the client and create it again.

Relevant logs


Screenshots

No response

3x-ui version

v3.2.0

Xray-core version

v26.5.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 22.04

Which parts of the panel are affected?

Statistics / traffic counters, Database / migrations

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

No — direct access

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 @SomeBytee on GitHub (May 31, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4705 ### Describe the bug **Description** I found an issue in version 3.2.0 related to disabling and re-enabling clients. And I have to mention that. this test has been done in a new enviroment without importing database from another panel If a client is working normally and I manually disable it, then enable it again, the client no longer works. The panel shows the client as enabled, but no traffic passes through and the client application returns EOF. **Additional Notes** Interestingly, if a client's traffic has already depleted and the client becomes disabled automatically, enabling it again works fine. and a temporal fix would be to just re-generate the User UUID and save and then use the same UUID he had before and save it. and user continues working again. The issue only seems to happen when the client is manually disabled by the administrator. After that, there appears to be no way to restore the client properly, even though the panel shows it as enabled. This makes me wonder whether the client is somehow remaining disabled internally or possibly being removed or corrupted in the database state after manual disable/enable actions. ### How to reproduce the problem 1. Create a client and confirm it works normally. 2. Disable the client manually from the panel. 3. Re-enable the same client. 4. Try connecting using the client configuration. ### Expected behavior After re-enabling the client, it should work normally again and continue passing traffic. ### Actual behavior - Client appears enabled in the panel. - No traffic passes through. - Client application returns EOF. - Restarting Xray does not fix the issue. - Editing client settings (traffic limits, expiry, or other values) also does not fix it. - The only working solution is to completely delete the client and create it again. ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version v3.2.0 ### Xray-core version v26.5.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 22.04 ### Which parts of the panel are affected? Statistics / traffic counters, Database / migrations ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? No — direct access ### 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:31:06 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (May 31, 2026):

Duplicate and already fixed

<!-- gh-comment-id:4586329024 --> @MHSanaei commented on GitHub (May 31, 2026): Duplicate and already fixed
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#3249
No description provided.