mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5306] Panel Issues & Improvements Report #3716
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#3716
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 @monhacer on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5306
Describe the bug
This issue summarizes multiple problems and regressions observed in the new panel version compared to previous releases.
In the new version, the Inbound export feature has regressed compared to previous versions.
Previous Behavior
The export provided a full structured JSON output including:
User information
Usage statistics
Expiration / end date
Additional metadata
This was useful for database maintenance and periodic cleanup operations.
Current Behavior
Only two export formats are available:
Combined configuration output (e.g. vless://...)
Subscription links concatenated as plain text
Issue
The structured JSON export is missing.
When adding an outbound server, domain-based addresses are not handled correctly.
Current Behavior
If the Address field contains a domain instead of an IP, the system does not resolve it properly.
Expected Behavior
If the address is a domain:
Perform DNS resolution (lookup/ping)
Convert it to the corresponding IP
Store/render the resolved IP in the backend
Additional Notes
This issue also exists in outbound subscription entries.
In English UI mode, the Date Picker still displays Persian text.
Current Behavior
Displays:
“تاریخ را وارد کنید” (Enter the date)
Expected Behavior
The Date Picker should fully respect the selected UI language.
Possible Cause
Likely related to forced Persian (Jalali) calendar localization.
Reset Flow causes unintended changes in client status.
Current Behavior
If a client has:
Ended
Disabled
And Reset Flow is triggered from the client list (without editing the client), the client is automatically set to:
Enabled
Issue
State change occurs without explicit user action or confirmation.
Expected Behavior
Reset Flow should not modify client status unless explicitly intended.
Summary
The above issues include regressions, UI inconsistencies, and unexpected backend behavior that should be reviewed and fixed to restore previous stability and expected functionality.
How to reproduce the problem
Export Inbound Data Regression
Go to the Inbound section in the panel
2.Click on more icon
Click on the Export option
Observe available export formats
Expected: Structured JSON export including user data, usage, and expiration info
Actual: Only config string (vless://...) and subscription link output are available
Outbound Server Domain Resolution Issue
Go to Outbound configuration page
Add a new outbound server
Set the Address field to a domain (e.g. example.com) instead of an IP
Save the configuration
Use or inspect the outbound entry
Expected: Domain is resolved to IP and stored/used correctly
Actual: Domain is not properly resolved and may cause incorrect behavior
UI Bug — Date Picker Language Mismatch
Set UI language to English
Navigate to any form containing a Date Picker
Open the Date Picker component
Expected: English text in UI
Actual: Persian text is displayed (“تاریخ را وارد کنید”)
Unexpected Client State Change on Reset Flow
Create or locate a client with status:
Ended
Disabled
Go to client list view
Click Reset Flow from the action icon (without editing the client)
Observe client status after action
Expected: Only flow reset is applied, status remains unchanged
Actual: Client status changes to Enabled automatically
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.3.1
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
Chrome
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jun 14, 2026):
Each of the four points has been checked against the source code at v3.3.1.
1. Export Inbound Data — not a regression; the JSON export is under a different menu item
The structured JSON export was not removed. In
frontend/src/pages/inbounds/list/RowActions.tsx(line 49) there is a separate menu entry with the key'clipboard', rendered with the i18n keypages.inbounds.exportInbound. Clicking it callsexportInboundClipboard()inInboundsPage.tsx, which opens a JSON editor showing the complete inbound record — including all client settings, traffic counters, and expiry values — formatted asJSON.stringify(dbInbound, null, 2).The separate "Export" entry (line 38, key
'export') is the one that generates config-link strings (vless://, etc.) and is only shown for multi-user inbounds.Action needed from you: please confirm whether the "Export Inbound" item is missing from your three-dot menu, or whether you were using the "Export" item expecting it to produce JSON. If "Export Inbound" is genuinely absent from your menu, a screenshot would help.
2. Outbound domain address — enhancement, not a bug
The outbound address field is stored exactly as entered. When the connectivity test runs (
probeTCPEndpointininternal/web/service/outbound/outbound.go, line 199), it passes the address string directly to Go'snet.DialTimeout, which performs DNS resolution internally. The connection itself works with a domain; what does not exist is an explicit step that resolves the domain, displays the resolved IP, or writes it back to the stored address. That would be a new feature — there is no prior code path that did this, so there is no regression to restore.If you want to request that behavior, a focused feature request describing exactly what should be stored or displayed would be the right way to track it.
3. Date picker Persian placeholder — confirmed bug
The placeholder text is a bug in
frontend/src/components/form/DateTimePicker.tsx. When the datepicker setting is'jalalian', the component rendersPersianDateTimePickerfrom thepersian-calendar-suitelibrary (lines 64–84) but does not forward theplaceholderprop to it. The library therefore falls back to its own hardcoded Persian default ("تاریخ را وارد کنید"). The Ant DesignDatePickerpath (lines 87–97) correctly forwardsplaceholder.Note that the calendar type (Gregorian vs. Jalalian) is an independent setting from the UI display language; both are configurable separately in the panel settings. The bug here is the missing prop pass-through, not the calendar selection itself.
4. Reset traffic unconditionally re-enables clients — confirmed bug
This is reproducible from the source. Every code path that resets a client's traffic counters also sets the
enableflag totrue, regardless of why the client was disabled:internal/web/service/client_traffic.golines 30–40 (ResetTrafficByEmail): if\!rec.Enable, it callss.Update(...)withEnable = truebefore resetting counters.internal/web/service/client_traffic.golines 82–88 and 96–98 (BulkResetTraffic): re-enables in a client-loop and again hard-codes"enable": truein the batch SQL update.internal/web/service/inbound_traffic.goline 476 (ResetClientTrafficByEmail): SQL update always includes"enable": true.internal/web/service/inbound_traffic.goline 560 (resetClientTrafficLocked): unconditionally setstraffic.Enable = truebefore saving.The intended design appears to be: a client disabled by an automatic traffic or expiry limit should be re-enabled when traffic is reset. The problem is that clients disabled explicitly by the administrator are also re-enabled. The two cases are not distinguished anywhere in the reset path.
This reply was generated automatically; a maintainer may follow up.
@monhacer commented on GitHub (Jun 14, 2026):
You're right. The Export Inbound button was elsewhere, and the domain issue in Outbound has been fixed in the new update. Glad it's resolved.