wulabing / V2Ray_ws-tls_bash_onekey

MIT License
2.13k stars 930 forks source link

近期是脚本有问题还是vultr服务器问题,新安装的v2ray都无法使用,求大神帮忙看下哎 #38

Open yunfeng1227 opened 2 years ago

yunfeng1227 commented 2 years ago

咨询下,自从2022.1.1起,出现以下报错后按按网上找的办法vi /etc/systemd/system/v2ray.service 将相应段落修改成ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray -config /etc/v2ray/config.json就可以使用了。

2022.1.1起的错误 `2022/06/22 14:55:41 121.60.47.170:0 rejected common/drain: common/drain: unable to drain connection > read tcp 127.0.0.1:37235->127.0.0.1:48528: i/o timeout > proxy/vmess/encoding: invalid user: VMessAEAD is enforced and a non VMessAEAD connection is received. You can still disable this security feature with environment variable v2ray.vmess.aead.forced = false .

但是近一个月,这样修改后,还是无法使用,提示如下,网上找了很多教程,都没办法解决,请大神们帮忙指导下,万分感谢!

新错误: 2022/06/22 16:12:02 [Warning] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://.****.com/bbbbbbb/): 502 Bad Gateway > websocket: bad handshake] > v2ray.com/core/common/retry: all retry attempts failed

`

yunfeng1227 commented 2 years ago

已解决 系统问题换了就好

GuoJikun commented 2 years ago

请问需要更换为什么系统

hzzcl commented 2 years ago

我也遇到了,我在linux下用其他就没有问题,在windows 用 V2rayN就会出现经常断开的问题,不知道啥原因,虽然这是个warning

juju-w commented 2 years ago

参考下 #47

加个 /usr/bin/v2ray/v2ray run config /etc/v2ray/config.json

AntiMoron commented 8 months ago

这个问题的正解实际是升级版本。。。和换系统没什么关系。。。你只是换完系统重新装了下更新到最新的脚本罢了。

AntiMoron commented 8 months ago

image 执行完脚本,选0就升级了,蛮简单