TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Torch shuts itself down instead of normal server restart after XX minutes #416

Closed Crash0v3r1de closed 3 years ago

Crash0v3r1de commented 3 years ago

Torch Version: v1.3.1.136-master SE Version: 1.197.65

Expected Behavior

What did you expect to happen? Auto restart via DedicatedServer.cfg causes Torch to just completely shutdown, non functional server restart ONLY when using Torch. Works totally fine with the Vanilla DedicatedServer.

Observed Behavior

What actually happened? -Torch killed itself and never came back up. Stopped SE server and completely closed the Torch client.

Steps to Reproduce

  1. How did this issue get triggered? -Fresh torch install with fresh vanilla world migration to the Torch Instance with a few plugins added to Torch.
  2. Write the steps here.
    • Install torch, copy Instance files, add plugins, restart Torch, Start server, wait for auto restart - notice it closes itself and never comes back up.

Other Information

Provide links to game logs or saves here if necessary. This is the only thing in the logs before Torch shut itself down.

02:37:26.6840 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 10 minutes 02:42:26.7162 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 5 minutes 02:46:26.7790 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 1 minute 02:47:26.8259 [INFO] Torch.Session.TorchSessionManager: Unloading torch session for 02:47:27.0603 [INFO] CrunchUtilities.CrunchUtilitiesPlugin: Session-State is now Unloading 02:47:27.0759 [INFO] Torch.Server.Managers.MultiplayerManagerDedicated: Removed steam authentication intercept

Crash0v3r1de commented 3 years ago

lol this time it didn't shutdown torch it just never brought the SE server back up and Torch says the server is still running.

15:24:09.2404 [INFO] Keen: Server will restart in 10 minutes 15:24:09.2404 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 10 minutes 15:26:46.7778 [INFO] Keen: Autosave 15:26:48.8714 [INFO] Keen: Saving Sandbox world configuration file C:\ProgramData\SpaceEngineersDedicated\SE Main Service\Saves\Earth Planet.new\Sandbox_config.sbc 15:29:09.2985 [INFO] Keen: Server will restart in 5 minutes 15:29:09.2985 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 5 minutes 15:33:09.3629 [INFO] Keen: Server will restart in 1 minute 15:33:09.3629 [INFO] Chat: [Global:0] Good.bot: WARNING! Server will restart in 1 minute 15:34:09.3962 [INFO] Keen: Automatic stop after 2 hours and 7 minutes 15:34:09.4118 [INFO] Keen: Exiting.. 15:34:09.4118 [INFO] TorchSessionManager: Unloading torch session for 15:34:09.5993 [INFO] Keen: TORCH MOD: Unregistering mod communication. 15:34:09.5993 [INFO] Keen: TORCH MOD: INFO: Communication thread shut down successfully! THIS IS NOT AN ERROR 15:34:09.5993 [INFO] MultiplayerManagerDedicated: Removed steam authentication intercept 15:34:09.6305 [INFO] Keen: Autosave in unload 15:34:11.6773 [INFO] Keen: Saving Sandbox world configuration file C:\ProgramData\SpaceEngineersDedicated\SE Main Service\Saves\Earth Planet.new\Sandbox_config.sbc 15:34:13.2399 [INFO] Keen: MyLights Unloading data. 15:34:13.5368 [INFO] Keen: Logging off Steam... 15:34:13.5368 [INFO] Keen: Shutting down server... 15:34:13.6774 [INFO] Keen: Done 15:34:14.3336 [INFO] TorchSessionManager: Unloaded torch session for 15:34:14.3336 [INFO] SEDiscordBridgePlugin: Unloading Discord Bridge! 15:34:14.3336 [INFO] SEDiscordBridgePlugin: Discord Bridge Unloaded! 15:34:14.3336 [INFO] Keen: TORCH MOD: Unregistering mod communication.

Jimmacle commented 3 years ago

Should be fixed by now via a Keen game update