[GH-ISSUE #4639] [Bug]: Core Keeper - Issue with network settings in start parameters #2881

Open
opened 2026-02-27 03:06:02 +03:00 by kerem · 1 comment
Owner

Originally created by @Kylindrias on GitHub (Sep 1, 2024).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4639

User story

Wasn't able to connect to Core Keeper server on LAN with the default start parameters. Not sure if this issue affects others or just me.

Game

Core Keeper

Linux distro

Ubuntu 24.04, Ubuntu 22.04

Command

command: start

Further information

Had issues with Core Keeper on Ubuntu 22.04 server. Updated to 24.04.1 hoping that might resolve the issue, but it didn't.

When trying to connect to the dedicated server from LAN I kept getting a time out error.

I was however able to get the server running using the _launch.sh script, which led me to believe it must have something to do with the LGSM configuration.

After hours of struggling I compared the server logs to see if anything stood out.

I noticed in the LGSM log the following:

Line 40: Initializing Steamworks with AppID 1621690
Line 41: Steam server using game port: 1234 query port: 1235 address: 0.0.0.0

Compared to the working server log:

Line 40: Initializing Steamworks with AppID 1621690
Line 41: dlopen failed trying to load:

The line regarding port and IP address wasn't there.

I did further digging and also noticed this:

LGSM:

ECSManager: converting authoring data for the server world complete.
ECSManager: adding worlds to the update loop.
ECSManager: initializing worlds.
Simulation tick rate=20 Network tick rate=20
disable default variant system group for world ServerWorld
disable CompanionGameObjectUpdateTransformSystem for world ServerWorld
disable ParentSystem for world ServerWorld
Listening on ip:0.0.0.0:1234
ConvertAuthoringDataRoutine complete. Process was successful.
number prefabs 2342
timescale = 0
Started session with Game ID ********************************

_Launch.sh:

ECSManager: converting authoring data for the server world complete.
ECSManager: adding worlds to the update loop.
ECSManager: initializing worlds.
Simulation tick rate=20 Network tick rate=20
disable default variant system group for world ServerWorld
disable CompanionGameObjectUpdateTransformSystem for world ServerWorld
disable ParentSystem for world ServerWorld
Listening on SteamID userid:*********************
ConvertAuthoringDataRoutine complete. Process was successful.
number prefabs 2342
timescale = 0
Started session with Game ID *****************************

So in one case it says listening on SteamID and the other says listening on IP:Port.

Now, theroetically this shouldn't be an issue, and in fact during troubleshooting for a separate issue I tried a fresh install of Ubuntu 24.04 in VMWare and the LGSM Core Keeper server worked straight away without any issue or any changes in config, so it seems this bug may be limited to certain virtual network setups?

This same server also hosts Valheim and Minecraft Bedrock without any issues so it seems the server otherwise was fine.

To fix the issue I copied the _default.cfg to the common.cfg and then edited the following line:


## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-batchmode -ip ${ip} -port ${port} -datapath ${servercfgdir} -logfile ${gamelog}"

I removed the reference to IP and Port so it looks like this now:

startparameters="-batchmode -datapath ${servercfgdir} -logfile ${gamelog}"

I also commented out the lines for IP and Port at the top of the config file.

After doing this I stopped the server, started again and straight away I had no issues joining. So solution seemed to be to remove the IP address from the launch parameters and just let the game use the default server settings.

There's nothing really exotic about my setup, just a guest Ubuntu server running on XCP-NG.

Relevant log output

No response

Steps to reproduce

Download Core Keeper server using LGSM scripts.
Start Server
Time Out when joining on LAN
Remove IP parameters from launch script
Join game without issue.

Originally created by @Kylindrias on GitHub (Sep 1, 2024). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4639 ### User story Wasn't able to connect to Core Keeper server on LAN with the default start parameters. Not sure if this issue affects others or just me. ### Game Core Keeper ### Linux distro Ubuntu 24.04, Ubuntu 22.04 ### Command command: start ### Further information Had issues with Core Keeper on Ubuntu 22.04 server. Updated to 24.04.1 hoping that might resolve the issue, but it didn't. When trying to connect to the dedicated server from LAN I kept getting a time out error. I was however able to get the server running using the _launch.sh script, which led me to believe it must have something to do with the LGSM configuration. After hours of struggling I compared the server logs to see if anything stood out. I noticed in the LGSM log the following: ``` Line 40: Initializing Steamworks with AppID 1621690 Line 41: Steam server using game port: 1234 query port: 1235 address: 0.0.0.0 ``` Compared to the working server log: ``` Line 40: Initializing Steamworks with AppID 1621690 Line 41: dlopen failed trying to load: ``` The line regarding port and IP address wasn't there. I did further digging and also noticed this: LGSM: ``` ECSManager: converting authoring data for the server world complete. ECSManager: adding worlds to the update loop. ECSManager: initializing worlds. Simulation tick rate=20 Network tick rate=20 disable default variant system group for world ServerWorld disable CompanionGameObjectUpdateTransformSystem for world ServerWorld disable ParentSystem for world ServerWorld Listening on ip:0.0.0.0:1234 ConvertAuthoringDataRoutine complete. Process was successful. number prefabs 2342 timescale = 0 Started session with Game ID ******************************** ``` _Launch.sh: ``` ECSManager: converting authoring data for the server world complete. ECSManager: adding worlds to the update loop. ECSManager: initializing worlds. Simulation tick rate=20 Network tick rate=20 disable default variant system group for world ServerWorld disable CompanionGameObjectUpdateTransformSystem for world ServerWorld disable ParentSystem for world ServerWorld Listening on SteamID userid:********************* ConvertAuthoringDataRoutine complete. Process was successful. number prefabs 2342 timescale = 0 Started session with Game ID ***************************** ``` So in one case it says listening on SteamID and the other says listening on IP:Port. Now, theroetically this shouldn't be an issue, and in fact during troubleshooting for a separate issue I tried a fresh install of Ubuntu 24.04 in VMWare and the LGSM Core Keeper server worked straight away without any issue or any changes in config, so it seems this bug may be limited to certain virtual network setups? This same server also hosts Valheim and Minecraft Bedrock without any issues so it seems the server otherwise was fine. To fix the issue I copied the _default.cfg to the common.cfg and then edited the following line: ``` ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters startparameters="-batchmode -ip ${ip} -port ${port} -datapath ${servercfgdir} -logfile ${gamelog}" ``` I removed the reference to IP and Port so it looks like this now: `startparameters="-batchmode -datapath ${servercfgdir} -logfile ${gamelog}"` I also commented out the lines for IP and Port at the top of the config file. After doing this I stopped the server, started again and straight away I had no issues joining. So solution seemed to be to remove the IP address from the launch parameters and just let the game use the default server settings. There's nothing really exotic about my setup, just a guest Ubuntu server running on XCP-NG. ### Relevant log output _No response_ ### Steps to reproduce Download Core Keeper server using LGSM scripts. Start Server Time Out when joining on LAN Remove IP parameters from launch script Join game without issue.
Author
Owner

@Kylindrias commented on GitHub (Sep 2, 2024):

As an update, I can now join the server and play, but the server seems to constantly crash or restart after playing for only 5 minutes, so appears there's still some other issues I need to narrow down.

Testing the _launch.sh file it seemed to run without crashing after just a few minutes, so again it seems something related to the LGSM startup script.

<!-- gh-comment-id:2324792699 --> @Kylindrias commented on GitHub (Sep 2, 2024): As an update, I can now join the server and play, but the server seems to constantly crash or restart after playing for only 5 minutes, so appears there's still some other issues I need to narrow down. Testing the _launch.sh file it seemed to run without crashing after just a few minutes, so again it seems something related to the LGSM startup script.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2881
No description provided.