XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
22.76k stars 3.65k forks source link

Failed to start: main: failed to load config files: [/etc/xray/config.json] > infra/conf: Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY. #1812

Closed jasonbohan closed 1 year ago

jasonbohan commented 1 year ago

Xray 1.8.0 (Xray, Penetrates Everything.) Custom (go1.20.2 linux/amd64) A unified platform for anti-censorship. 2023/03/18 11:40:38 [Info] infra/conf/serial: Reading config: /etc/xray/config.json Failed to start: main: failed to load config files: [/etc/xray/config.json] > infra/conf: Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.

已经在/etc/config.json 配置里再flow 那边改为了xtls-rprx-vision了。 "settings": { "clients": [ { "id": "xxxx", "flow": "xtls-rprx-vision", "level": 0

RPRX commented 1 year ago

配置的 security 需改成 tls 或 reality

Merdan-Kurbanov commented 1 year ago

hello i have a same problem .how to solve this ?

ToorajValaee commented 9 months ago

It's because there was a client with xtls valued xtls-rprx-direct

to fix it, just edit your clients and make not in xtls, if xtls is off, then turn it on, change it to not and then you can turn it off again

xworks commented 3 weeks ago

change flow to "xtls-rprx-vision"

…… { "id": "xxxx", "flow": "xtls-rprx-vision", "level": 0 } ……

also, change security to "tls"

…… "security": "tls", ……