Not letting me join server.

Dillon Jones shared this bug 2 months ago
Investigating

I’m trying to join a server and it won’t let me join. I can join any other server I try but this one. Attached you can see the video of what it’s doing. I deleted and reinstalled the game, deleted .cfg file, cleared cache, allowed UDP 27029 through my firewall, tried direct connect and also through steam, updated drivers, restarted computer multiple times, downloaded the mods to the server before trying to join. I’ve even contacted the server’s staff and they all have never seen this before. I desperately need help. I’ve searched google, asked on the SE Reddit, checked YouTube and cannot find anything about this.

Replies (3)

photo
0

This is also on space engineers PC, sorry I didn’t add that.

photo
0

Hello!

Thank you for contacting us. Since this is a bug report, I'm moving your ticket to our support page, where our QA team will take care of you.

Kind Regards

Keen Software House

photo
1

Hello Dillon,

Thank you for reaching out to us on the forum regarding this issue.

We tried joining the same server on our side and were able to join it successfully. Based on the videos you shared, after clicking Continue Game or Connect in the Direct Connect window, please wait a few seconds to allow the game to establish the connection. Sending multiple connection requests in quick succession can sometimes cause the connection attempt to fail, so we recommend clicking once and waiting briefly for the server connection to complete.

If the connection still fails, please try the following:

  1. Fully exit the game and Steam.
  2. Open Task Manager and end any running processes related to Steam and Space Engineers.
  3. Temporarily disable your antivirus software and any active VPN.
  4. Launch the game again via Steam and try connecting to the server.

If the issue continues, please send us the log file (named as SpaceEngineers_) from the time the connection attempt fails, so we can investigate further.

  • You can access your log files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers.

Kind Regards,

Keen Software House: QA Department

photo
1

I have done what you requested I try and it has not fixed it. Though I come with good news. I was clicking the join game, and I connected. I had joined right as the server restarted. So I got in contact with the server owner again and told him this. He restarted again to see if I’d be able to join another time right as it restarts. It worked. So I can only join the server right as it restarts. If this helps at all trying to find a solution please let me know! There’s specific times the server restarts and if I miss that time frame by a few seconds I won’t be able to join until the next time it restarts.

photo
1

This is the log from when I initially try to connect. It only sends two lines in the log.

1 -> Joining server: Name:Mayhem Industries Scrapyard Plus ConnectionString:steam://45.47.129.150:27029

1 -> MyGuiScreenProgress MyGuiScreenBase.UnloadContent

photo
2

I have at least one player on our server that has this issue too, and I've seen this a few times over the years. Sad part is that if the issue gets triggered, it's usually game over for that player.


Sometimes complete reinstall and redownloading of the mod cache works, but the issue often reoccurs and it's not reasonable to expect players to redownload all mods whenever they want to play.

photo
2

Server-side, there is no trace in the log that a connection attempt has even happened. On the client log, one can see a similar pattern as Dillon has:

1. Client begins to join

2. Client unloads progress window


Our gut feeling is that it's related to querying mods from Steam. Maybe some sort of cache mismatch, but it's hard to say because there's no logging.

photo
2

Maybe you guys could add some logging hooks in there so we can investigate further?

photo
1

Here's an AI analysis, if it helps:


Bug: Clicking "Join" on a server produces no error feedback. The progress screen closes and the client returns to the server browser with no indication of failure.


Affected code: MyJoinGameHelper.JoinGame() in Sandbox.Game


Root cause: The failedToJoin callback parameter defaults to null and no caller ever supplies a value. When GetServerRules fails (timeout, unreachable, malformed response), the failure delegate invokes JoinGame(server, null, ...), which reaches:


else{ failedToJoin?.Invoke(); // failedToJoin is null — nothing happens}
No log entry. No error dialog. No retry. The join attempt silently dies.


Contributing factors:


  • The MyGuiScreenProgress shown during the preceding ping step closes on ping success, before GetServerRules is called. The user sees the screen disappear and interprets it as the join failing instantly, but the rules query is actually still pending in the background.
  • GetServerRules is a Steamworks SteamMatchmakingServers.ServerRules() A2S_RULES UDP query. It can fail due to packet loss, firewall rules, or server load — all common in production.
  • The same null-action pattern exists at three other early-return points in JoinGame (version mismatch, data hash mismatch, UGC consent failure). Those paths at least attempt a MessageBox, but the version mismatch dialog is itself suppressed if another MessageBox is already on-screen.

Impact: Any failure of the A2S_RULES query — the most network-fragile step in the entire join flow — results in complete silent failure with no user recourse.


Fix: Supply a non-null failedToJoin action from all call sites (or add a fallback inside JoinGame itself) that shows an error dialog and logs the failure. Optionally add retry logic for the rules query.

Files: Log2.txt
photo
Leave a Comment
 
Attach a file