Jump to content

Dedicated Server Not Recognizing/Registering Steam Ports


Recommended Posts

Hello there!

Currently experiencing a quite strange series of events regarding the configuration of this server I have laying around. It's been running fine until roughly six hours from the time I'm posting this. Not only did I loose my dedicated servers world but I'm no longer able to list my server to even connect to it after the preconfiguration files load due to the fact I cannot seem to get it to connect to the Steam servers. 

Strange part is I had everything setup perfectly over six hours ago and it's ran flawless for weeks. Have no idea what might cause this but here's some of the debug print for additional information

[00:00:24]: [Warning] SteamGameServer_Init failed
[00:00:24]: Your server will still start, but some Steam functionality may be missing.
[00:00:24]: Steam ports can be configured through command line by adding:
[00:00:24]: -steam_authentication_port 12345 -steam_master_server_port 12346
[00:00:24]: or through settings.ini, under the [network] heading
[00:00:24]: steam_authentication_port = 12345
[00:00:24]: steam_master_server_port  = 12346
[00:00:24]: Auth port: 12407 Master server port: 12406
[00:00:24]: Validating portal[10] <-> <nil>[10] (inactive)	
[00:00:24]: Validating portal[5] <-> <nil>[5] (inactive)	
[00:00:24]: Validating portal[7] <-> <nil>[7] (inactive)	
[00:00:24]: Validating portal[8] <-> <nil>[8] (inactive)	
[00:00:24]: Validating portal[1] <-> <nil>[1] (inactive)	
[00:00:24]: Validating portal[9] <-> <nil>[9] (inactive)	
[00:00:24]: Validating portal[4] <-> <nil>[4] (inactive)	
[00:00:24]: Validating portal[2] <-> <nil>[2] (inactive)	
[00:00:24]: Validating portal[6] <-> <nil>[6] (inactive)	
[00:00:24]: Validating portal[3] <-> <nil>[3] (inactive)	
[00:00:24]: Sim paused

.Alright, so this is what is printed after it's finished loading which is pretty standard stuff minus the fact the ports seem slightly different so allow me to post the network settings in code-format for an easy read which might clear this next part up.

