[GH-ISSUE #4032] [Bug]: Expired client indicates as enabled in database #2733

Closed
opened 2026-10-31 20:27:32 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Arman-nsb on GitHub (Apr 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4032

Describe the bug

Whenever a client gets expired (bandwidth or time, no difference), the API system still marks it as "enable: true".
It should be marked as "enable: false".
I tested it, and it only becomes false if I disable the client on the panel. This is a problem for me because I'm using the API system to mark Expired clients as disabled so they charge their accounts.

How to repeat the problem?

  1. Create a client with expired status ( ended bandwidth or time )
  2. Check the client's "enabled" status using the API system (path: /panel/api/inbounds/getClientTrafficsById/{uuid})
  3. It indicates the expired client as "enable: true" which should be set to false

Expected action

No response

Received action

No response

3x-ui Version

latest

Xray-core Version

latest

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @Arman-nsb on GitHub (Apr 17, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4032 ### Describe the bug Whenever a client gets expired (bandwidth or time, no difference), the API system still marks it as "enable: true". **It should be marked as "enable: false".** I tested it, and it only becomes false if I disable the client on the panel. This is a problem for me because I'm using the API system to mark Expired clients as disabled so they charge their accounts. ### How to repeat the problem? 1. Create a client with expired status ( ended bandwidth or time ) 2. Check the client's "enabled" status using the API system (path: /panel/api/inbounds/getClientTrafficsById/{uuid}) 3. It indicates the expired client as "enable: true" which should be set to false ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version latest ### Xray-core Version latest ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:27:32 +07:00
  • closed this issue
  • added the
    bug
    label
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#2733
No description provided.