Closed princelai closed 6 years ago
这个软件就是各种断流,官方貌似也没有办法解决。。。
@dragonzhi 好吧,那既然都断那就这样吧。
"dns": { "servers": [ "localhost" ] },
@hweidz 没明白您什么意思,是配置不对吗?
最新版本TCP也断流,H2也断流,我现在改用WS,暂时没发现问题。望修复。
这个断流问题发现很久了,一直没有修复,估计够呛了。
这个断流问题发现很久了,一直没有修复,估计够呛了。
@hweidz 意思是DNS的问题导致断流么。我去试一下。我的DNS靠前的都是国内的,理论上不存在解析或访问不了的
@princelai 服务器和客户端日志错误日志你没记录,不太好debug
@testcaoy7 不是我没记录,是没有我就没贴出来
@princelai 把log level
设置为info
就会有大量输出了
最近改了配置,已经没有断流而了,把h2换成tcp,已经连续使用3天,非常正常,怀疑是不是h2的原因,或者是服务器上没加caddy导致的。
V2RAY_RAY_BUFFER_SIZE 设置成 1 具体就gg下 针对小内存
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明)
2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 通过chromium上网,原来是靠SwitchOmega代理,后来经常断流以为是SwitchOmega的锅,就用系统代理接管了。系统Manjaro Linux
3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 经常性断流,大约每隔3-5分钟断流5-8分钟。需要代理的网站无法访问,同时直连的网站没有问题。
4) 你期待看到的正确表现是怎样的? 不断流
5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
两台服务端配置都如下。
6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。无
无
7) 请附上访问日志。在 Linux 中,日志通常在
/var/log/v2ray/access.log
文件中。 服务器1服务器2
本地访问记录
8)其他说明 首先请不要说这是服务器和本地时间不一样,我可以保证两台服务器和本地的时间误差在1秒以内,因为时区不同,整整相差了12小时。为什么服务端和客户端时间不一样,那是因为我在本地时间10点25执行了命令
sudo tail -n30 /var/log/v2ray/access.log
,所以当时两个服务器的时间应该是22点25,本地一直在接收访问,但是明显服务端在6分钟前就没有记录了,也就是客户端和服务端的链接已经断开,而且是两台服务器几乎同时断开了,这时候我分别ping了两台服务器以上就是我遇到的问题,总结一下就是本地和服务端都用的最新版,排除了本地网络错误和服务器网络错误,本地服务一直在工作,但是并没有把代理请求发送给服务端。