mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4382] Bug report #2987
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#2987
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 @mclinyeshi on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4382
Describe the bug
In the newly refactored Vue 3 frontend (v3.0.x), configuring a Hysteria2 inbound with an Obfs password fails to generate the correct obfuscation fields for Xray-core.
Failed Workaround (JSON Sanitization Bug):
If a user tries to bypass the UI bug by editing the "Advanced Configuration" and manually injecting the correct obfuscation fields (e.g., obfuscation / obfsPassword or udpmasks), saving the inbound triggers the backend's data sanitization. The backend recognizes the fields as invalid, deletes them, and forcibly resets the JSON, erasing both the manual obfs settings and the core client password.
How to repeat the problem?
1.Create a Hysteria2 inbound and enter a password in the Obfs password field.
2.Connect with a client using obfs: salamander and the corresponding password.
3.Check the underlying JSON generated by the panel.
Expected action
The Obfs password field in the UI should correctly map to Xray-core's Hysteria2 Salamander implementation, and the Advanced JSON editor should allow manual parameter injection without forcefully clearing the configuration.
Received action
1.The connection times out (Xray sends a 46-byte stateless reset).
2.The underlying JSON generated reveals that the obfs password is not properly injected into the stream settings (or is wrongly mapped to auth instead of obfsPassword under hysteriaSettings).
3x-ui Version
v3.0.2
Xray-core Version
v26.5.9
Checklist