ChronosWS / asma

Ark Server Manager: Ascended
46 stars 4 forks source link

BUG: Monitoring Stuck on pressing start #47

Closed thesefer closed 8 months ago

thesefer commented 9 months ago

API Log

12/05/23 16:14 [API][info] -----------------------------------------------
12/05/23 16:14 [API][info] ARK:SA Api V1.02
12/05/23 16:14 [API][info] Loading...

12/05/23 16:14 [API][info] Cache refresh required this will take several minutes to complete
12/05/23 16:14 [API][info] Dumping structures..
12/05/23 16:15 [API][info] Dumping functions..

Console log

2023-12-05T15:14:46.289150Z TRACE asma::server: Launching server: Command { std: "\\\\?\\C:\\Users\\sefer\\Downloads\\latest-dev\\Ark\\ASMA Test Server\\ShooterGame\\Binaries\\Win64\\AsaApiLoader.exe" "TheIsland_WP?Port=7777" "-NoBattlEye" "-mods=928621,928988,928501,941450,935399,933099,943339,931047,929785" "-pconlymods" "-ServerPlatform=PC", kill_on_drop: false }
2023-12-05T15:14:46.293715Z TRACE asma::server: 1b7a2a5a-18ab-4ff3-8dd4-339fc67a01f3: PID: 9112
2023-12-05T15:14:46.295651Z TRACE asma: Server Run State Changed 1b7a2a5a-18ab-4ff3-8dd4-339fc67a01f3
2023-12-05T15:14:46.296545Z TRACE asma::server::monitor: Initializing server monitoring for 1b7a2a5a-18ab-4ff3-8dd4-339fc67a01f3 (\\?\C:\Users\sefer\Downloads\latest-dev\Ark\ASMA Test Server\ShooterGame\Binaries\Win64\ArkAscendedServer.exe)
2023-12-05T15:14:46.305453Z  WARN asma::server::monitor: Failed to find server process for 1b7a2a5a-18ab-4ff3-8dd4-339fc67a01f3 (\\?\C:\Users\sefer\Downloads\latest-dev\Ark\ASMA Test Server\ShooterGame\Binaries\Win64\ArkAscendedServer.exe).  This might be OK on startup if the server isn't running

On restarting ASMA it detects the server, Out of date mods and so on.

ChronosWS commented 9 months ago

This sounds like a race condition between monitoring starting and the ApiLoader getting going.