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

v2ray新增一个专门供webview代理的路由,出现问题【网页加载进度正常,但是提示加载完毕后显示黑屏】

Open UniqueSilence opened this issue 1 year ago • 1 comments

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

iOS端: Lib v26, Xray-core v1.8.6

2,你的使用场景是什么? Vmess webview (app内实现某些网页例如Youtube网页或小程序的访问)

3,你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) webview代理方法正常被调用: 加载进度0-1正常显示,开始加载和加载完成都显示。但是页面从白屏到黑屏。 通过抓包看到response:{"error" : "no user auth"},然后我又添加了了 challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust 的无条件验证逻辑,结果还是一样黑屏。

4,你期待看到的正确表现是怎样的? 正常网页:网页正常加载内容显示。

5,请附上你的配置 客户端配置: { "routing" : { "domainStrategy" : "IPIfNonMatch", "rules" : [ { "inboundTag" : "socks", "ip" : [ "1.1.1.1" ], "outboundTag" : "proxy", "port" : "53", "type" : "field" }, { "inboundTag" : "in_proxy_webview", "domain" : [

    ],
    "type" : "field",
    "outboundTag" : "proxy"
  },
  {
    "inboundTag" : "in_proxy_webview",
    "type" : "field",
    "ip" : [
   
    ],
    "outboundTag" : "proxy"
  },
  {
    "inboundTag" : "in_proxy_webview",
    "outboundTag" : "direct",
    "type" : "field"
  }
]

}, "inbounds" : [ { "sniffing" : { "destOverride" : [ "http", "tls" ], "enabled" : true }, "listen" : "127.0.0.1", "protocol" : "socks", "settings" : { "accounts" : [ { "pass" : "xxxx", "user" : "xxxx" } ], "auth" : "password", "udp" : true, "userLevel" : 8 }, "tag" : "socks", "port" : 5537 }, { "sniffing" : { "destOverride" : [ "http", "tls" ], "enabled" : true }, "listen" : "127.0.0.1", "protocol" : "socks", "settings" : { "auth" : "noauth", "udp" : true }, "tag" : "in_proxy_webview", "port" : 5538 } ], "dns" : { "hosts" : {

},
"servers" : [
  "1.1.1.1",
  "8.8.8.8"
]

}, "log" : { "loglevel" : "debug" }, "outbounds" : [ { "mux" : { "concurrency" : 8, "enabled" : false }, "protocol" : "vmess", "settings" : { "vnext" : [ { "address" : "10.8.2.22", "users" : [ { "flow" : "", "id" : "678d20997-aaaa-4270-xxxx-2c1d7a309061", "level" : 8, "security" : "auto", "encryption" : "auto" } ], "port" : 8446 } ] }, "streamSettings" : { "wsSettings" : { "headers" : { "Host" : "cok.cdq.cn" }, "path" : "/book/" }, "security" : "tls",

    "tlsSettings" : {
      "serverName" : "cok.cdq.cn",
      "allowInsecure" : false,
      "fingerprint" : "chrome"
    },
    "network" : "ws"
  },
  "tag" : "proxy"
},
{
  "protocol" : "freedom",
  "settings" : {

  },
  "tag" : "direct"
},
{
  "protocol" : "blackhole",
  "settings" : {
    "response" : {
      "type" : "http"
    }
  },
  "tag" : "block"
},
{
  "mux" : {
    "concurrency" : 8,
    "enabled" : false
  },
  "protocol" : "vmess",
  "settings" : {
    "vnext" : [
      {
        "address" : "12.29.3.22",
        "users" : [
          {
            "flow" : "",
            "id" : "052043f0-aaaa-4efe-xxxx-8db45335b966",
            "level" : 8,
            "security" : "auto",
            "encryption" : "auto"
          }
        ],
        "port" : 443
      }
    ]
  },
  "streamSettings" : {
    "wsSettings" : {
      "headers" : {
        "Host" : "api.ady.com"
      },
      "path" : "\/api\/"
    },
    "security" : "tls",
    "tlsSettings" : {
      "serverName" : "api.ady.com",
      "allowInsecure" : false,
      "fingerprint" : "chrome"
    },
    "network" : "ws"
  },
  "tag" : "out_proxy_webview"
}

] }

客户端日志:

[Info] [3925060309] proxy/socks: TCP Connect request to tcp:youtube.miniApp.net:43 2025/03/05 03:51:57 Not Using Prepared: tcp,25.34.81.27:43 2025-03-05 11:51:57.458031+0800 TG[21971:1162830] [os_log] 2025/03/05 03:51:57 Not Using Prepared: tcp,25.34.81.27:43 [Info] [3925060309] app/dispatcher: sniffed domain: youtube.miniApp.net [Info] [3925060309] app/dispatcher: taking detour [out_proxy_webview] for [tcp:youtube.miniApp.net:43] [Info] [3925060309] transport/internet/websocket: creating connection to tcp:25.34.81.27:43 tcp:127.0.0.1:61467 accepted tcp:youtube.miniApp.net:43 [in_proxy_webview -> out_proxy_webview] [Info] [3925060309] proxy/vmess/outbound: tunneling request to tcp:youtube.miniApp.net:43 via 25.34.81.27:43 Web加载进度:0.5 2025-03-05 11:51:58.911217+0800 TG[21971:1152193] [] nw_path_necp_check_for_updates Failed to copy updated result (22) [Info] [2789576636] proxy/socks: TCP Connect request to tcp:youtube.miniApp.net:43 [Info] [2789576636] app/dispatcher: sniffed domain: youtube.miniApp.net [Info] [2789576636] app/dispatcher: taking detour [out_proxy_webview] for [tcp:youtube.miniApp.net:43] [Info] [2789576636] transport/internet/websocket: creating connection to tcp:25.34.81.27:43 tcp:127.0.0.1:61469 accepted tcp:youtube.miniApp.net:43 [in_proxy_webview -> out_proxy_webview] 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43 2025-03-05 11:51:58.915833+0800 TG[21971:1162827] [os_log] 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43

[Info] [3621393782] proxy/socks: TCP Connect request to tcp:youtube.miniApp.net:43 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43 2025-03-05 11:51:58.926657+0800 TG[21971:1162827] [os_log] 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43 [Info] [3621393782] app/dispatcher: sniffed domain: youtube.miniApp.net [Info] [3621393782] app/dispatcher: taking detour [out_proxy_webview] for [tcp:youtube.miniApp.net:43] [Info] [3621393782] transport/internet/websocket: creating connection to tcp:25.34.81.27:43 [Info] [1701726243] proxy/socks: TCP Connect request to tcp:youtube.miniApp.net:43 tcp:127.0.0.1:61471 accepted tcp:youtube.miniApp.net:43 [in_proxy_webview -> out_proxy_webview] [Info] [1701726243] app/dispatcher: sniffed domain: youtube.miniApp.net [Info] [1701726243] app/dispatcher: taking detour [out_proxy_webview] for [tcp:youtube.miniApp.net:43] [Info] [1701726243] transport/internet/websocket: creating connection to tcp:25.34.81.27:43 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43 tcp:127.0.0.1:61472 accepted tcp:youtube.miniApp.net:43 [in_proxy_webview -> out_proxy_webview] 2025-03-05 11:51:58.927082+0800 TG[21971:1162831] [os_log] 2025/03/05 03:51:58 Not Using Prepared: tcp,25.34.81.27:43 [Info] [2916524183] proxy/socks: TCP Connect request to tcp:112.242.185.131:43 [Info] [2273272910] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [731451971] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2916524183] app/dispatcher: default route for tcp:112.242.185.131:43 [Info] [2916524183] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:51:59.296994+0800 TG[21971:1162830] [os_log] 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61475 accepted tcp:112.242.185.131:43 [socks >> proxy] tcp:127.0.0.1:61476 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:51:59.297559+0800 TG[21971:1162834] [os_log] 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 [Info] [2273272910] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2273272910] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:51:59.297963+0800 TG[21971:1162833] [os_log] 2025/03/05 03:51:59 Not Using Prepared: tcp,10.8.2.2:846 [Info] [731451971] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [731451971] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 tcp:127.0.0.1:61477 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [1701726243] proxy/vmess/outbound: tunneling request to tcp:youtube.miniApp.net:43 via 25.34.81.27:43 [Info] [3621393782] proxy/vmess/outbound: tunneling request to tcp:youtube.miniApp.net:43 via 25.34.81.27:43 [Info] [2789576636] proxy/vmess/outbound: tunneling request to tcp:youtube.miniApp.net:43 via 25.34.81.27:43 [Info] [2916524183] proxy/vmess/outbound: tunneling request to tcp:112.242.185.131:43 via 10.8.2.2:846 [Info] [2273272910] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [731451971] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2916524183] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1000 (normal) > proxy/vmess/encoding: Unable to Read Header Len > websocket: close 1000 (normal) [Info] [2916524183] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [2273272910] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [731451971] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [731451971] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe

[Info] [715807957] proxy/socks: TCP Connect request to tcp:28.243.26.146:43 [Info] [2686440187] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [3048567442] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.166345+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.166527+0800 TG[21971:1162834] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.166673+0800 TG[21971:1162829] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61483 accepted tcp:28.243.26.146:43 [socks >> proxy] tcp:127.0.0.1:61484 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61482 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [715807957] app/dispatcher: default route for tcp:28.243.26.146:43 [Info] [715807957] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [2686440187] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2686440187] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [3048567442] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [3048567442] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [1837092346] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2676533162] proxy/socks: TCP Connect request to tcp:28.243.26.146:43 [Info] [1373635262] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2676533162] app/dispatcher: default route for tcp:28.243.26.146:43 [Info] [2676533162] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.454467+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61488 accepted tcp:28.243.26.146:43 [socks >> proxy] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.454579+0800 TG[21971:1162834] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 [Info] [1837092346] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [1837092346] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:10.454810+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:10 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61489 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61490 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [1373635262] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [1373635262] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [3048567442] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2686440187] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [1837092346] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [715807957] proxy/vmess/outbound: tunneling request to tcp:28.243.26.146:43 via 10.8.2.2:846 vpn========= 网络检测。。。。。。Ping:1316 毫秒

[Info] [1373635262] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [715807957] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [715807957] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [2676533162] proxy/vmess/outbound: tunneling request to tcp:28.243.26.146:43 via 10.8.2.2:846 [Info] [2676533162] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2676533162] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe 2025-03-05 11:52:11.846903+0800 TG[21971:1151885] Input stream 为 nil,或者已经closed 2025-03-05 11:52:11.847321+0800 TG[21971:1151426] modelData:(null) ====== [Info] [3048567442] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [2686440187] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2686440187] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [1837092346] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [1373635262] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [1373635262] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [862908743] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1006 (abnormal closure): unexpected EOF [Info] [862908743] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [3252699668] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [3252699668] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [3252699668] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 tcp:127.0.0.1:61497 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025/03/05 03:52:19 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:19.775874+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:19 Not Using Prepared: tcp,10.8.2.2:846 [Info] [3252699668] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [402722082] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [1712245803] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2795278827] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [1712245803] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [1712245803] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:21.863226+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61499 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:21.863431+0800 TG[21971:1162816] [os_log] 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 [Info] [402722082] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [402722082] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:21.863783+0800 TG[21971:1162833] [os_log] 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61500 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61501 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [2795278827] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2795278827] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:21 fdConn FileConn Close Fd: 98 Err: file file+net Socket: bad file descriptor 2025-03-05 11:52:21.990736+0800 TG[21971:1162829] [os_log] 2025/03/05 03:52:21 fdConn FileConn Close Fd: 98 Err: file file+net Socket: bad file descriptor 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:21.990989+0800 TG[21971:1162829] [os_log] 2025/03/05 03:52:21 Not Using Prepared: tcp,10.8.2.2:846 [Error] transport/internet/websocket: failed to dial to 10.8.2.2:846 > file file+net Socket: bad file descriptor [Info] [402722082] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [1712245803] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [402722082] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 vpn========= 网络检测。。。。。。Ping:731 毫秒 [Info] [1712245803] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [402722082] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [402722082] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [2795278827] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2795278827] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe

2025-03-05 11:52:33.057088+0800 TG[21971:1163176] ➤ 💚 [Debug]->AppProxyManager:126 开始连接VPN代理 ======= 节点跟服务的探测开始 [Info] [4194312560] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [1173476838] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2998196399] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [1173476838] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [4194312560] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [4194312560] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [1173476838] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61508 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61507 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025-03-05 11:52:33.069476+0800 TG[21971:1162829] [os_log] 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 [Info] [2998196399] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2998196399] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025-03-05 11:52:33.069603+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61509 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:33.069840+0800 TG[21971:1162834] [os_log] 2025/03/05 03:52:33 Not Using Prepared: tcp,10.8.2.2:846 [Info] [4194312560] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2998196399] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [1173476838] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846

[Info] [203426502] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [3801503944] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2223017175] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [203426502] app/dispatcher: default route for tcp:1.18.6.15:43 tcp:127.0.0.1:61516 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [203426502] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:43.864140+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61514 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [3801503944] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [3801503944] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:43.864340+0800 TG[21971:1162834] [os_log] 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:43.864862+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:43 Not Using Prepared: tcp,10.8.2.2:846 [Info] [2223017175] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2223017175] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 tcp:127.0.0.1:61515 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [3801503944] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [203426502] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2223017175] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [712526260] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [4086532066] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2355041935] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2355041935] app/dispatcher: default route for tcp:1.18.6.15:43 tcp:127.0.0.1:61523 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61521 accepted tcp:1.18.6.15:43 [socks >> proxy] tcp:127.0.0.1:61522 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [712526260] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [2355041935] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [712526260] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 [Info] [4086532066] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [4086532066] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025-03-05 11:52:45.460546+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:45.460704+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:45.461112+0800 TG[21971:1162833] [os_log] 2025/03/05 03:52:45 Not Using Prepared: tcp,10.8.2.2:846 [Info] [4086532066] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [712526260] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [3801503944] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [203426502] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [2223017175] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2223017175] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [2355041935] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [712526260] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [4086532066] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [4086532066] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [2355041935] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2355041935] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe 检测当前代理是否通畅:127.0.0.1 ====60495 2025-03-05 11:52:55.441849+0800 TG[21971:1163349] ➤ 💚 [Debug]->AppProxyManager:126 开始连接VPN代理 ======= 节点跟服务的探测开始 [Info] [2259916948] proxy/socks: TCP Connect request to tcp:192.88.149.131:43 [Info] [2729271044] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [1733999512] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [2259916948] app/dispatcher: default route for tcp:192.88.149.131:43 [Info] [2259916948] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [2729271044] app/dispatcher: default route for tcp:1.18.6.15:43 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 [Info] [2729271044] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 tcp:127.0.0.1:61527 accepted tcp:192.88.149.131:43 [socks >> proxy] tcp:127.0.0.1:61528 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025-03-05 11:52:55.454613+0800 TG[21971:1162816] [os_log] 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61529 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025-03-05 11:52:55.454725+0800 TG[21971:1162830] [os_log] 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 [Info] [1733999512] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [1733999512] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:52:55.455081+0800 TG[21971:1162831] [os_log] 2025/03/05 03:52:55 Not Using Prepared: tcp,10.8.2.2:846 [Info] [1733999512] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2729271044] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [2259916948] proxy/vmess/outbound: tunneling request to tcp:192.88.149.131:43 via 10.8.2.2:846 [Info] [2259916948] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2259916948] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [1733999512] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [2729271044] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [2729271044] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe 2025-03-05 11:52:57.205902+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=LAST_ACK rcv_nxt=4127208352, snd_una=3876851430 2025-03-05 11:52:57.206416+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=CLOSED rcv_nxt=4127208352, snd_una=3876851430 2025-03-05 11:52:57.206656+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=CLOSED rcv_nxt=4127208352, snd_una=3876851430 2025-03-05 11:52:57.206904+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=CLOSED rcv_nxt=4127208352, snd_una=3876851430 2025-03-05 11:52:57.207259+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=CLOSED rcv_nxt=4127208352, snd_una=3876851430 2025-03-05 11:52:57.208016+0800 TG[21971:1163428] [tcp] tcp_input [C248.1.1.1:3] flags=[R] seq=4127208352, ack=0, win=0 state=CLOSED rcv_nxt=4127208352, snd_una=3876851430 检测当前代理是否通畅:127.0.0.1 ====60495 2025-03-05 11:53:06.273264+0800 TG[21971:1163350] ➤ 💚 [Debug]->AppProxyManager:126 开始连接VPN代理 ======= 节点跟服务的探测开始 [Info] [4228336642] proxy/socks: TCP Connect request to tcp:112.192.185.5:43 [Info] [1157987353] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [3111953207] proxy/socks: TCP Connect request to tcp:1.18.6.15:43 [Info] [4228336642] app/dispatcher: default route for tcp:112.192.185.5:43 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 [Info] [4228336642] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 [Info] [1157987353] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [1157987353] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025-03-05 11:53:06.285458+0800 TG[21971:1162831] [os_log] 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61534 accepted tcp:112.192.185.5:43 [socks >> proxy] tcp:127.0.0.1:61535 accepted tcp:1.18.6.15:43 [socks >> proxy] [Info] [3111953207] app/dispatcher: default route for tcp:1.18.6.15:43 [Info] [3111953207] transport/internet/websocket: creating connection to tcp:10.8.2.2:846 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:53:06.285610+0800 TG[21971:1162830] [os_log] 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 tcp:127.0.0.1:61536 accepted tcp:1.18.6.15:43 [socks >> proxy] 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 2025-03-05 11:53:06.285835+0800 TG[21971:1162816] [os_log] 2025/03/05 03:53:06 Not Using Prepared: tcp,10.8.2.2:846 [Info] [3111953207] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via 10.8.2.2:846 [Info] [4228336642] proxy/vmess/outbound: tunneling request to tcp:112.192.185.5:43 via 10.8.2.2:846 [Info] [4228336642] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [4228336642] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe [Info] [1157987353] proxy/vmess/outbound: tunneling request to tcp:1.18.6.15:43 via "10.1.2.2":8446 vpn========= 网络检测。。。。。。Ping:913 毫秒 [Info] [3111953207] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled [Info] [1157987353] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal) [Info] [1157987353] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe Web加载进度:0.9 Web加载进度:1.0 网页加载完毕

备注:项目已经是实现了v2ray的代理操作,实现TG的信息收发。现在是要对webview实现【in_proxy_webview -> out_proxy_webview】的路由代理出现正常工作。

UniqueSilence avatar Mar 05 '25 05:03 UniqueSilence

iOS客户端,日志有点多,为了能够尽可能多保有其中请求的日志。 android实现同样业务功能的v2ray配置是正常的。 请问,iOS端v2ray配置有2个入站口,都是127.0.0.1,但是端口不一样,是需要与127.0.0.1下的这两个port建立两个socket连接吗? 之前项目中实现消息正常收发的功能,是先实现的TG的连接,连接成功后,然后进行的v2ray的配置。

UniqueSilence avatar Mar 05 '25 05:03 UniqueSilence

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

github-actions[bot] avatar Aug 30 '25 02:08 github-actions[bot]