v2ray / v2ray-core

A platform for building proxies to bypass network restrictions.
https://www.v2ray.com/
MIT License
45.37k stars 8.94k forks source link

安卓端观看youtube的时候会断开连接,导致异常 #3140

Closed striveman1379 closed 1 year ago

striveman1379 commented 1 year ago

除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。 如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。

1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) VPS服务器 V2Ray 4.33.0 安卓客户端 V2RayNG 版本1.2.4, Core V4.23.1

安装模式为:Vmess+WS+TLS

2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 观看 YouTube 视频,上网

3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 在手机上使用V2RayNG进行科学上网时,普通浏览网页,进行google等没有问题,但是一旦使用手机上的youtube应用观看视频,就会连接异常,不能访问,V2RayNG 客户端 的连接状态会 失败:context deadline exceeded

在PC端使用没有出现此问题

ps: VPS服务器为美国的节点服务器,该服务器的时区已经改为上海时区,所以应该不存在时间同步问题

4) 你期待看到的正确表现是怎样的? 访问手机端的youtube不会导致断开连接

5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

服务器端配置: { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbounds": [{ "port": 42158, "listen": "127.0.0.1", "protocol": "vmess", "settings": { "clients": [ { "id": "996f2dbd-8223-442d-80b5-3d0c6032e412", "level": 1, "alterId": 0 } ], "disableInsecureEncryption": false }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/def", "headers": { "Host": "abc.xyz.cn" } } } }], "outbounds": [{ "protocol": "freedom", "settings": {} },{ "protocol": "blackhole", "settings": {}, "tag": "blocked" }] }

客户端配置:

    // 在这里附上客户端配置

6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。

服务器端错误日志:

`服务器端错误日志没有输出错误信息

客户端错误日志:

未发现异常

7) 请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。

未发现异常

8) 其它相关的配置文件(如 Nginx)和相关日志。

服务器中的nginx有错误日志输出: 2023/03/21 19:33:39 [error] 311150#0: *8143 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: 111.114.119.125, server: abc.xyz.cn, request: "GET /def HTTP/1.1", upstream: "http://127.0.0.1:42158/def", host: "abc.xyz.cn"

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days