-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 一个新的运行core失败报错 #6392
Comments
这些都是正常的提示,告示你而已。
你需要找出哪个是真正运行core失败的配置文件,然后开发者才能解决 |
感谢大神现身!我是只会用的小白,请问哪个是配置文件?怎么发啊? |
那你就用回6.x版本,不要更新也能用,能用就行了。 |
好的 |
我也出现了同样的状况,经测试为参数设置中的v2rayN设置的测速参数有问题,可以检查一下,如果测试时自动分批的数量为0则会发生错误 |
还真是这样,随手把0改为10就解决了。我是同时批量测别的分组里大量节点没报错,就这一个订阅会报错,没想到是这问题。感谢分享! |
You are right |
预期情况
原来一直用v6.x.x版本测速从没问题,近日升级到v7.4.2版本后,用Ctrl+e命令测速,返回运行core失败
实际情况
看了之前反映运行core报错,似乎没有如下现象。
升级到v7.4.2版本后,用Ctrl+e命令测速,返回运行core失败:
Xray 24.12.18 (Xray, Penetrates Everything.) cab2fde (go1.23.4 windows/amd64)
A unified platform for anti-censorship.
2025/01/01 12:43:08 [Info] infra/conf/serial: Reading config: &{Name:configSpeedtest.json Format:json}
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:08 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature "host" in "headers" is deprecated and being migrated to independent "host". Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
2025/01/01 12:43:09 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
Failed to start: main: failed to load config files: [configSpeedtest.json] > common/errors: The feature HTTP transport (without header padding, etc.) has been removed and migrated to XHTTP stream-one H2 & H3. Please update your config(s) according to release note and documentation.
用ctrl+r测试单个或多个节点,能完成测速,但会报错:
2025/01/01 12:34:21 [Info] infra/conf/serial: Reading config: &{Name:configSpeedtest.json Format:json}
2025/01/01 12:34:21 [Warning] common/errors: This feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated and being migrated to XHTTP H2 & H3. Please update your config(s) according to release note and documentation before removal.
有时用 ctrl+r测试多个节点,又无法完成测速,报错如下:
Failed to start: main: failed to load config files: [configSpeedtest.json] > common/errors: The feature HTTP transport (without header padding, etc.) has been removed and migrated to XHTTP stream-one H2 & H3. Please update your config(s) according to release note and documentation.
2025/01/01 12:33:05 运行Core失败,请看日志
2025/01/01 12:33:05 测试完成
复现方法
除了升级软件版本,没有进行任何其他操作。确定测试的订阅节点在手机端小火箭是可测速的。今天测速前还检查了一下更新,确定都升级到最新。
日志信息
2025-01-01 11:53:17.9124-DEBUG ,
2025-01-01 11:53:17.9292-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:02:07.2865-DEBUG 无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。 : 'D:\zz_v2rayN-With-Core-SelfContained\guiTemps\d75306e3-ec30-4a64-8cbf-c8706ba03b39.zip',无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。 : 'D:\zz_v2rayN-With-Core-SelfContained\guiTemps\d75306e3-ec30-4a64-8cbf-c8706ba03b39.zip'
2025-01-01 12:02:07.3014-DEBUG at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
at ServiceLib.Common.FileManager.ZipExtractToFile(String fileName, String toPath, String ignoredName)
2025-01-01 12:04:53.9244-DEBUG Process with an Id of 36896 is not running.,Process with an Id of 36896 is not running.
2025-01-01 12:04:53.9244-DEBUG at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at ServiceLib.Handler.CoreHandler.CoreStopPid(Int32 pid)
2025-01-01 12:04:55.5479-DEBUG ,
2025-01-01 12:04:55.5479-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:09:11.5969-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The read operation failed, see inner exception.)
2025-01-01 12:09:11.5969-DEBUG
2025-01-01 12:09:11.5969-ERROR System.IO.IOException: The read operation failed, see inner exception.
2025-01-01 12:13:04.3745-DEBUG ,
2025-01-01 12:13:04.3745-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:13:07.1995-DEBUG ,
2025-01-01 12:13:07.1995-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:18:44.5684-DEBUG Response status code does not indicate success: 404 (Not Found).,Response status code does not indicate success: 404 (Not Found).
2025-01-01 12:18:44.5684-DEBUG at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at ServiceLib.Common.HttpClientHelper.GetAsync(HttpClient client, String url, CancellationToken token)
at ServiceLib.Services.DownloadService.DownloadStringAsync(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:18:46.1427-DEBUG The remote server returned an error: (404) Not Found.,The remote server returned an error: (404) Not Found.
2025-01-01 12:18:46.1494-DEBUG at ServiceLib.Common.DownloaderHelper.<>c.b__3_0(Object sender, AsyncCompletedEventArgs value)
at Downloader.AbstractDownloadService.OnDownloadFileCompleted(AsyncCompletedEventArgs e) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 406
at Downloader.DownloadService.SendDownloadCompletionSignal(DownloadStatus state, Exception error) in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 86
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 63
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 68
at Downloader.AbstractDownloadService.DownloadFileTaskAsync(String[] urls, CancellationToken cancellationToken) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 209
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Services.DownloadService.DownloadStringViaDownloader(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:18:46.8312-DEBUG Response status code does not indicate success: 404 (Not Found).,Response status code does not indicate success: 404 (Not Found).
2025-01-01 12:18:46.8312-DEBUG at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at ServiceLib.Common.HttpClientHelper.GetAsync(HttpClient client, String url, CancellationToken token)
at ServiceLib.Services.DownloadService.DownloadStringAsync(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:18:47.9287-DEBUG The remote server returned an error: (404) Not Found.,The remote server returned an error: (404) Not Found.
2025-01-01 12:18:47.9287-DEBUG at ServiceLib.Common.DownloaderHelper.<>c.b__3_0(Object sender, AsyncCompletedEventArgs value)
at Downloader.AbstractDownloadService.OnDownloadFileCompleted(AsyncCompletedEventArgs e) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 406
at Downloader.DownloadService.SendDownloadCompletionSignal(DownloadStatus state, Exception error) in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 86
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 63
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 68
at Downloader.AbstractDownloadService.DownloadFileTaskAsync(String[] urls, CancellationToken cancellationToken) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 209
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Services.DownloadService.DownloadStringViaDownloader(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:19:26.2359-DEBUG Response status code does not indicate success: 404 (Not Found).,Response status code does not indicate success: 404 (Not Found).
2025-01-01 12:19:26.2366-DEBUG at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at ServiceLib.Common.HttpClientHelper.GetAsync(HttpClient client, String url, CancellationToken token)
at ServiceLib.Services.DownloadService.DownloadStringAsync(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:19:27.4203-DEBUG The remote server returned an error: (404) Not Found.,The remote server returned an error: (404) Not Found.
2025-01-01 12:19:27.4203-DEBUG at ServiceLib.Common.DownloaderHelper.<>c.b__3_0(Object sender, AsyncCompletedEventArgs value)
at Downloader.AbstractDownloadService.OnDownloadFileCompleted(AsyncCompletedEventArgs e) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 406
at Downloader.DownloadService.SendDownloadCompletionSignal(DownloadStatus state, Exception error) in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 86
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 63
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 68
at Downloader.AbstractDownloadService.DownloadFileTaskAsync(String[] urls, CancellationToken cancellationToken) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 209
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Services.DownloadService.DownloadStringViaDownloader(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:19:28.0811-DEBUG Response status code does not indicate success: 404 (Not Found).,Response status code does not indicate success: 404 (Not Found).
2025-01-01 12:19:28.0811-DEBUG at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at ServiceLib.Common.HttpClientHelper.GetAsync(HttpClient client, String url, CancellationToken token)
at ServiceLib.Services.DownloadService.DownloadStringAsync(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:19:28.3307-DEBUG The remote server returned an error: (404) Not Found.,The remote server returned an error: (404) Not Found.
2025-01-01 12:19:28.3307-DEBUG at ServiceLib.Common.DownloaderHelper.<>c.b__3_0(Object sender, AsyncCompletedEventArgs value)
at Downloader.AbstractDownloadService.OnDownloadFileCompleted(AsyncCompletedEventArgs e) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 406
at Downloader.DownloadService.SendDownloadCompletionSignal(DownloadStatus state, Exception error) in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 86
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 63
at Downloader.DownloadService.StartDownload() in /Users/bezzad/Sources/Downloader/src/Downloader/DownloadService.cs:line 68
at Downloader.AbstractDownloadService.DownloadFileTaskAsync(String[] urls, CancellationToken cancellationToken) in /Users/bezzad/Sources/Downloader/src/Downloader/AbstractDownloadService.cs:line 209
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Common.DownloaderHelper.DownloadStringAsync(IWebProxy webProxy, String url, String userAgent, Int32 timeout)
at ServiceLib.Services.DownloadService.DownloadStringViaDownloader(String url, Boolean blProxy, String userAgent, Int32 timeout)
2025-01-01 12:20:46.8258-DEBUG ,
2025-01-01 12:20:46.8258-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:20:48.4462-DEBUG ,
2025-01-01 12:20:48.4462-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:33:05.6933-DEBUG ,
2025-01-01 12:33:05.6933-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:33:56.3797-DEBUG ,
2025-01-01 12:33:56.3797-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:34:32.9369-DEBUG ,
2025-01-01 12:34:32.9369-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2025-01-01 12:43:07.0359-DEBUG ,
2025-01-01 12:43:07.0359-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
额外信息
No response
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: