Failure (intermittent) to connect to dedicated server

Keaton Campbell shared this bug 35 days ago
Won't Fix

Sometimes am able to connect to self-hosted dedicated server, whereas other times I am stuck in a no-response loop.

Below is a snippet of the client-side logs during a failure

2025-01-17 23:24:52.857 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.LoadContent
2025-01-17 23:24:52.901 - Thread:   1 ->  Server responded
2025-01-17 23:24:52.901 - Thread:   1 ->  Joining server: Name:servername
ConnectionString:steam://**.**.***.***:27016
2025-01-17 23:24:52.902 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - START
2025-01-17 23:24:52.904 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:01.204 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.LoadContent
2025-01-17 23:25:02.548 - Thread:   9 ->  MyDefinitionManager.GetSessionPreloadDefinitions() - START
2025-01-17 23:25:16.243 - Thread:   1 ->  UnloadAndExitToMenu - Started
2025-01-17 23:25:16.245 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:16.246 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:16.246 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:16.247 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:16.247 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:16.249 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:16.253 - Thread:   1 ->  Network readers disposed
2025-01-17 23:25:16.258 - Thread:   1 ->  UnloadAndExitToMenu - Screen Clear
2025-01-17 23:25:16.258 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.LoadContent
2025-01-17 23:25:16.258 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.LoadContent
2025-01-17 23:25:16.277 - Thread:   1 ->  MyGuiScreenServerReconnector MyGuiScreenBase.LoadContent
2025-01-17 23:25:16.555 - Thread:   1 ->  MyConfig.Save() - START
2025-01-17 23:25:16.556 - Thread:   1 ->     Path: C:\Users\*****\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg
2025-01-17 23:25:16.559 - Thread:   1 ->  MyConfig.Save() - END
2025-01-17 23:25:17.806 - Thread:   1 ->  GUI Stats: Update 0.934920333333334, Draw 0.287255555555556
2025-01-17 23:25:26.286 - Thread:   1 ->  Server responded
2025-01-17 23:25:26.286 - Thread:   1 ->  Joining server: Name:Servername ConnectionString:steam://ipaddress:27016
2025-01-17 23:25:26.752 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.LoadContent
2025-01-17 23:25:27.829 - Thread:   9 ->  MyDefinitionManager.GetSessionPreloadDefinitions() - END
2025-01-17 23:25:27.829 - Thread:   9 ->  MySandboxGame.PerformPreload() - END VANILLA SOUNDS AND VOXELS
2025-01-17 23:25:30.412 - Thread:   9 ->  MySandboxGame.PerformPreload() - END
2025-01-17 23:25:41.773 - Thread:   1 ->  UnloadAndExitToMenu - Started
2025-01-17 23:25:41.774 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:41.776 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:41.776 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:41.777 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:41.777 - Thread:   1 ->  MyGuiScreenServerReconnector MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:41.778 - Thread:   1 ->  MyGuiScreenServerReconnector MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:41.778 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - START
2025-01-17 23:25:41.779 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - END
2025-01-17 23:25:41.779 - Thread:   1 ->  Network readers disposed
2025-01-17 23:25:41.779 - Thread:   1 ->  UnloadAndExitToMenu - Screen Clear
2025-01-17 23:25:41.780 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.LoadContent
2025-01-17 23:25:41.780 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.LoadContent
2025-01-17 23:25:41.790 - Thread:   1 ->  MyGuiScreenServerReconnector MyGuiScreenBase.LoadContent
2025-01-17 23:25:41.920 - Thread:   1 ->  MyConfig.Save() - START
2025-01-17 23:25:41.921 - Thread:   1 ->     Path: C:\Users\user\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg
2025-01-17 23:25:41.924 - Thread:   1 ->  MyConfig.Save() - END
Here's the same connection attempt from the same client on the same network for the same server only days before, when successful.
MyDefinitionManager.GetSessionPreloadDefinitions() - START
2025-01-15 18:28:41.359 - Thread:   1 ->  GUI Stats: Update 0.84995211111111, Draw 0.130333555555556
2025-01-15 18:29:11.445 - Thread:   1 ->  GUI Stats: Update 0.685699055555556, Draw 0.457866111111111
2025-01-15 18:29:12.180 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.LoadContent
2025-01-15 18:29:12.297 - Thread:   1 ->  Server responded
2025-01-15 18:29:12.298 - Thread:   1 ->  Joining server: Name:servername ConnectionString:steam://ipaddress:27016
2025-01-15 18:29:12.303 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:12.304 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:20.266 - Thread:   8 ->  MyDefinitionManager.GetSessionPreloadDefinitions() - END
2025-01-15 18:29:20.266 - Thread:   8 ->  MySandboxGame.PerformPreload() - END VANILLA SOUNDS AND VOXELS
2025-01-15 18:29:22.917 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.LoadContent
2025-01-15 18:29:25.764 - Thread:   1 ->  ServerPassword MyGuiScreenBase.LoadContent
2025-01-15 18:29:26.690 - Thread:   8 ->  MySandboxGame.PerformPreload() - END
2025-01-15 18:29:38.021 - Thread:   1 ->  Lobby join response: True, enter state: Success
2025-01-15 18:29:38.022 - Thread:   1 ->  World requested
2025-01-15 18:29:38.046 - Thread:   1 ->  World requested - connection alive
2025-01-15 18:29:38.119 - Thread:   1 ->  ServerPassword MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:38.120 - Thread:   1 ->  ServerPassword MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:42.152 - Thread:   1 ->  LoadSession() - Start
2025-01-15 18:29:42.167 - Thread:   1 ->  MyGuiScreenMessageBox MyGuiScreenBase.LoadContent
2025-01-15 18:29:42.169 - Thread:   9 ->  Downloading world mods - START
2025-01-15 18:29:42.186 - Thread:   9 ->     MyWorkshop.GetItemsBlocking: getting 2 items
2025-01-15 18:29:43.445 - Thread:   1 ->  Mod query successful
2025-01-15 18:29:43.456 - Thread:   9 ->     Up to date mod: Id = 1521905890, title = 'Modular Encounters Systems'
2025-01-15 18:29:43.457 - Thread:   9 ->     Up to date mod: Id = 525460808, title = 'Reavers: Terror of the Verse'
2025-01-15 18:29:43.457 - Thread:   9 ->     Mod download time: 0.01 seconds
2025-01-15 18:29:43.458 - Thread:   9 ->  Downloading world mods - END
2025-01-15 18:29:43.469 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:43.470 - Thread:   1 ->  MyGuiScreenIntroVideo MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:43.470 - Thread:   1 ->  MyGuiScreenMessageBox MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:43.471 - Thread:   1 ->  MyGuiScreenMessageBox MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:43.471 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:43.472 - Thread:   1 ->  MyGuiScreenProgress MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:43.473 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - START
2025-01-15 18:29:43.474 - Thread:   1 ->  MyGuiScreenMainMenu MyGuiScreenBase.UnloadContent - END
2025-01-15 18:29:43.535 - Thread:   1 ->  LoadSession() - End
2025-01-15 18:29:43.535 - Thread:   1 ->  MyGuiScreenLoading.LoadContent - START
2025-01-15 18:29:43.539 - Thread:   1 ->     MyGuiScreenLoading MyGuiScreenBase.LoadContent
2025-01-15 18:29:43.539 - Thread:   1 ->  MyGuiScreenLoading.LoadContent - END
2025-01-15 18:29:43.695 - Thread:   1 ->  RunLoadingAction - START
2025-01-15 18:29:54.326 - Thread:   1 ->  GC Memory: 1,149,373,736 B
2025-01-15 18:29:54.333 - Thread:   1 ->  Process Memory: 3,043,614,720 B
2025-01-15 18:29:56.370 - Thread:   1 ->  MyScriptManager.LoadData() - START
2025-01-15 18:30:15.893 - Thread:   1 ->     Script loaded: 1521905890.sbm_ModularEncountersSystems, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
2025-01-15 18:30:15.924 - Thread:   1 ->  MyScriptManager.LoadData() - END
2025-01-15 18:30:15.930 - Thread:   1 ->  MyDefinitionManager.LoadData() - START
2025-01-15 18:30:15.933 - Thread:   1 ->  MyDefinitionManager.LoadScenarios() - START
2025-01-15 18:30:15.937 - Thread:   1 ->     11ea347ba8ecf3817071de7eaa7b6dcfb1a73bcc
2025-01-15 18:30:16.254 - Thread:   1 ->     Loading scenarios
2025-01-15 18:30:16.255 - Thread:   1 ->  MyDefinitionManager.LoadScenarios() - END
2025-01-15 18:30:16.256 - Thread:   1 ->     List of used mods (2) - START

And just for good measure, the server logs!

2025-01-17 23:27:22.913: User left [007...373]
2025-01-17 23:27:33.536: Peer2Peer_SessionRequest [007...373]
2025-01-17 23:27:48.504: Peer2Peer_ConnectionFailed [007...373], Timeout
2025-01-17 23:27:48.513: User left [007...373]
2025-01-17 23:27:59.186: Peer2Peer_SessionRequest [007...373]
2025-01-17 23:28:14.212: Peer2Peer_ConnectionFailed [007...373], Timeout
2025-01-17 23:28:14.229: User left [007...373]
2025-01-17 23:28:24.789: Peer2Peer_SessionRequest [007...373]
2025-01-17 23:28:39.770: Peer2Peer_ConnectionFailed [007...373], Timeout
2025-01-17 23:28:39.779: User left [007...373]
2025-01-17 23:28:50.494: Peer2Peer_SessionRequest [007...373]
2025-01-17 23:29:05.480: Peer2Peer_ConnectionFailed [007...373], Timeout
2025-01-17 23:29:05.496: User left [007...373]

Replies (2)

photo
1

Hello engineer,

Thank you for reaching out to us on the forum. We’re sorry to hear about the issue you’re experiencing.

Could you please try the following workarounds that could resolve this issue for you;

  • Close the game and Steam. Open the Task Manager and end all tasks related to Space Engineers.
  • Ensure you have a stable internet connection and disable any active VPN.
  • If using Wi-Fi, connect to your router via a cable and restart your router.
  • Clear the game cache:
    Type %appdata% into your Windows search bar to access the hidden Roaming folder. From there, navigate to AppData\Roaming\SpaceEngineers\cache and AppData\Roaming\SpaceEngineersDedicated\cache, and delete its contents.
  • Temporarily remove MODs on the server to check if the issue is resolved.
  • Temporarily disable your antivirus or firewall.
  • Verify the game and Dedicated Server (DS) tool files.
    Right-click on Space Engineers in Steam Library → Properties → Installed Files → Verify Integrity of Game Files
    and for DS Server Manager, Right-click on Space Engineers Dedicated Server in Steam Library → Properties → Installed Files → Verify Integrity of tool Files

After performing these steps, launch the game, start the Dedicated Server, and check if the issue persists on an unmodded server. If the issue doesn't occur on unmodded but on the modded DS, the issue might be related to the MODs. However if the issue still occurs, please send us full game and server log files.

Kind Regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

As there has been no reply to this thread in some time, we will close it. If you're experiencing this issue, please create a new thread.

Kind regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file