alireza0 / x-ui

xray panel supporting multi-protocol multi-user expire day & traffic (Vmess & Vless & Trojan & Shadowsocks)
https://t.me/XrayUI
GNU General Public License v3.0
3.21k stars 491 forks source link

Setting up tls will result in an error / 设置 TLS 会导致错误 #1509

Closed PalmTamino closed 1 week ago

PalmTamino commented 2 weeks ago

Chinese/中文 Describe the bug If i set up tls, it will result in the problem, that xray cannot even be started

To Reproduce Steps to reproduce the behavior: 1) create new vless proxy 2) just select tls 3) save and check if xray is still up and running

Expected behavior not running

Video

https://github.com/user-attachments/assets/38e3d656-dd86-484a-86e5-9da583460aaa

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context maybe i would need to select a certificate, but that it will be completely broken is unexpected, why does it even let me continue without, and where to get one?

PalmTamino commented 2 weeks ago

Of course i had to selected one, dumb me. I never used this panel beofre, sorry. But please catch the error haha

sssagsag commented 1 week ago

You want to add TLS without public and private keys, which is not correct and contradicts the nature of TLS.