Jrohy / multi-v2ray

v2ray/xray多用户管理部署程序
GNU General Public License v3.0
6.98k stars 2.44k forks source link

启动失败 #458

Open kikaendeavor opened 3 years ago

kikaendeavor commented 3 years ago

系统: CentOS 8 Stream x64 Vultr VPS

V2ray 搭建: source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh

启动并查看V2ray状态:

systemctl status v2ray

`v2ray.service - V2Ray Service Loaded: loaded (/etc/systemd/system/v2ray.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/v2ray.service.d └─10-donot_touch_single_conf.conf Active: inactive (dead) Docs: https://www.v2fly.org/

Jan 04 01:44:44 vultrguest systemd[1]: Started V2Ray Service. Jan 04 01:44:45 vultrguest systemd[1]: v2ray.service: Succeeded.`

客户端使用的winXray 2.3

Jrohy commented 3 years ago

v2ray new 重新生成配置试试

kikaendeavor commented 3 years ago

v2ray new 重新生成配置试试

试了,还是无法启动

目前的生成的配置如下 # cat /etc/v2ray/config.json

{ "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "info" }, "inbounds": [ { "port": 43399, "protocol": "vmess", "settings": { "clients": [ { "id": "xxx-xxx-xxx-xxx-xxx", "alterId": 0 } ] }, "streamSettings": { "network": "kcp", "security": "none", "tlsSettings": {}, "tcpSettings": {}, "httpSettings": {}, "kcpSettings": { "mtu": 1350, "tti": 50, "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "wechat-video" } }, "wsSettings": {}, "quicSettings": {} } } ], "outbounds": [ { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "rules": [ { "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "blocked" } ] } }

日志文件两个都是空的

Jrohy commented 3 years ago

我试了用vultr的centos8 stream安装没问题,要不重新运行source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh 重新安装下

kikaendeavor commented 3 years ago

重新安装了系统,再重装了v2ray,可以正常启动了 但是客户端连不上

客户端换成了 v2rayN v4.3 + v2ray-windows-64

配置成功 [Vmess] (45***144:28722) 启动服务(2021/1/4 14:48:10)...

V2Ray 4.3 (Po) 20181109 A unified platform for anti-censorship. main: failed to read config file: G:\downloads\v2ray-windows-64\config.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ray.com/ext/tools/conf/command: failed to parse json config > v2ray.com/ext/tools/conf/serial: failed to read config file > json: cannot unmarshal number -1 into Go struct field MuxConfig.concurrency of type uint16

exit status 4294967295

这是哪里出错了

Jrohy commented 3 years ago

你是不是用生成的客户端json替换到v2rayN里面的

Jrohy commented 3 years ago

只要拷贝分享连接到v2rayN里面导入就行的

kikaendeavor commented 3 years ago

没有替换json,我是启动 v2rayN 后,手动配置的VMess服务器,然后报了上边的错误信息

Jrohy commented 3 years ago

直接导入vmess://分享字符串就好

kikaendeavor commented 3 years ago

分享的前提是有一个可以使用的配置吧 我现在是客户端报错

Jrohy commented 3 years ago

我测试了v2rayN-core 4.3 版本的没问题的,你可以试试v2rayN-core版本,或者换成v2rayN的最新稳定版

kikaendeavor commented 3 years ago

赞,一路换到 3.29 的 v2rayN-Core 才不报错了, https://github.com/2dust/v2rayN/releases 但是 访问 google 报错

500 Internal Privoxy Error Privoxy encountered an error while processing your request: Could not load template file no-server-data or one of its included components. Please contact your proxy administrator. If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It's typically the Privoxy install directory).

hosts 也改了下 还缺少啥嘞

Jrohy commented 3 years ago

代理设置问题吧自己研究下软件看看

kikaendeavor commented 3 years ago

ok 灰常感谢