alireza0 / s-ui

An advanced Web Panel • Built for SagerNet/Sing-Box
https://t.me/XrayUI
GNU General Public License v3.0
2.78k stars 441 forks source link

When using the vless protocol with reality, the subscription JSON configuration generates an error. #224

Closed lingbaoboy closed 3 months ago

lingbaoboy commented 3 months ago

When using the vless protocol with reality, the generated subscription JSON is missing "enabled": true and "short_id", which causes the node to not connect properly.

The node information in the JSON generated by my subscription is as follows:

{ "flow": "xtls-rprx-vision", "multiplex": {}, "server": "abc.com", "server_port": 31755, "tag": "vless-31755", "tls": { "enabled": true, "reality": { "public_key": "90hzsUBiJsQdS1-1EpXnp7rR3YHQALOnRFmaKaj-RBw" }, "server_name": "www.samsung.com", "utls": { "enabled": true, "fingerprint": "random" } }, "transport": {}, "type": "vless", "uuid": "4e488118-2b52-4bac-fb2d-ea134f2a9596" }

Changes that need to be made.

"reality": { "enabled": true, "public_key": "90hzsUBiJsQdS1-1EpXnp7rR3YHQALOnRFmaKaj-RBw", "short_id": "XXXX" },

alireza0 commented 3 months ago

Thank you for your report. I confirm that it was forgotten and will be fixed soon.

alireza0 commented 3 months ago

It should be fixed now. Please wait for next version.