[Bug] 无法连接客户端
当客户端退出后,重新登录另一个号,上了客户端,akari连接不到新的客户端,只有关了akari重新打开
还有这事,100% 触发吗?
@Hanxven 是的我这100%
给一个比较详细的复现步骤,我来测试一下。
给一个比较详细的复现步骤,我来测试一下。
刚才又试了下,还是不行 就正常登录,然后开akari,第一次可以自动连接,然后退出lol客户端,wegame切换账号,正常上号,就触发了
这样,发一下日志吧,说不定能从里面找到端倪。
@Hanxven 这个吗
[2025-07-30 15:08:17:392] [app] [info] League Akari 1.3.7
[2025-07-30 15:08:17:393] [app] [info] Platform: win32, Release: 10.0.26100
[2025-07-30 15:08:17:393] [app] [info] Log Level: info
[2025-07-30 15:08:17:539] [storage-main] [info] Current database file located at C:\Users\14114\AppData\Roaming\league-akari\LeagueAkari.db
[2025-07-30 15:08:17:545] [storage-main] [info] Current version 15
[2025-07-30 15:08:17:546] [storage-main] [info] Current version database does not need to be migrated
[2025-07-30 15:08:17:839] [client-installation-main] [warn] Failed to get logical drives Command failed: wmic logicaldisk get name
'wmic' ڲ ⲿ Ҳ ǿ еij
ļ
Error: Command failed: wmic logicaldisk get name
'wmic' ڲ ⲿ Ҳ ǿ еij
ļ
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:524:28)
at Pipe.<anonymous> (node:net:343:12)
[2025-07-30 15:08:17:839] [client-installation-main] [info] Current logical drives []
[2025-07-30 15:08:18:025] [client-installation-main] [info] Detected official RiotClient installation D:/Riot Games/Riot Client/RiotClientServices.exe
[2025-07-30 15:08:18:031] [league-client-main] [info] Target client {
"port": 49342,
"pid": 20736,
"authToken": "u88X7cB5Ebl9PQeofFQAfg",
"rsoPlatformId": "HN1",
"region": "TENCENT",
"riotClientPort": 49233,
"riotClientAuthToken": "xmeAbVUwTU3BTg-APGQ8iA"
}
[2025-07-30 15:08:18:048] [remote-config-main] [info] Updating Announcement gitee
[2025-07-30 15:08:18:070] [remote-config-main] [info] Updating Sgp League Servers gitee
[2025-07-30 15:08:18:072] [remote-config-main] [info] Updating Latest Release gitee
[2025-07-30 15:08:18:084] [self-update-main] [info] Checking auto-update result C:\Users\14114\AppData\Roaming\league-akari\NEW_VERSION_FLAG
[2025-07-30 15:08:18:277] [sgp-main] [info] Loaded local SGP server configuration file 2025-06-18 15:39:02
[2025-07-30 15:08:18:286] [ongoing-game-main] [info] Handle auto match history loading queryStage={
"phase": "unavailable",
"gameInfo": null
} enabled=true tokenReady=false
[2025-07-30 15:08:18:314] [sgp-main] [info] Update Lol League Session Token: eyJraWQiOiJzMSIsImFsZyI6...
[2025-07-30 15:08:18:315] [sgp-main] [info] Update Entitlements Token: {"accessToken":"eyJraWQiOiJvbmNVIiwiYWxn...","entitlements":[],"issuer":"http://hn1-k8s-bcs-internal.lol.qq.com:28088","subject":"a7fd1fcf-fc90-57d6-8b86-1d18a400e742","token":"eyJraWQiOiJrMSIsImFsZyI6..."}
[2025-07-30 15:08:18:315] [ongoing-game-main] [info] Handle auto match history loading queryStage={
"phase": "unavailable",
"gameInfo": null
} enabled=true tokenReady=true
[2025-07-30 15:08:18:322] [keyboard-shortcuts-main] [info] Current in normal privilege, ignoring shortcut registration: Insert (last-active)
[2025-07-30 15:08:18:323] [keyboard-shortcuts-main] [info] Current in normal privilege, ignoring shortcut registration: PageDown (last-active)
[2025-07-30 15:08:18:323] [keyboard-shortcuts-main] [info] Current in normal privilege, ignoring shortcut registration: PageUp (last-active)
[2025-07-30 15:08:18:326] [extra-assets-main] [info] Gtimg: updating "hero_list"
[2025-07-30 15:08:18:326] [extra-assets-main] [info] Fandom: updating balance data
[2025-07-30 15:08:18:392] [window-manager-main/main-window] [info] Create window-manager-main/main-window window
[2025-07-30 15:08:18:404] [sgp-main] [info] Remote SGP server configuration file has no updates 2025-06-18 15:39:02
[2025-07-30 15:08:18:493] [client-installation-main] [info] Registry detected Tencent League of Legends installation D:\WeGameApps\英雄联盟
[2025-07-30 15:08:18:860] [window-manager-main/aux-window] [info] Create window-manager-main/aux-window window
[2025-07-30 15:08:18:900] [window-manager-main/opgg-window] [info] Create window-manager-main/opgg-window window
[2025-07-30 15:08:19:163] [renderer-debug-renderer] [info] do not send all native lcu events
[2025-07-30 15:08:43:357] [sgp-main] [info] Update Lol League Session Token: eyJraWQiOiJzMSIsImFsZyI6...
[2025-07-30 15:11:35:013] [sgp-main] [info] Update Entitlements Token: {"accessToken":"eyJraWQiOiJvbmNVIiwiYWxn...","entitlements":[],"issuer":"http://hn1-k8s-bcs-internal.lol.qq.com:28088","subject":"a7fd1fcf-fc90-57d6-8b86-1d18a400e742","token":"eyJraWQiOiJrMSIsImFsZyI6..."}
[2025-07-30 15:14:19:610] [sgp-main] [info] Update Lol League Session Token: eyJraWQiOiJzMSIsImFsZyI6...
[2025-07-30 15:19:23:192] [ongoing-game-main] [info] Handle auto match history loading queryStage={
"phase": "unavailable",
"gameInfo": null
} enabled=true tokenReady=false
[2025-07-30 15:19:26:572] [auto-gameflow-main] [info] Gameflow phase changed: null
我电脑上下载了个台服,不知道有影响不,反正akari台服也能用
@Hanxven 感觉定位到问题了,我卸载后重装,就正常了能检测到客户端,但是当我导入设置项后就又不行了
设置项json:https://gist.github.com/1411430556/17d02a8689c8c151efe527c4a72720a4 或者 https://gist.githubusercontent.com/1411430556/17d02a8689c8c151efe527c4a72720a4/raw/e6a849be3528f3de14f97c09d81673d8dc5dbeda/league-akari-settings.json
我在朋友电脑上试了下他的没得问题,不过没有导入我的设置项
看来是 league-client-main/lastConnectedClient 这个设置项出现了问题。
这个设置项的设计是用于在 ux 关闭后尝试一次连接。
看来是
league-client-main/lastConnectedClient这个设置项出现了问题。这个设置项的设计是用于在 ux 关闭后尝试一次连接。
好的吧,希望有机会能修复吧😊