[network]
default_server_name = 
default_server_description = 
server_port = 1086
max_players = 6
pvp = false
game_mode = wilderness
server_password = 
enable_snapshots = false
enable_autosaver = true
enable_vote_kick = false
pause_when_empty = true
steam_authentication_port = 12345
steam_master_server_port = 12346
connection_timeout = 3000
server_save_slot = 1
steam_group_id = 
steam_group_only = false
server_intention = madness
[STEAM]
DISABLECLOUD = true
[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = false
MODS_ENABLED = true
[shard]
shard_enable = true
is_master = true
master_ip = 127.0.0.1
master_port = 12406
shard_name = 
cluster_key =

Of course, by default the blank spots following the equal sign were removed for privacy purposes-- if a staff member requires such information I will relay it via PM, not to the public.

Anywho, moving on. Now that you're able to see the issue I'm having along with my main settings.ini file you'll see my problem here. Perhaps I over looked something, I'm not fully sure! That's why I'm here to clear some things up seeing this might be something that just occurred a few hours ago. Strange part is sometimes the server shows up on the list once it's done compiling, sometimes it doesn't. 

So, before I pull out my hair in anger I'll await a response. If you'd like to request additional information I'll gladly provide what's needed. The log files are indeed empty, but I can run some tests to get the logs back up and running. 

Thanks,

-NoJoke

Link to comment
Share on other sites

Just now, ToNiO55 said:

Hi @NoJoke

i have already report this problem:

 

it's look like is missing some files of steam (steamclient.so)

so we need wait devs fixed this for steam port works again

Thanks, I would like a developer to confirm this just to make sure along with an estimated time on when it will be resolved. I'm sure there's a way around it, I'll fiddle around and see what I can find in the meantime!

Link to comment
Share on other sites

Just now, NoJoke said:

Thanks, I would like a developer to confirm this just to make sure along with an estimated time on when it will be resolved. I'm sure there's a way around it, I'll fiddle around and see what I can find in the meantime!

yes i think it's possible

i don't know what it's your system of your dedicated server

but im on Linux and i think we just need to upload steamclient.so, maybe here:

/server_dst/steamapps/steamclient.so

unfortunatly i have not testing, and maybe i going testing later

Link to comment
Share on other sites

44 minutes ago, ToNiO55 said:

yes i think it's possible

i don't know what it's your system of your dedicated server

but im on Linux and i think we just need to upload steamclient.so, maybe here:

/server_dst/steamapps/steamclient.so

unfortunatly i have not testing, and maybe i going testing later

I have a few things in testing as we speak, I'll keep this updated as much as I can to assist others with this issue.

Edit (2/12/2016 8:50 EST): Currently lurking in the API to see what the issue is for a temporary fix until a global fix is applied if needed. There's no guarantee I'll be able to find a solution to this issue but I'll do my best for a temporary fix. 

All information and suggestions are welcomed and appreciated!

Link to comment
Share on other sites

TEMPORARY FIX (Subject to change, may not work for everyone):

ServerFiles\DoNotStarveTogether\Server.ini + ServerFiles\DoNotStarveTogether\Server\Master\server.ini

[network]
default_server_name = Your Server Name Here
default_server_description = Your Server Description Here
server_port = 1086
max_players = 6
pvp = false (or) true
game_mode = wilderness
server_password = Your Server Password
enable_snapshots = false
enable_autosaver = true
enable_vote_kick = false
pause_when_empty = true
steam_authentication_port = 12345
steam_master_server_port = 12346
connection_timeout = 3000
server_save_slot = 1
steam_group_id = 
steam_group_only = false
server_intention = madness

[MISC]
autocompiler_enabled = false
console_enabled = true
mods_enabled = true


[STEAM]
cloud_enabled = true

ServerFiles\DoNotStarveTogether\Server\Caves\server.ini

[NETWORK]
server_port = 1086

[SHARD]
is_master = true
name = Caves

[STEAM]
master_server_port = 1086
authentication_port = 11262

You may still get the error:

[00:00:31]: [Warning] SteamGameServer_Init failed
[00:00:31]: Your server will still start, but some Steam functionality may be missing.
[00:00:31]: Steam ports can be configured through command line by adding:
[00:00:31]: -steam_authentication_port 12345 -steam_master_server_port 12346
[00:00:31]: or through settings.ini, under the [network] heading
[00:00:31]: steam_authentication_port = 12345
[00:00:31]: steam_master_server_port  = 12346
[00:00:31]: Auth port: 12407 Master server port: 12406

But you're still able to play the game on your server. Edit this to your liking, this is just a small fix that I managed to stumble upon that seems to work for me-- hope it helps you guys as well! Crazy update though, make sure you update your client_token.txt before launching!

Happy gaming! :D

Link to comment
Share on other sites

@NoJoke

you can also make this:

you need to put steamclient.so here: /home/user/server/bin/lib32/

and your steam port going works again without errors

you can find steamclient.so here: /home/user/server/bin/lib32

of course i think it's going fixed next update, but if you don't want wait, use this tips :)

Link to comment
Share on other sites

47 minutes ago, ToNiO55 said:

@NoJoke

you can also make this:

you need to put steamclient.so here: /home/user/server/bin/lib32/

and your steam port going works again without errors

you can find steamclient.so here: /home/user/server/bin/lib32

of course i think it's going fixed next update, but if you don't want wait, use this tips :)

Thanks for the information, I'll keep it in mind! Not to mention it may help others aswell. Seeing you're moderately tech-savvy aswell, perhaps you'd like to add on to the quick fix? Helped a handful of people so far but it seems it's individual issues. Hopefully this update will be pushed soon!

Link to comment
Share on other sites

Update on a temporary fix (HAS NOT BEEN TESTED WITH CAVES)

It appears on preconfigured servers there's two file locations for server.ini which should contain all the server data. The problem is, if both are active it creates a sever confliction when it attempts to go through the Steam ports for some strange reason resulting in a common error as of 2/12/2016-2/13/2016:

[00:00:31]: [Warning] SteamGameServer_Init failed
[00:00:31]: Your server will still start, but some Steam functionality may be missing.
[00:00:31]: Steam ports can be configured through command line by adding:
[00:00:31]: -steam_authentication_port 12345 -steam_master_server_port 12346
[00:00:31]: or through settings.ini, under the [network] heading
[00:00:31]: steam_authentication_port = 12345
[00:00:31]: steam_master_server_port  = 12346
[00:00:31]: Auth port: 12407 Master server port: 12406

The two server.ini files are located in ServerFiles\DoNotStarveTogether\Server.ini and ServerFiles\DoNotStarveTogether\Server\Master\server.ini which seems to be the problem for most preconfigured servers for some reason. Leave the server.ini file located in ServerFiles\DoNotStarveTogether\Server\Master\server.ini blank while keeping the server.ini file located in ServerFiles\DoNotStarveTogether\Server.ini with your actual server settings. 

The folder locations may vary depending on what provider you use, but you'll know what to look for when the time comes. As strange as this sounds, it worked for some reason. The debug isn't printing anything regarding a conflicting error however it could be a list of things that could potentially cause such a thing. 

As a note, this error can cause your server to simply not be listed due to the fact the Steam ports are not correct and/or cannot be accessed by the server itself. Therefore, you need to make sure this is resolved to minimize any potential issues that could occur. For instance, I was running both server.ini files in both folder locations yesterday without a problem but I still had the error stated above. Just this morning when I went to check on my server I noticed it was no longer listed. Tried restarting it, changing the ports around, nothing worked. So, removing the stated settings in the ServerFiles\DoNotStarveTogether\Server\Master\ folder should do the trick.

Ports used:

server_port = 10999
steam_authentication_port = 1086
steam_master_server_port = 11262

Debug after doing this process:

[00:00:24]: Reset() returning
[00:00:24]: [Steam] SteamGameServer_Init(12407, 1086, 12406)
[00:00:25]: [Steam] SteamGameServer_Init success
[00:00:25]: Validating portal[7] <-> <nil>[7] (inactive)	
[00:00:25]: Validating portal[2] <-> <nil>[2] (inactive)	
[00:00:25]: Validating portal[5] <-> <nil>[5] (inactive)	
[00:00:25]: Validating portal[1] <-> <nil>[1] (inactive)	
[00:00:25]: Validating portal[3] <-> <nil>[3] (inactive)	
[00:00:25]: Validating portal[4] <-> <nil>[4] (inactive)	
[00:00:25]: Validating portal[6] <-> <nil>[6] (inactive)	
[00:00:25]: Validating portal[8] <-> <nil>[8] (inactive)	
[00:00:25]: Validating portal[10] <-> <nil>[10] (inactive)	
[00:00:25]: Validating portal[9] <-> <nil>[9] (inactive)	
[00:00:25]: Sim paused

Hope this helped, I'll be continuing to update this thread with what I can find regarding the port issues. There's bound to be more issues out there so feel free to ask questions here so we don't flood the forums if it's related to the topic. I'll gladly look into the situation and attempt to resolve the problem as long as it's within my power. 

Remember, if there's any errors stated in the debug when your server starts you should always look into them. Errors are never a good thing and should never be ignored, no matter how big or small they are-- they only cause problems! 

Game on,

@NoJoke

Link to comment
Share on other sites

Hi @NoJoke

it's look like fixed since hot fix:

http://steamcommunity.com/games/322330/announcements/detail/666900269496688466

Bug Fixes:

Fixed missing file in Linux dedicated server package

and for me it's works in my both server.ini

server.ini of Master:

[STEAM]
master_server_port = 12376
authentication_port = 12377

 

server.ini my Caves:

[STEAM]
master_server_port = 12378
authentication_port = 12377

 

Link to comment
Share on other sites

1 minute ago, ToNiO55 said:

Hi @NoJoke

it's look like fixed since hot fix:

http://steamcommunity.com/games/322330/announcements/detail/666900269496688466

Bug Fixes:

Fixed missing file in Linux dedicated server package

Thanks, it must of been my own fault for redirecting my pathing. The host I'm using for the preconfigured server has been kinda messy with their file structure which became slightly confusing at first. Pardon my ignorance for not staying up to date with the patch notes-- I'll start doing that more often. Thanks for the correction, rather see the correct information apposed from my own assumption that may or may not be correct. 

Link to comment
Share on other sites

2 minutes ago, ToNiO55 said:

@NoJoke

it's ok you try to help community so much

and i like this also :)

Now it's just a matter of re-configuring the server to apply caves. From what I've read, you no longer need two servers to host caves, right? It can be done with a single server now from my understanding, if so is there an updated guide that isn't pre-patch 2/13/2016? If it is a pre-patch, as long as it still works with the new one that just came out I'd love to read it. Perhaps you'd have a link to a reliable source that's updated? The ones I've seen so far are outdated. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...