New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@DarienRaymond 断流现象依然存在(游戏掉线),局域网测试也断流! #1151
Comments
个人感觉3.22断流现象不明显 但是有内存泄露 3.26断流比较明显 无论是单server 3.26 单client 3.26 server client都3.26 都有断流现象 |
@silent-x 您在3.22是怎么配置v2ray的,另外,是通过什么方式测试断流的? |
@Dragonzhi 最简单的配置 加个TLS 写个脚本去wget 同一时刻同一服务器SSR不断 v2ray断 基本可以断定是v2ray的问题 还有一点就是开了mux几率大点 不开mux就不太会断 但是速度就和SSR差不多了 |
@silent-x 嗯,我这边客户端和服务端通过kcp协议进行通信,没有开mux,对速度没有要求, |
开了v2ray,vmess+kcp,一个vps一周时间,昨天ip被封了,之前的ss虽然偶然有丢包的情况,但是从来没有被封过ip,真是蛋疼啊,还是老实用ss了,虽然慢点,但是有保障啊 |
@huwsun host在哪个主机商?v2ray应该没有特征吧 |
又测试了一次,大概跑了两个半小时复现了,还是同样读写错误,这次发生在客户端,进一步证明应该和运营商没关系,就是v2ray本身代码的问题 |
@silent-x linode的美国主机,翻墙好几年了,布了一回v2ray,ip就挂了。。。 |
局域网内测试依然会断流,以固定大小速率发送数据包,现象一模一样,而且也是跑了大概两个半小时左右就断了,证明和运营商没有关系。 |
@Dragonzhi client
而且这个代理也是rtt高了 速度上不去. 默认发送缓存怎么也随意3MBps了 但是测试反而就1.5M速度差不多.. 建议你改下标题 改成Lan测试断流. 2018-06-23 20:27:03 我用的curl下载的 要不然你也试试 下载个测试文件 然后ctrl+c 然后重新下载. |
一开始用的kcp也是各种断流,之后改成WebSocket+TLS+Web,从3.22版本到3.26基本没断过 |
@winds365 那肯定的 这个断线只跟kcp有关. |
@kxmp |
肯定是有问题啊. |
哎,这个问题看到很久之前就有了,一直没解决。。。 |
我发现了点奇怪的地方
我发现正常传输都是 服务器端日志 transport下面是 进入状态1 3 5 然后虽然大文件断线率100% 如果再去突然下载小文件却没事.... |
@kxmp |
@Dragonzhi 这么说是win客户端移植出了问题么?!! |
1, 3 是本地关闭,2,4 是远端关闭 |
@TanNang |
@kxmp |
试了一下v3.6,貌似比现在的版本稳定点,但是跑了两三天,v2ray server居然收不到包了,进程还在,监听端口还在,抓包看收不到包,进入一种僵死状态。 |
@Dragonzhi 你用的什么模式啊. 是vmess么? |
@kxmp 也有可能是被封了,但是上次也出现过,好像重启下v2ray就能抓到包了,很诡异。 |
加了一些日志发现,是服务器突然不往客户端发数据了(但是这时候游戏服务器是有数据发往v2ray服务器的),超过了客户度kcp的30ms最长收包间隔,所以连接断开了,导致游戏掉线,暂时不清楚为啥v2ray服务器突然不发数据了。 |
请升级到最新版。如果还有kcp相关问题,请重新提交issue,并附上使用场景,比如下载文件的大小,并发连接数量等。 |
设置都默认的.. 配置文件 2018-07-27 21:02:06 |
Please skip to the English section below if you don't write Chinese.
中文:
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。
除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。
你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明)
最新版本3.27
你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
客户端和服务器跑的mkcp协议,服务器outboud是freedom
你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)
断流,游戏突然中断,下载失败
你期待看到的正确表现是怎样的?
正常游戏
请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
服务器端配置:
// 在这里附上服务器端配置文件
// 在这里附上客户端配置
请附上出错时软件输出的错误日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。服务器端错误日志:
/var/log/v2ray/access.log
文件中。其它相关的配置文件(如 Nginx)和相关日志。
如果 V2Ray 无法启动,请附上
--test
输出。通常的命令为
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
。请按实际情况修改。通常的命令为
journalctl -u v2ray
。请预览一下你填的内容再提交。
如果你已经填完上面的问卷,请把下面的英文部份删除,再提交 Issue。
Please remove the Chinese section above.
English:
Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.
What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.
What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)
What's your expectation?
Please attach your configuration file (Mask IP addresses before submit this issue).
Server configuration:
// Please attach your server configuration here.
// Please attach your client configuration here.
Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at
/var/log/v2ray/error.log
on Linux.Server error log:
Please review your issue before submitting.
Other configurations (such as Nginx) and logs.
If V2Ray doesn't run, please attach output from
--test
.The command is usually
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
, but may vary according to your scenario.Usual command is
journalctl -u v2ray
.The text was updated successfully, but these errors were encountered: