Error: No IP assigned
Dedicated server fails to start with error: (full log attached)
17:03:25.5769 [DEBUG] Keen: Bind IP : 116.202.55.147:27001 17:03:37.7202 [INFO] Keen: Error: No IP assigned.Relevant settings in SpaceEngineers-Dedicated.cfg:
<IP>116.202.55.147</IP> <SteamPort>8766</SteamPort> <ServerPort>27001</ServerPort>Tracked it back to the following code fragment inside MyDedicatedServerBase.Initialize method:
UInt32 ip = 0; UInt64 id = 0; int timeout = 100; while (ip == 0 && timeout > 0) { SteamSDK.SteamServerAPI.Instance.GameServer.RunCallbacks(); Thread.Sleep(100); timeout--; ip = SteamSDK.SteamServerAPI.Instance.GameServer.GetPublicIP(); id = SteamSDK.SteamServerAPI.Instance.GameServer.GetSteamID(); } MySandboxGame.Services.SteamService.UserId = id; if (ip == 0) { MyLog.Default.WriteLineAndConsole("Error: No IP assigned."); return; }The above is from the latest public source on GitHub, your current code may differ.
Why does the dedicated server attempt to figure the public IP address of the host if it has already been configured in SpaceEngineers-Dedicated.cfg? (See the <IP> element above.)
The server fails to start every time Steam has difficulties dealing with the traffic, which is quite frequent these days.
The server is hosted at Hetzner (Germany) in a data center, it was not a network issue. It is a bare metal server, no hypervisor or concurrent load involved.
The system we built ( https://spacewar.se ) starts multiple servers based on player needs and restart empty lobbies every 1-2 hours, which makes it more sensitive for such issues. It means that I can detect problems happening to other servers less frequently.
The problem happened 5 times already in the last few days.
22 months later and this FATAL CRASHING bug still exists? This should be a P0 and fixed within days, not leave it for years.
22 months later and this FATAL CRASHING bug still exists? This should be a P0 and fixed within days, not leave it for years.
Hello, Collin,
thanks for the update.
Unfortunately, as the original thread and provided files are quite outdated now, you think it will be possible to provider some recent ones? Log from the server and the affected save as well would be great!
You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineersDedicated\Saves.
Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.
Thanks in advance for providing those.
Kind Regards
Keen Software House: QA Department
Hello, Collin,
thanks for the update.
Unfortunately, as the original thread and provided files are quite outdated now, you think it will be possible to provider some recent ones? Log from the server and the affected save as well would be great!
You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineersDedicated\Saves.
Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.
Thanks in advance for providing those.
Kind Regards
Keen Software House: QA Department
Hello, Engineer!
Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.
If you or any other player will experience this issue again, please make a new thread and provide all needed info there.
Thank you for understanding.
Kind Regards
Keen Software House: QA Department
Hello, Engineer!
Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.
If you or any other player will experience this issue again, please make a new thread and provide all needed info there.
Thank you for understanding.
Kind Regards
Keen Software House: QA Department
another of the 2000 allready exists?
another of the 2000 allready exists?
Replies have been locked on this page!