reeceyng / v2ray-agent

【纯净版】原八合一共存脚本,去除广告等推广信息,支持xtls-rprx-vision
GNU Affero General Public License v3.0
896 stars 578 forks source link

Xray启动失败 #19

Closed Gslw closed 1 year ago

Gslw commented 1 year ago

Xray启动失败 请手动执行【/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf】,查看错误日志

root@C20220617175219:~# /etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf Xray 1.7.2 (Xray, Penetrates Everything.) Custom (go1.19.4 linux/amd64) A unified platform for anti-censorship. 2023/01/12 02:15:31 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: app/proxyman/inbound: failed to listen TCP on 31299 > transport/internet: failed to listen on address: 127.0.0.1:31299 > transport/internet/websocket: failed to listen TCP(for WS) on 127.0.0.1:31299 > listen tcp 127.0.0.1:31299: bind: cannot assign requested address

reeceyng commented 1 year ago

是否31299端口已被占用?

Gslw commented 1 year ago

Xray启动失败 请手动执行【/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf】,查看错误日志 root@C20220617175219:~# /etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf Xray 1.7.2 (Xray, Penetrates Everything.) Custom (go1.19.4 linux/amd64) A unified platform for anti-censorship. 2023/01/12 12:27:05 Using confdir from arg: /etc/v2ray-agent/xray/conf 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/00_log.json 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json xctl> [ /etc/v2ray-agent/xray/conf/03_VLESS_WS_inbounds.json ] appended inbound with tag: VLESSWS 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_TCP_inbounds.json ] appended inbound with tag: trojanTCP 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json xctl> [ /etc/v2ray-agent/xray/conf/04_trojan_gRPC_inbounds.json ] appended inbound with tag: trojangRPCTCP 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json xctl> [ /etc/v2ray-agent/xray/conf/05_VMess_WS_inbounds.json ] appended inbound with tag: VMessWS 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json xctl> [ /etc/v2ray-agent/xray/conf/06_VLESS_gRPC_inbounds.json ] appended inbound with tag: VLESSGRPC 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/10_ipv4_outbounds.json 2023/01/12 12:27:05 [Info] infra/conf/serial: Reading config: /etc/v2ray-agent/xray/conf/11_dns.json Failed to start: app/proxyman/inbound: failed to listen TCP on 31299 > transport/internet: failed to listen on address: 127.0.0.1:31299 > transport/internet/websocket: failed to listen TCP(for WS) on 127.0.0.1:31299 > listen tcp 127.0.0.1:31299: bind: cannot assign requested address root@C20220617175219:~# netstat -tln | grep 31299 root@C20220617175219:~# netstat -anp | grep 31299 root@C20220617175219:~# lsof -i:31299 root@C20220617175219:~#

并不是太懂,重新安装按照网上的端口占用查询法都没反应。

eggydutch commented 1 year ago

似乎是trojan xtls-vision的支持问题: infra/conf: Trojan clients: "flow" doesn't support "xtls-rprx-vision" in this version

reeceyng commented 1 year ago

似乎是trojan xtls-vision的支持问题: infra/conf: Trojan clients: "flow" doesn't support "xtls-rprx-vision" in this version

看起来是的,用trojan只能使用direct和splice两种,而且作者似乎也不打算支持trojan