Starward icon indicating copy to clipboard operation
Starward copied to clipboard

[Bug] 星穹鐵道國際服帳號紀錄無法拉取

Open acheron240401 opened this issue 1 year ago • 4 comments

Checklist

  • [X] My issue was not mentioned by others, and it is not a duplicate issue.

Description

Starward 內初次導入帳號紀錄,依照 APP 指示操作會出現錯誤訊息。

miHoYoApiException - Input URL
Something went wrong … please retry later (-502)

此問題與 #1011 相關,該問題的遊戲服為 hkrpg_cn,在 0.12.2 Preview 3 被修復,此問題的遊戲服為 hkrpg_global

Reproduction Steps

  1. 在遊戲內使用問題回報,導向到瀏覽器的問題回報首頁
  2. 複製完整 URL,貼到 Starward 裡
  3. 重現 Bug

Expected Behavior

No response

Screenshots

輸入 URL 後出現錯誤警示 螢幕擷取畫面 2024-09-05 172126

在瀏覽器進入自助查詢頁面,功能正常 螢幕擷取畫面 2024-09-05 172320

Starward Version

0.13.1

Windows Version

22631.4037

Log

[17:19:37.358] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_global

[17:19:37.358] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_global

[17:19:37.411] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_global: "X:\Program Files\Star Rail\Games"

[17:19:37.440] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_global is "2.4.0".

[17:21:10.819] [INFO] Starward.Pages.MainPage
Navigate to "SelfQueryPage" with param hkrpg_global

[17:21:16.530] [EROR] Starward.Pages.SelfQueryPage
Input url
Starward.Core.miHoYoApiException: Something went wrong...please retry later (-502)
   at Starward.Core.SelfQuery.SelfQueryClient.CommonGetAsync[T](String url, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\SelfQuery\SelfQueryClient.cs:line 41
   at Starward.Core.SelfQuery.SelfQueryClient.GetStarRailUserInfoAsync(CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\SelfQuery\SelfQueryClient.cs:line 209
   at Starward.Core.SelfQuery.SelfQueryClient.InitializeAsync(String url, GameBiz gameBiz, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\SelfQuery\SelfQueryClient.cs:line 104
   at Starward.Services.SelfQueryService.InitializeAsync(String url, GameBiz gameBiz) in D:\a\Starward\Starward\src\Starward\Services\SelfQueryService.cs:line 40
   at Starward.Pages.SelfQueryPage.InputURLAsync() in D:\a\Starward\Starward\src\Starward\Pages\SelfQueryPage.xaml.cs:line 340

Additional Context

No response

acheron240401 avatar Sep 05 '24 09:09 acheron240401

#1077

Scighost avatar Sep 07 '24 08:09 Scighost

問題回報 URL會進行重新導向 只有重新導向前URL可用

ghost avatar Sep 12 '24 14:09 ghost

@Scighost

成功複現 若取得 未重新導向URL -> 正常取得帳號紀錄 (點擊問題回報按鈕後 彈出瀏覽器時立即斷網複製URL可取得 或點擊返回舊版 )

https://cs.hoyoverse.com/csc-service-center-fe/index.html? 開頭 若取得 已重新導向URL -> 報措 https://cs.hoyoverse.com/static/hoyoverse-new-csc-service-hall-fe/index.html? 開頭

"返回舊版" 位於網頁右上方 也能取得 cs.hoyoverse.com/csc-service-center-fe/index.html image

ghost avatar Sep 12 '24 14:09 ghost

成功複現 若取得 未重新導向URL -> 正常取得帳號紀錄 (點擊問題回報按鈕後 彈出瀏覽器時立即斷網複製URL可取得 或點擊返回舊版 )

https://cs.hoyoverse.com/csc-service-center-fe/index.html? 開頭 若取得 已重新導向URL -> 報措 https://cs.hoyoverse.com/static/hoyoverse-new-csc-service-hall-fe/index.html? 開頭

"返回舊版" 位於網頁右上方 也能取得 cs.hoyoverse.com/csc-service-center-fe/index.html

使用 返回舊版 後的 URL,成功獲取帳號紀錄,感謝 @SSB-ARFCN 大大

螢幕擷取畫面 2024-09-13 114956

Starward Version: 0.13.2

acheron240401 avatar Sep 13 '24 03:09 acheron240401