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
24.19k stars 3.8k forks source link

Installation problem : Xray failed to start ... #2597

Closed MahanMehrvarz closed 4 months ago

MahanMehrvarz commented 11 months ago

after a couple of successful installations, I am now facing a problem installing. I appreciate anyone's help for it!

in the progress step 11/13, i faced this:


Progress 11/13 : Add fake site Detected installation of fake sites, do you need to reinstall [y/n]: ---> Xray closed successfully Xray failed to start Please manually execute [/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf] to view the error log


here is the error log:


Xray 1.8.4 (Xray, Penetrates Everything.) Custom (go1.21.0 linux/amd64) A unified platform for anti-censorship. 2023/09/27 07:19:01 Using confdir from arg: /etc/v2ray-agent/xray/conf xctl> [ /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json ] appended inbound with tag: VLESSWS xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json ] appended inbound with tag: trojanTCP xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json ] appended inbound with tag: trojangRPCTCP xctl> [ /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json ] appended inbound with tag: VMessWS xctl> [ /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json ] appended inbound with tag: VLESSGRPC Failed to start: main: failed to load config files: [/etc/v2ray-agent/xray/conf/00_log.json /etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json /etc/v2ray-agent/xray/conf/10_ipv4_outbounds.json /etc/v2ray-agent/xray/conf/11_dns.json] > infra/conf: Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.


zxbiao commented 11 months ago

根据错误 【Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.】,请修改使用了VLESS协议的flow为xtls-rprx-vision。

According to the error [Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.], please modify the flow that uses the VLESS protocol to xtls-rprx-vision.

MahanMehrvarz commented 11 months ago

根据错误 【Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.】,请修改使用了VLESS协议的flow为xtls-rprx-vision。

According to the error [Please use VLESS flow "xtls-rprx-vision" with TLS or REALITY.], please modify the flow that uses the VLESS protocol to xtls-rprx-vision.

can you elaborate a little bit. where can use VLESS flow "xtls-rprx-vision" with TLS or REALITY. i am not sure in what step you are pointing to.

us254 commented 11 months ago

The error message you're seeing is indicating that the "flow" field of the VLESS protocol in your configuration files needs to be set to "xtls-rprx-vision".

You need to locate the configuration files mentioned in the error log. They are located in the /etc/v2ray-agent/xray/conf/ directory.

MahanMehrvarz commented 11 months ago

thanks for your response. these are the configuration files:


00_log.json 04_trojan_gRPC_inbounds.json 06_VLESS_gRPC_inbounds.json 02_VLESS_TCP_inbounds.json 04_trojan_TCP_inbounds.json 10_ipv4_outbounds.json 03_VLESS_WS_inbounds.json 05_VMess_WS_inbounds.json 11_dns.json


there is only a "flow" filed in "02_VLESS_TCP_inbounds.json". I changed that to "xtls-rprx-vision" but I still get the identical error log!

zxbiao commented 11 months ago

或许你应该降级到1.7.5版本。1.8.x版本,移除了部分旧有协议和flow,N in One的组合或许不太适合。

Perhaps you should consider downgrading to version 1.7.5. In version 1.8.x, some old protocols and flow were removed, and the combination for 'N in One' may not be as suitable.