v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

`Unable to Read Header Len > read tcp` 这个是什么原因导致到的呢

Open zhang-shengping opened this issue 2 years ago • 0 comments

我的 client 是个 Mac,v2ray 版本是:

➜  v2ray-macos-64 ./v2ray -version
V2Ray 4.31.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.15.2 darwin/amd64)
A unified platform for anti-censorship.

使用 v2ray 连接时好时坏,但是每次连不上的时候都会遇到这个提示, Unable to Read Header Len > read tcp

网上查了很多,有的人说是 NTP server。我配置完 client,server NTP 还是会时好时坏。

2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/proxy/socks: TCP Connect request to tcp:clients2.google.com:443
2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/app/dispatcher: default route for tcp:clients2.google.com:443
2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:104.172.158.245:29999
2022/05/09 16:34:20 tcp:127.0.0.1:49573 accepted tcp:clients2.google.com:443 [proxy-server]
2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:clients2.google.com:443 via tcp:104.172.158.245:29999
2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > v2ray.com/core/proxy/vmess/outbound: failed to read header > v2ray.com/core/proxy/vmess/encoding: Unable to Read Header Len > read tcp 172.18.154.70:49574->104.172.158.245:29999: read: connection reset by peer
2022/05/09 16:34:20 [Info] [3938352351] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > v2ray.com/core/proxy/socks: failed to transport all TCP response > io: read/write on closed pipe

Unable to Read Header Len > read tcp 这个提示到底是什么意思,为什么会这样呢?

zhang-shengping avatar May 09 '22 08:05 zhang-shengping