v2ray / discussion

For general discussion over Project V development and usage.
298 stars 34 forks source link

v2ray win端断流 #464

Closed jason-odd closed 4 years ago

jason-odd commented 4 years ago

v2ray版本:2.22+4.18内核 用的别人的2个机场 pac和全局都断流 改了v2和win的 dns无效 没办法了 希望正常看youtube

]帮忙看看吧

kslr commented 4 years ago

你先排个版,添加上日志

jason-odd commented 4 years ago

您正在使用哪个版本的V2Ray?(如果服务器和客户端使用了不同版本,请注明) 客户端v.2.53 无服务端用的机场 core最新 使用Chrome通过Socks / VMess代理观看YouTube视频。 你看到的不正常的现象是什么?(请描述具体现象,某些访问超时,TLS证书错误等) 刚打开工具不断流 用一段时间断流 你期待看到的正确表现是怎样的? 不断流打开网页流畅看视频 请附上你的配置(提交问题前请隐藏服务器端IP地址)。

{
  "policy": null,
  "log": {
    "access": "",
    "error": "",
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "proxy",
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "ip": null,
        "address": null,
        "clients": null
      },
      "streamSettings": null
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "xxxxxx",
            "port": 589,
            "users": [
              {
                "id": "xxxxxx-xxxx-ECF4-5841-7D14A362BEC7",
                "alterId": 1,
                "email": "t@t.tt",
                "security": "auto"
              }
            ]
          }
        ],
        "servers": null,
        "response": null
      },
      "streamSettings": {
        "network": "ws",
        "security": null,
        "tlsSettings": null,
        "tcpSettings": null,
        "kcpSettings": null,
        "wsSettings": {
          "connectionReuse": true,
          "path": "/",
          "headers": {
            "Host": "play.itunes.apple.com"
          }
        },
        "httpSettings": null,
        "quicSettings": null
      },
      "mux": {
        "enabled": true
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {
        "vnext": null,
        "servers": null,
        "response": null
      },
      "streamSettings": null,
      "mux": null
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "vnext": null,
        "servers": null,
        "response": {
          "type": "http"
        }
      },
      "streamSettings": null,
      "mux": null
    }
  ],
  "stats": null,
  "api": null,
  "dns": null,
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
      {
        "type": "field",
        "port": null,
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "ip": null,
        "domain": null

断流的一瞬间v2日志没响应

2019/12/14 14:37:25 tcp:127.0.0.1:58514 accepted tcp:r4---sn-i3b7kn7r.googlevideo.com:443 [proxy] 2019/12/14 14:37:25 tcp:127.0.0.1:58515 accepted tcp:r4---sn-i3b7kn7r.googlevideo.com:443 [proxy]

jason-odd commented 4 years ago

@kslr 小白 排版不清楚 能凑合看看吗?...

kslr commented 4 years ago

play.itunes.apple.com 这个是你的机场要求写的吗,从你日志里什么也没有

jason-odd commented 4 years ago

play.itunes.apple.com 这个是你的机场要求写的吗,从你日志里什么也没有

不是 这是默认的文本 我没动 这是断流原因吗?应该写什么?还请指点 如果配置没问题有什么其他的可能

jason-odd commented 4 years ago

@kslr 有时间麻烦回复

kslr commented 4 years ago

没有日志我没有要说的,要不然换一家机场

jason-odd commented 4 years ago

我日志设置为了debug了 有日志了 帮忙看看吧

2019/12/14 18:57:38 tcp:127.0.0.1:53226 accepted tcp:ct.pinterest.com:443 [proxy] 2019/12/14 18:57:49 [Info] [3883899784] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:57:49 [Info] [3883899784] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:57:52 [Info] [1148511439] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:57:52 [Info] [1148511439] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:57:56 [Info] [3789018827] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:57:56 [Info] [3789018827] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [1885299936] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [1885299936] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [569527311] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [569527311] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [2112722808] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [2112722808] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [2784979272] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [1235711569] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [2784979272] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [1235711569] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:31 [Info] [2695888128] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:31 [Info] [2695888128] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:38 [Info] [2004711825] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:38 [Info] [2004711825] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:39 [Info] [3542051707] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:39 [Info] [3542051707] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:41 [Info] [84411810] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled 2019/12/14 18:58:41 [Info] [84411810] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 18:58:50 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe 2019/12/14 18:58:50 [Info] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) 2019/12/14 19:00:09 [Info] [1396943696] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53220: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [1396943696] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [2720511072] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53169: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [2720511072] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [120943020] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53224: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [120943020] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [4277506975] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53155: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [4277506975] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [2456028456] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53167: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [2456028456] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [1216024312] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53165: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [1216024312] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [1164727247] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53175: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [1164727247] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [2290751682] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53148: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:09 [Info] [2290751682] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe 2019/12/14 19:00:09 [Info] [1553153950] 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 request > read tcp 127.0.0.1:10808->127.0.0.1:53217: wsarecv: An existing connection was forcibly closed by the remote host. 2019/12/14 19:00:11 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe 2019/12/14 19:00:11 [Info] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) 2019/12/14 19:00:14 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe 2019/12/14 19:00:14 [Info] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) 2019/12/14 19:00:18 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe 2019/12/14 19:00:18 [Info] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: connection ends > websocket: close 1000 (normal)

jason-odd commented 4 years ago

@kslr 麻烦了 还是没有排版

kslr commented 4 years ago
  1. 关闭mux
  2. 加大 alterId
  3. 使用其他host
jason-odd commented 4 years ago

mux已关闭 alterid怎么修改 host怎么修改

DolorHunter commented 4 years ago

mux已关闭 alterid怎么修改 host怎么修改

三个都是在 config.json 里面改, 或者用三方有图形界面的软件改. 客户端的 alterID 要小于等于服务器上的 alterID.

github-actions[bot] commented 4 years ago

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