[GH-ISSUE #4720] [Bug]: streamSettings.security field is not saving for outbounds #3262

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

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

Describe the bug

streamSettings.security field is not saving for outbounds

How to reproduce the problem

  1. Try fill out a form for a new outbound, set security field with "reality" value
  2. Switch to json, observe "security" field in "streamSettings" object set to "reality"
  3. Save config, reload x-ray and reload page

Expected behavior

  1. A "reality" label is observable in connection types labels (e.g. vless, tls) below outbound tag
  2. After clicking "edit" on this outbound, observe a "security" field with "reality" value
  3. Switching to json, observe "security" field in "streamSettings" object with value "reality"
  4. Connection is working

Actual behavior

  1. A "reality" label is NOT observable in connection types labels (e.g. vless, tls) below outbound tag
  2. After clicking "edit" on this outbound, observe a "security" field with "NONE" value
  3. Switching to json, observe NO "security" field in "streamSettings" object
  4. Connection is NOT working

You can navigate to "advanced" (page with raw x-ray json config) and set "security" field manually

"streamSettings": {
  ...
  "security": "reality"
}

After saving and reloading x-ray, you will observe an "Expected behaviour"

Relevant logs


Screenshots

No response

3x-ui version

3.2.0

Xray-core version

26.5.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24

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 @bttlvd on GitHub (May 31, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4720 ### Describe the bug streamSettings.security field is not saving for outbounds ### How to reproduce the problem 1. Try fill out a form for a new outbound, set security field with "reality" value 2. Switch to json, observe "security" field in "streamSettings" object set to "reality" 3. Save config, reload x-ray and reload page ### Expected behavior 4. A "reality" label is observable in connection types labels (e.g. vless, tls) below outbound tag 5. After clicking "edit" on this outbound, observe a "security" field with "reality" value 6. Switching to json, observe "security" field in "streamSettings" object with value "reality" 7. Connection is working ### Actual behavior 4. A "reality" label is **NOT** observable in connection types labels (e.g. vless, tls) below outbound tag 5. After clicking "edit" on this outbound, observe a "security" field with **"NONE"** value 6. Switching to json, observe **NO** "security" field in "streamSettings" object 7. Connection is **NOT** working You can navigate to "advanced" (page with raw x-ray json config) and set "security" field manually ``` "streamSettings": { ... "security": "reality" } ``` After saving and reloading x-ray, you will observe an "Expected behaviour" ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.0 ### Xray-core version 26.5.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24 ### 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:31:12 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Please fix

<!-- gh-comment-id:4586720602 --> @TheFaik commented on GitHub (May 31, 2026): Please fix
Author
Owner

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

already fixed
stop spam

<!-- gh-comment-id:4586820492 --> @MHSanaei commented on GitHub (May 31, 2026): already fixed stop spam
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#3262
No description provided.