mack-a / v2ray-agent

Xray、Tuic、hysteria2、sing-box 八合一一键脚本
https://www.v2ray-agent.com
GNU Affero General Public License v3.0
13.49k stars 4.44k forks source link

Xray配置完成后启动失败 #933

Closed nagastone closed 5 months ago

nagastone commented 5 months ago

Xray 1.8.7 (Xray, Penetrates Everything.) 3f0bc13 (go1.21.5 linux/arm64) A unified platform for anti-censorship. 2024/02/02 19:32:02 Using confdir from arg: /etc/v2ray-agent/xray/conf 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/00_log.json 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json] appended inbound with tag: VLESSTCP 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json] appended inbound with tag: VLESSWS 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json] appended inbound with tag: trojanTCP 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json] appended inbound with tag: trojangRPCTCP 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json] appended inbound with tag: VMessWS 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json] appended inbound with tag: VLESSGRPC 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json] appended inbound with tag: VLESSReality 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/08_VLESS_vision_gRPC_inbounds.json 2024/02/02 19:32:02 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/08_VLESS_vision_gRPC_inbounds.json] appended inbound with tag: VLESSRealityGRPC 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/09_routing.json 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/11_dns.json 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/12_policy.json 2024/02/02 19:32:02 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/z_direct_outbound.json 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/07_VLESS_vision_reality_inbounds.json /etc/v2ray-agent/xray/conf/08_VLESS_vision_gRPC_inbounds.json /etc/v2ray-agent/xray/conf/09_routing.json /etc/v2ray-agent/xray/conf/11_dns.json /etc/v2ray-agent/xray/conf/12_policy.json /etc/v2ray-agent/xray/conf/z_direct_outbound.json] > infra/conf/serial: failed to decode config: /etc/v2ray-agent/xray/conf/z_direct_outbound.json > infra/conf/serial: failed to read config file at line 6 char 17 > invalid character 'd' looking for beginning of object key string

1.问题描述

Xray配置完成后启动失败

2.安装失败的log或者截图

image

3.系统版本

Debian11 with BBR Plus

4.脚本版本

3.25

nagastone commented 5 months ago

/etc/v2ray-agent/xray/conf/z_direct_outbound.json 中第六行应该改为 "domainStrategy":"UseIP"

mack-a commented 5 months ago

https://github.com/mack-a/v2ray-agent/releases/tag/v3.2.6