2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
64.22k stars 10.9k forks source link

[Bug]: 电脑能上网,但不能走socks5代理? #5184

Closed XGCoder closed 3 weeks ago

XGCoder commented 1 month ago

大佬你好, 感谢你开发了这个工具, 但现在我这边不知道是配置问题还是我电脑哪里设置问题,导致指纹浏览器不能走socks5代理

预期情况

在指纹浏览器里配置 socks5代理 走 127.0.0.1:10808 应该能正常访问

实际情况

电脑上打开软件科学上网后能打开Google, 不管怎么修改路由和模式都是正常的状态, 当打开AdsPower指纹浏览器的时候代理只能设置直连, 不能设置socks5代理

节点是使用的第三方付费订阅与自搭建的都一样结果, 节点中 日本 美区 新加坡 等多个节点地址都进行尝试,都不行

image image image image image

复现方法

不知道什么原因导致的, 直接打开指纹浏览器就不行, 把V2关了 测试网络代理也不行 (第三方ip,确定可用),不知道我电脑哪里设置的不对或者 软件哪个开关导致的?

日志信息

这是部分日志

2024/06/03 23:46:36 127.0.0.1:14266 accepted //waa-pa.clients6.google.com:443 [http -> proxy] 2024/06/03 23:46:36 127.0.0.1:14268 accepted //play.google.com:443 [http -> proxy] 2024/06/03 23:46:37 127.0.0.1:14271 accepted //ogs.google.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14273 accepted //www.gstatic.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14275 accepted //lh3.googleusercontent.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14277 accepted //fonts.gstatic.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14279 accepted //play.google.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14281 accepted //play.google.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14280 accepted //play.google.com:443 [http -> proxy] 2024/06/03 23:46:38 127.0.0.1:14285 accepted //ai.immersivetranslate.com:443 [http -> proxy] 2024/06/03 23:46:40 127.0.0.1:14287 accepted //mtalk.google.com:5228 [http -> proxy] 2024/06/03 23:46:42 [Warning] [3363490507] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://cnnd-1.akyjp.cloud:40009/images): > unexpected EOF transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://cnnd-1.akyjp.cloud:40009/images): > dial tcp: lookup cnnd-1.akyjp.cloud: operation was canceled] > common/retry: all retry attempts failed 2024/06/03 23:46:42 [Warning] [3488918302] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://cnnd-1.akyjp.cloud:40009/images): > unexpected EOF transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://cnnd-1.akyjp.cloud:40009/images): > dial tcp: lookup cnnd-1.akyjp.cloud: operation was canceled] > common/retry: all retry attempts failed 2024/06/03 23:46:45 127.0.0.1:14289 accepted http://xxxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:46:48 [Warning] [1432128297] proxy/http: failed to read response from xxxxx:21114 > io: read/write on closed pipe 2024/06/03 23:46:50 127.0.0.1:14302 accepted //clients4.google.com:443 [http -> proxy] 2024/06/03 23:46:58 127.0.0.1:14304 accepted https://tpstelemetry.tencent.com/v1/metrics [http -> proxy] 2024/06/03 23:47:03 127.0.0.1:14306 accepted http://xxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:47:03 [Warning] [571050397] proxy/http: failed to read response from xxxx:21114 > io: read/write on closed pipe 2024/06/03 23:47:21 127.0.0.1:14320 accepted http://xxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:47:21 [Warning] [2670473529] proxy/http: failed to read response from xxxx:21114 > io: read/write on closed pipe 2024/06/03 23:47:32 127.0.0.1:14323 accepted https://api-global.adspower.net/client/shell-config/get?key=SHELL_CONFIG [http -> proxy] 2024/06/03 23:47:32 127.0.0.1:14325 accepted http://127.0.0.1:20725/api/getVersion [http -> proxy] 2024/06/03 23:47:33 [Warning] [3619747380] proxy/http: failed to read response from 127.0.0.1:20725 > io: read/write on closed pipe 2024/06/03 23:47:36 127.0.0.1:14327 accepted http://xxxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:47:37 [Warning] [392179885] proxy/http: failed to read response from xxxxx:21114 > io: read/write on closed pipe 2024/06/03 23:47:39 127.0.0.1:14330 accepted http://xxxx:21114/api/sysinfo [http -> proxy] 2024/06/03 23:47:40 [Warning] [1714515713] proxy/http: failed to read response from xxxx8:21114 > io: read/write on closed pipe 2024/06/03 23:47:43 127.0.0.1:14332 accepted http://127.0.0.1:20725/api/getVersion [http -> proxy] 2024/06/03 23:47:43 [Warning] [4188567288] proxy/http: failed to read response from 127.0.0.1:20725 > io: read/write on closed pipe 2024/06/03 23:47:44 127.0.0.1:14334 accepted https://api-global.adspower.net/client/sys-client-version/get-version?version=v2.7.1.2&is_self_refresh=1 [http -> proxy] 2024/06/03 23:47:51 127.0.0.1:14347 accepted http://xxxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:47:51 [Warning] [1179360798] proxy/http: failed to read response from xxxxx:21114 > io: read/write on closed pipe 2024/06/03 23:47:53 127.0.0.1:14349 accepted http://127.0.0.1:20725/api/getVersion [http -> proxy] 2024/06/03 23:47:58 127.0.0.1:14351 accepted https://logger.adspower.net/api/robotlog [http -> proxy] 2024/06/03 23:47:58 127.0.0.1:14353 accepted https://tpstelemetry.tencent.com/v1/metrics [http -> proxy] 2024/06/03 23:48:01 [Warning] [2415437527] proxy/http: failed to read response from 127.0.0.1:20725 > io: read/write on closed pipe 2024/06/03 23:48:09 127.0.0.1:14357 accepted http://xxxxx:21114/api/heartbeat [http -> proxy] 2024/06/03 23:48:10 [Warning] [574672445] proxy/http: failed to read response from xxxxx:21114 > io: read/write on closed pipe 2024/06/03 23:48:11 127.0.0.1:14359 accepted http://127.0.0.1:20725/api/getVersion [http -> proxy] 2024/06/03 23:48:12 [Warning] [3405310221] proxy/http: failed to read response from 127.0.0.1:20725 > io: read/write on closed pipe

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

Lsyx-Good commented 1 month ago

直接使用chrome浏览器是否可以连接,不使用ads

XGCoder commented 1 month ago

直接使用chrome浏览器是否可以连接,不使用ads

你好, 直接使用Chrome 可以正常连接, 就是不能在ads中使用socks5代理,

Lsyx-Good commented 1 month ago

你ads选用的浏览器是google不是firefox?

XGCoder commented 1 month ago

你ads选用的浏览器是google不是firefox?

是的 使用的Google内核版本, 正常逻辑来讲 这个应该没什么影响吧

Lsyx-Good commented 1 month ago

在配置了代理之后,在本地网络点击检查网络之后,ads有产生日志嘛

XGCoder commented 1 month ago

在配置了代理之后,在本地网络点击检查网络之后,ads有产生日志嘛

你好,刚刚看到日志比较多就重新清理了之后,重启再次点击 "检查网络" 日志如下 ( 图片文字内容一样 )

日志

[2024-06-04T15:59:00.764] [INFO] open - version v2.7.1.2 x64 [2024-06-04T15:59:00.765] [INFO] open - listening on port 20725 [2024-06-04T15:59:00.766] [INFO] open - use data floder C:.ADSPOWER_GLOBAL [2024-06-04T15:59:03.882] [INFO] open - [request] catch err: Error: Request failed with status code 400 [2024-06-04T15:59:03.973] [INFO] open - [request] catch err: Error: Request failed with status code 400 [2024-06-04T15:59:04.389] [INFO] open - [request] catch err: Error: Request failed with status code 400 [2024-06-04T15:59:05.891] [INFO] open - [request] catch err: Error: Request failed with status code 400 [2024-06-04T15:59:06.785] [INFO] open - [LocalAPI] listening port 50325 [2024-06-04T15:59:06.798] [INFO] open - line-/! RPA v1.7.1 / [2024-06-04T15:59:07.379] [INFO] open - [LocalAPI] BaseModel request, url: https://api-global.adspower.net/, path: client/shell-config/get?key=SHELL_CONFIG, method: get [2024-06-04T15:59:07.379] [ERROR] open - [LocalAPI] BaseModel request error, path: client/shell-config/get?key=SHELL_CONFIG, error: {"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at e.exports (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:80376)\n at e.exports (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:82404)\n at IncomingMessage. (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:75731)\n at IncomingMessage.emit (node:events:539:35)\n at endReadableNT (node:internal/streams/readable:1345:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","config":{"url":"https://api-global.adspower.net/client/shell-config/get?key=SHELL_CONFIG","method":"get","params":{},"headers":{"Accept":"application/json, text/plain, /","login-token":"89a9084b10e54a972e19513c1924c7f7","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) adspower_global/6.5.28 Chrome/104.0.5112.124 Electron/20.3.0 Safari/537.36 isGlobal adspower/6.5.28","host":"api-global.adspower.net"},"transformRequest":[null],"transformResponse":[null],"timeout":30000,"withCredentials":true,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"cancelToken":{"promise":{}},"data":""}} [2024-06-04T15:59:07.396] [INFO] open - [LocalAPI] BaseModel request, url: https://api-global.adspower.net/, path: sys/user/profile/get-login-info?_local_api=adspower, method: get [2024-06-04T15:59:07.397] [ERROR] open - [LocalAPI] BaseModel request error, path: sys/user/profile/get-login-info?_local_api=adspower, error: {"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at e.exports (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:80376)\n at e.exports (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:82404)\n at IncomingMessage. (C:\Users\XGCoder\AppData\Roaming\adspower_global\cwd_global\lib\bundles.min.js:2:75731)\n at IncomingMessage.emit (node:events:539:35)\n at endReadableNT (node:internal/streams/readable:1345:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","config":{"url":"https://api-global.adspower.net/sys/user/profile/get-login-info?_local_api=adspower","method":"get","params":{},"headers":{"Accept":"application/json, text/plain, /","login-token":"89a9084b10e54a972e19513c1924c7f7","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) adspower_global/6.5.28 Chrome/104.0.5112.124 Electron/20.3.0 Safari/537.36 isGlobal adspower/6.5.28","host":"api-global.adspower.net"},"transformRequest":[null],"transformResponse":[null],"timeout":30000,"withCredentials":true,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"cancelToken":{"promise":{}},"data":""}} [2024-06-04T15:59:09.210] [INFO] open - [{"key":"gpu_switch","value":"{\"gpu_switch\":\"1\"}","update_time":1717428938}] [2024-06-04T15:59:09.211] [INFO] open - [{"key":"renderer_accessibility","value":"{\"renderer_accessibility\":\"0\"}","update_time":1717428938}] [2024-06-04T15:59:09.219] [INFO] open - [{"key":"window_position","value":"{\"window_position\":\"topLeft\"}","update_time":1717428938}] [2024-06-04T15:59:09.222] [INFO] open - data.cache_space: 2048 [2024-06-04T15:59:09.223] [INFO] open - [{"key":"cache_backup","value":"{\"cache_backup\":\"0\"}","update_time":1717428938}]

Lsyx-Good commented 1 month ago

通过代理管理进行设置,然后在配置的时候选择已经保存的代理是否可行,或者尝试http proxy是否可行?都不行的话,就不清楚了 image image

XGCoder commented 1 month ago

通过代理管理进行设置,然后在配置的时候选择已经保存的代理是否可行,或者尝试http proxy是否可行?都不行的话,就不清楚了 image image

"通过代理管理进行设置,然后在配置的时候选择已经保存的代理" 这样的逻辑试过不行, http代理等会回去试下

XGCoder commented 1 month ago

测试了下 都不太行 ...

sl179 commented 1 month ago

经过 测试 是可行. image image

XGCoder commented 1 month ago

经过 测试 是可行. image image

我也见了好些人的都是这样设置的, 我的确实不行 都郁闷的 不知道我本地哪里设置的不对还是啥东西一直占坑

sl179 commented 1 month ago

经过 测试 是可行. image image

我也见了好些人的都是这样设置的, 我的确实不行 都郁闷的 不知道我本地哪里设置的不对还是啥东西一直占坑

从日志 分析,adspower api 获取ip以及关联的状态 失败, 故它客户端 检查失败。 比如 http://xxxxx:21114/api/heartbeat 日志提示 io: read/write on closed pipe,这为中断提示。

Request failed with status code 400 为 特定的异常状态码,当 “你访问的页面域名不存在或者请求错误”

Lsyx-Good commented 1 month ago

注意到之前的shellconfig是失败的,直接使用chrome浏览器(不通过ads),访问 shellconfig 是否正常,访问之前先确保浏览器可以访问Youtube或者Google

XGCoder commented 1 month ago

电脑能上Google 加载这个网址也能正常访问,所以问题还是在我本地哪里设置的有问题

image

XGCoder commented 3 weeks ago

经过各种方法多次尝试都不行, 昨晚重装了系统解决 ...