Skip to content

qv2ray客户端开启v2ray api系统的时候会造成无法进行某些连接connection reset by peer #3337

Open
@iamqk

Description

@iamqk

你正在使用哪个版本的 V2Ray?

客户端 5.19 服务器端5.16.1

你的使用场景是什么?

qv2ray客户端开启v2ray api系统的时候会造成无法进行某些连接connection reset by peer
百分百复显:斗鱼mac客户端打开api系统统计流量的时候就会造成视频大概率无法出现

你看到的异常现象是什么?

无法播放直播视频
一般web浏览正常 斗鱼app弹幕连接正常 就是视频无法播放

如果不开启api功能则一切正常

你期待看到的正常表现是怎样的?

请附上你的配置

服务端配置:

// 在这里附上服务器端配置文件

客户端配置:

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

请附上出错时软件输出的错误日志

客户端错误日志
2025/03/03 13:08:50 [Info] [1083438019] proxy/vless/outbound: tunneling request to tcp:alive.github.com:443 via dp.370631.xyz:443
2025/03/03 13:08:58 [Info] [1055065997] proxy/http: request to Method [GET] Host [playpc.douyucdn.cn] with URL [http://playpc.douyucdn.cn/lapi/live/appGetPlayer/stream/699689?rate=0&cdn=scdncuheljqqhe&csign=8aae0fe288a69e6015118d3bdfcb9be0&cptl=2301]
2025/03/03 13:08:58 [Info] [1055065997] app/dispatcher: taking detour [DIRECT] for [tcp:playpc.douyucdn.cn:80]
2025/03/03 13:08:58 [Info] [1055065997] proxy/freedom: opening connection to tcp:playpc.douyucdn.cn:80
2025/03/03 13:08:58 127.0.0.1:56871 accepted http://playpc.douyucdn.cn/lapi/live/appGetPlayer/stream/699689?rate=0&cdn=scdncuheljqqhe&csign=8aae0fe288a69e6015118d3bdfcb9be0&cptl=2301 [DIRECT]
2025/03/03 13:08:58 [Info] [1055065997] transport/internet/tcp: dialing TCP to tcp:playpc.douyucdn.cn:80
2025/03/03 13:08:58 [Info] [1055065997] transport/internet: dialing to tcp:playpc.douyucdn.cn:80 via 0.0.0.0
2025/03/03 13:08:59 [Info] [3958058879] proxy/http: request to Method [GET] Host [218.10.9.2:8080] with URL [http://218.10.9.2:8080/live/699689ritGsga7Wu.flv?wsAuth=f69279aab91021e5de389bb1f47d2295&token=app-pcclient2-0-699689-98dfc544d285026ae0dd9fc3a47e4dc069445c8106dc146b&logo=0&expire=0&did=d6ab4b100b9ce72597eb7033000017n1&ver=1.3.7&pt=1&st=0&sid=409911868&vhost=play2&um=0&mcid2=0&origin=dy&fcdn=scdn&fo=0&mix=0&isp=scdncuheljqqhe]
2025/03/03 13:08:59 [Info] [3958058879] app/dispatcher: taking detour [DIRECT] for [tcp:218.10.9.2:8080]
2025/03/03 13:08:59 [Info] [3958058879] proxy/freedom: opening connection to tcp:218.10.9.2:8080
2025/03/03 13:08:59 127.0.0.1:56873 accepted http://218.10.9.2:8080/live/699689ritGsga7Wu.flv?wsAuth=f69279aab91021e5de389bb1f47d2295&token=app-pcclient2-0-699689-98dfc544d285026ae0dd9fc3a47e4dc069445c8106dc146b&logo=0&expire=0&did=d6ab4b100b9ce72597eb7033000017n1&ver=1.3.7&pt=1&st=0&sid=409911868&vhost=play2&um=0&mcid2=0&origin=dy&fcdn=scdn&fo=0&mix=0&isp=scdncuheljqqhe [DIRECT]
2025/03/03 13:08:59 [Info] [3958058879] transport/internet/tcp: dialing TCP to tcp:218.10.9.2:8080
2025/03/03 13:08:59 [Info] [3958058879] transport/internet: dialing to tcp:218.10.9.2:8080 via 0.0.0.0
2025/03/03 13:08:59 [Info] [3958058879] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp 192.168.68.86:56874->218.10.9.2:8080: read: connection reset by peer
2025/03/03 13:08:59 [Warning] [3958058879] proxy/http: failed to read response from 218.10.9.2:8080 > io: read/write on closed pipe
2025/03/03 13:08:59 [Info] [3958058879] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > EOF
2025/03/03 13:09:25 [Info] [587824196] proxy/http: request to Method [CONNECT] Host [gateway.icloud.com:443] with URL [//gateway.icloud.com:443]
2025/03/03 13:09:25 [Info] [587824196] app/dispatcher: taking detour [DIRECT] for [tcp:gateway.icloud.com:443]
2025/03/03 13:09:25 [Info] [587824196] proxy/freedom: opening connection to tcp:gateway.icloud.com:443
2025/03/03 13:09:25 [Info] [587824196] transport/internet/tcp: dialing TCP to tcp:gateway.icloud.com:443
2025/03/03 13:09:25 [Info] [587824196] transport/internet: dialing to tcp:gateway.icloud.com:443 via 0.0.0.0
2025/03/03 13:09:25 127.0.0.1:56875 accepted //gateway.icloud.com:443 [DIRECT]
2025/03/03 13:09:26 [Info] [1395480533] proxy/http: request to Method [CONNECT] Host [weatherkit.apple.com:443] with URL [//weatherkit.apple.com:443]
2025/03/03 13:09:26 [Info] [1395480533] app/dispatcher: taking detour [DIRECT] for [tcp:weatherkit.apple.com:443]
2025/03/03 13:09:26 [Info] [1395480533] proxy/freedom: opening connection to tcp:weatherkit.apple.com:443
2025/03/03 13:09:26 127.0.0.1:56877 accepted //weatherkit.apple.com:443 [DIRECT]
2025/03/03 13:09:26 [Info] [1395480533] transport/internet/tcp: dialing TCP to tcp:weatherkit.apple.com:443
2025/03/03 13:09:26 [Info] [1395480533] transport/internet: dialing to tcp:weatherkit.apple.com:443 via 0.0.0.0
2025/03/03 13:09:27 [Info] [1395480533] app/proxyman/inbound: connection ends > proxy/http: connection ends > read tcp 127.0.0.1:7890->127.0.0.1:56877: read: connection reset by peer
2025/03/03 13:09:27 [Info] [1395480533] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2025/03/03 13:09:56 [Info] [587824196] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2025/03/03 13:09:59 [Info] [1055065997] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > read tcp 127.0.0.1:7890->127.0.0.1:56871: i/o timeout
2025/03/03 13:10:09 [Info] [1154124910] proxy/socks: TCP Connect request to tcp:wsproxy.douyu.com:6671
2025/03/03 13:10:09 [Info] [1154124910] app/dispatcher: taking detour [DIRECT] for [tcp:wsproxy.douyu.com:6671]
2025/03/03 13:10:09 [Info] [1154124910] proxy/freedom: opening connection to tcp:wsproxy.douyu.com:6671
2025/03/03 13:10:09 tcp:127.0.0.1:56879 accepted tcp:wsproxy.douyu.com:6671 [DIRECT]
2025/03/03 13:10:09 [Info] [1154124910] transport/internet/tcp: dialing TCP to tcp:wsproxy.douyu.com:6671
2025/03/03 13:10:09 [Info] [1154124910] transport/internet: dialing to tcp:wsproxy.douyu.com:6671 via 0.0.0.0
2025/03/03 13:10:09 [Info] [3694503427] proxy/socks: TCP Connect request to tcp:danmuproxy.douyu.com:8502
2025/03/03 13:10:09 [Info] [3694503427] app/dispatcher: taking detour [DIRECT] for [tcp:danmuproxy.douyu.com:8502]
2025/03/03 13:10:09 [Info] [3694503427] proxy/freedom: opening connection to tcp:danmuproxy.douyu.com:8502
2025/03/03 13:10:09 tcp:127.0.0.1:56881 accepted tcp:danmuproxy.douyu.com:8502 [DIRECT]
2025/03/03 13:10:09 [Info] [3694503427] transport/internet/tcp: dialing TCP to tcp:danmuproxy.douyu.com:8502
2025/03/03 13:10:09 [Info] [3694503427] transport/internet: dialing to tcp:danmuproxy.douyu.com:8502 via 0.0.0.0

客户端未开启api正常日志
2025/03/03 13:11:10 [Info] [682641615] proxy/http: request to Method [GET] Host [playpc.douyucdn.cn] with URL [http://playpc.douyucdn.cn/lapi/live/appGetPlayer/stream/699689?rate=0&cdn=scdncuheljqqhe&csign=9a01a8789b09310753981ae13933370a&cptl=2301]
2025/03/03 13:11:10 [Info] [682641615] app/dispatcher: taking detour [DIRECT] for [tcp:playpc.douyucdn.cn:80]
2025/03/03 13:11:10 127.0.0.1:56885 accepted http://playpc.douyucdn.cn/lapi/live/appGetPlayer/stream/699689?rate=0&cdn=scdncuheljqqhe&csign=9a01a8789b09310753981ae13933370a&cptl=2301 [DIRECT]
2025/03/03 13:11:10 [Info] [682641615] proxy/freedom: opening connection to tcp:playpc.douyucdn.cn:80
2025/03/03 13:11:10 [Info] [682641615] transport/internet/tcp: dialing TCP to tcp:playpc.douyucdn.cn:80
2025/03/03 13:11:10 [Info] [682641615] transport/internet: dialing to tcp:playpc.douyucdn.cn:80 via 0.0.0.0
2025/03/03 13:11:10 [Info] [2330431824] proxy/http: request to Method [GET] Host [218.10.9.3:8080] with URL [http://218.10.9.3:8080/live/699689ritGsga7Wu.flv?wsAuth=b741790d4fedf7df7130168cf930a207&token=app-pcclient2-0-699689-98dfc544d285026ae4132ab9465b0bbc8e52e11b94dbbf61&logo=0&expire=0&did=d6ab4b100b9ce72597eb7033000017n1&ver=1.3.7&pt=1&st=0&sid=409911868&vhost=play2&um=0&mcid2=0&origin=dy&fcdn=scdn&fo=0&mix=0&isp=scdncuheljqqhe]
2025/03/03 13:11:10 [Info] [2330431824] app/dispatcher: taking detour [DIRECT] for [tcp:218.10.9.3:8080]
2025/03/03 13:11:10 [Info] [2330431824] proxy/freedom: opening connection to tcp:218.10.9.3:8080
2025/03/03 13:11:10 [Info] [2330431824] transport/internet/tcp: dialing TCP to tcp:218.10.9.3:8080
2025/03/03 13:11:10 [Info] [2330431824] transport/internet: dialing to tcp:218.10.9.3:8080 via 0.0.0.0
2025/03/03 13:11:10 127.0.0.1:56887 accepted http://218.10.9.3:8080/live/699689ritGsga7Wu.flv?wsAuth=b741790d4fedf7df7130168cf930a207&token=app-pcclient2-0-699689-98dfc544d285026ae4132ab9465b0bbc8e52e11b94dbbf61&logo=0&expire=0&did=d6ab4b100b9ce72597eb7033000017n1&ver=1.3.7&pt=1&st=0&sid=409911868&vhost=play2&um=0&mcid2=0&origin=dy&fcdn=scdn&fo=0&mix=0&isp=scdncuheljqqhe [DIRECT]
2025/03/03 13:11:12 [Info] [2896896622] proxy/http: request to Method [CONNECT] Host [alive.github.com:443] with URL [//alive.github.com:443]
2025/03/03 13:11:12 [Warning] [2896896622] app/dispatcher: default route for tcp:alive.github.com:443
2025/03/03 13:11:12 127.0.0.1:56889 accepted //alive.github.com:443 [dp.370631.xyz]
2025/03/03 13:11:12 [Info] [2896896622] transport/internet/websocket: creating connection to tcp:dp.370631.xyz:443
2025/03/03 13:11:12 [Info] [2896896622] transport/internet: dialing to tcp:dp.370631.xyz:443 via 0.0.0.0
2025/03/03 13:11:13 [Info] [2896896622] proxy/vless/outbound: tunneling request to tcp:alive.github.com:443 via dp.370631.xyz:443

服务器端错误日志:

// 在这里附上服务器端日志

客户端错误日志:

// 在这里附上客户端日志

请附上访问日志

// 在这里附上服务器端日志

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

如果 V2Ray 无法启动,请附上 --test 命令的输出

如果 V2Ray 服务运行异常,请附上 journal 日志

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions