[X] My issue was not mentioned by others, and it is not a duplicate issue.
Description
米哈游更新了战绩功能,导致启动器的战绩功能无法正常使用,不知是不是UA的问题
我在我手机比较新的版本的米游社抓到的UA是okhttp/4.9.3不一定能用,技术不到家,猜测
Reproduction Steps
打开启动器的米游社工具箱,点击战绩,在我的角色一栏点击“全部角色”
Expected Behavior
正常使用全部功能,如下图
点击角色可以进入
Screenshots
Starward Version
0.12.2-preview.2
Windows Version
22635.4076
Log
[14:36:38.737] [INFO]
Welcome to Starward v0.12.2-preview.2
System: Microsoft Windows NT 10.0.22635.0
Command Line: D:\information\Starward\app-0.12.2-preview.2\Starward.dll
[14:36:38.798] [INFO] Starward.Services.DatabaseService
Database path is 'D:\information\Starward'
[14:36:38.857] [INFO] Starward.Services.DatabaseService
Database version is 9, target version is 9.
[14:36:38.941] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn
[14:36:38.951] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn
[14:36:39.700] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\information\MiHoYoGAME\Honkai Star Rail"
[14:36:39.720] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.4.0".
[14:36:40.650] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)
[14:36:41.638] [INFO] Starward.Services.UpdateService
Current version: "0.12.2-preview.2", latest version: "0.12.2-preview.2", ignore version: null
[14:36:42.144] [INFO] Starward.Pages.MainPage
Navigate to "HoyolabToolboxPage" with param hkrpg_cn
[14:36:42.155] [INFO] Starward.Services.GameRecordService
Change region to China.
[14:36:43.224] [EROR] Starward.Services.HoYoPlayService
PrepareDataForServerAsync
System.Net.Http.HttpRequestException: Error while copying content to a stream.
---> System.Net.Http.HttpIOException: The response ended prematurely while waiting for the next frame from the server. (ResponseEnded)
at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception )
at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders()
at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken)
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task, MemoryStream)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage, HttpCompletionOption, CancellationTokenSource, Boolean, CancellationTokenSource, CancellationToken)
at Starward.Core.HoYoPlay.HoYoPlayClient.CommonGetAsync[T](String url, String node, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 45
at Starward.Core.HoYoPlay.HoYoPlayClient.GetGamePackageAsync(String launcherId, String language, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 159
at Starward.Services.HoYoPlayService.PrepareDataForServerAsync(String launcherId, String language) in D:\a\Starward\Starward\src\Starward\Services\HoYoPlayService.cs:line 113
[14:36:43.236] [EROR] Starward.Services.HoYoPlayService
PrepareDataForBilibiliServerAsync
System.Net.Http.HttpRequestException: The response ended prematurely while waiting for the next frame from the server. (ResponseEnded)
---> System.Net.Http.HttpIOException: The response ended prematurely while waiting for the next frame from the server. (ResponseEnded)
at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception )
at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState()
at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders()
at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken)
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage, Boolean, Boolean, CancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage, Boolean, CancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage, HttpCompletionOption, CancellationTokenSource, Boolean, CancellationTokenSource, CancellationToken)
at Starward.Core.HoYoPlay.HoYoPlayClient.CommonGetAsync[T](String url, String node, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 45
at Starward.Core.HoYoPlay.HoYoPlayClient.GetGameBackgroundAsync(String launcherId, String language, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 109
at Starward.Services.HoYoPlayService.PrepareDataForBilibiliServerAsync(String language) in D:\a\Starward\Starward\src\Starward\Services\HoYoPlayService.cs:line 144
Checklist
Description
米哈游更新了战绩功能,导致启动器的战绩功能无法正常使用,不知是不是UA的问题
我在我手机比较新的版本的米游社抓到的UA是
okhttp/4.9.3
不一定能用,技术不到家,猜测Reproduction Steps
打开启动器的米游社工具箱,点击战绩,在我的角色一栏点击“全部角色”
Expected Behavior
正常使用全部功能,如下图 点击角色可以进入
Screenshots
Starward Version
0.12.2-preview.2
Windows Version
22635.4076
Log
Additional Context
No response