v2rayN icon indicating copy to clipboard operation
v2rayN copied to clipboard

[Bug]: 批量进行真连接延迟测试和速度测试异常,第一个节点显示“操作失败,请检查重试”,剩余节点无任何反应

Open ymqy0520 opened this issue 3 years ago • 2 comments

预期情况

正常测速并显示测速结果

实际情况

批量进行真连接延迟测试和速度测试异常,第一个节点显示“操作失败,请检查重试”,剩余节点无任何反应 具体显示: 初始化配置 启动服务(2022/11/4 16:43:30)... Xray 1.4.5 (Xray, Penetrates Everything.) Custom (go1.17.1 windows/amd64) A unified platform for anti-censorship. 2022/11/04 16:43:30 [Info] infra/conf/serial: Reading config: stdin:

Failed to start: main: failed to load config files: [stdin:] > infra/conf: failed to parse to outbound detour config. > json: cannot unmarshal number 65650 into Go struct field VMessOutboundTarget.vnext.port of type uint16

复现方法

进行v2fly-Core,SagerNet-Core,Xray-Core的更新,以及update clash-core和update clash.meta-core,update Geo file的更新, 使用ccleaner软件清理重复注册表

日志信息

2022-11-04 00:23:21,116 [18] DEBUG Log2 - System.Threading.Tasks.TaskCanceledException: 已取消一个任务。 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Base.HttpClientHelper.<GetAsync>d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Handler.DownloadHandle.<DownloadStringAsync>d__10.MoveNext() 2022-11-04 00:23:45,179 [11] INFO Log1 - UpdateTaskRun 2022-11-04 00:23:48,789 [20] DEBUG Log2 - 发送请求时出错。 2022-11-04 00:23:48,789 [20] DEBUG Log2 - System.Net.Http.HttpRequestException: 发送请求时出错。 ---> System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 69.30.25.21:443 在 System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) 在 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) 在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) 在 System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- 内部异常堆栈跟踪的结尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Base.HttpClientHelper.<GetAsync>d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Handler.DownloadHandle.<DownloadStringAsync>d__10.MoveNext() 2022-11-04 00:24:00,530 [13] DEBUG Log2 - 2022-11-04 00:24:00,530 [13] DEBUG Log2 - System.Exception 在 v2rayN.Handler.V2rayHandler.V2rayStartNew(String configStr) 2022-11-04 00:26:02,256 [1] INFO Log1 - MyAppExit Begin 2022-11-04 00:26:02,373 [1] INFO Log1 - MyAppExit End 2022-11-04 00:59:10,162 [1] INFO Log1 - v2rayN start up | v2rayN - V5.36 - 2022/09/20 | E:\Virtual Private Network\主流\v2rayN-Core\v2rayN.exe 2022-11-04 00:59:14,045 [4] DEBUG Log2 - 2022/11/04 00:59:13 Using default config: E:\Virtual Private Network\主流\v2rayN-Core\config.json

2022-11-04 00:59:14,045 [4] DEBUG Log2 - System.Exception: 2022/11/04 00:59:13 Using default config: E:\Virtual Private Network\主流\v2rayN-Core\config.json

在 v2rayN.Handler.V2rayHandler.V2rayStart() 2022-11-04 00:59:49,399 [19] DEBUG Log2 - 发送请求时出错。 2022-11-04 00:59:49,414 [19] DEBUG Log2 - System.Net.Http.HttpRequestException: 发送请求时出错。 ---> System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 157.240.17.36:443 在 System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) 在 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) 在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) 在 System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- 内部异常堆栈跟踪的结尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Base.HttpClientHelper.<GetAsync>d__5.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 v2rayN.Handler.DownloadHandle.<DownloadStringAsync>d__10.MoveNext() 2022-11-04 01:00:12,192 [11] INFO Log1 - UpdateTaskRun 2022-11-04 01:01:55,888 [1] INFO Log1 - MyAppExit Begin 2022-11-04 01:01:56,042 [1] DEBUG Log2 - 进程已退出,因此无法获得所请求的信息。 2022-11-04 01:01:56,042 [1] DEBUG Log2 - System.InvalidOperationException: 进程已退出,因此无法获得所请求的信息。 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 System.Diagnostics.Process.CloseMainWindow() 在 v2rayN.Handler.V2rayHandler.KillProcess(Process p) 2022-11-04 01:01:56,042 [1] INFO Log1 - MyAppExit End 2022-11-04 16:40:27,317 [1] INFO Log1 - v2rayN start up | v2rayN - V5.36 - 2022/09/20 | E:\VPN\popular\v2rayN-Core\v2rayN.exe 2022-11-04 16:40:34,321 [4] DEBUG Log2 - 2022/11/04 16:40:33 Using default config: E:\VPN\popular\v2rayN-Core\config.json

2022-11-04 16:40:34,322 [4] DEBUG Log2 - System.Exception: 2022/11/04 16:40:33 Using default config: E:\VPN\popular\v2rayN-Core\config.json

在 v2rayN.Handler.V2rayHandler.V2rayStart() 2022-11-04 16:41:16,071 [20] DEBUG Log2 - 2022-11-04 16:41:16,072 [20] DEBUG Log2 - System.Exception 在 v2rayN.Handler.V2rayHandler.V2rayStartNew(String configStr) 2022-11-04 16:41:24,970 [19] DEBUG Log2 - 2022-11-04 16:41:24,971 [19] DEBUG Log2 - System.Exception 在 v2rayN.Handler.V2rayHandler.V2rayStartNew(String configStr) 2022-11-04 16:41:30,911 [11] INFO Log1 - UpdateTaskRun 2022-11-04 16:41:34,829 [19] DEBUG Log2 - connect timeout (5s): by.xbygood.xyz 2022-11-04 16:41:34,829 [18] DEBUG Log2 - connect timeout (5s): by.xbygood.xyz 2022-11-04 16:41:34,830 [19] DEBUG Log2 - System.TimeoutException: connect timeout (5s): by.xbygood.xyz 在 v2rayN.Handler.SpeedtestHandler.GetTcpingTime(String url, Int32 port) 2022-11-04 16:41:34,831 [18] DEBUG Log2 - System.TimeoutException: connect timeout (5s): by.xbygood.xyz 在 v2rayN.Handler.SpeedtestHandler.GetTcpingTime(String url, Int32 port) 2022-11-04 16:43:30,655 [32] DEBUG Log2 - 2022-11-04 16:43:30,656 [32] DEBUG Log2 - System.Exception 在 v2rayN.Handler.V2rayHandler.V2rayStartNew(String configStr)

额外信息

No response

我确认已更新至最新版本

  • [X] 是

我确认已查询历史issues

  • [X] 是

ymqy0520 avatar Nov 04 '22 09:11 ymqy0520

是软件的问题吗? 3.29 5.36 5.37 都有

waxeh0043 avatar Nov 05 '22 08:11 waxeh0043

这种情况就是遇到了某个节点的配置严重错误了,v2rayN在测试时已经跳过部分能检测出问题的节点了。 但是还有比如加密方式不支持的,端口非法的,可以尝试只测试一两个节点先,然后去找下那个节点有问题

2dust avatar Nov 05 '22 11:11 2dust

总有一个节点无法测速

wqboy avatar Dec 03 '22 05:12 wqboy

这种情况就是遇到了某个节点的配置严重错误了,v2rayN在测试时已经跳过部分能检测出问题的节点了。 但是还有比如加密方式不支持的,端口非法的,可以尝试只测试一两个节点先,然后去找下那个节点有问题

不是的,删掉这个节点,又会产生一个新的无法测速节点

wqboy avatar Dec 03 '22 05:12 wqboy

https://github.com/2dust/v2rayN/releases/tag/6.3

2dust avatar Jan 05 '23 02:01 2dust