Can't Connect to Server

according to the log your server tries to read serveradmin.xml many times.

The syntax of the file could be wrong but I don't see anything suspicious (though I have no means to compare at the moment). Sending it through an xml validator on the net could help or just compare it to a pristine copy. If you delete it, it should also be generated as a new file. Since you don't seem to have made any edits to the file anyway this seems to be the first thing I would try out.

Another possibility is that the game can't access the file because of permissions on the path or the file itself.

 
What version of the game are you running? That serveradmin.xml looks like an old version. You don't have any custom info in there

so I would just delete it and get the latest one.

That said, I too don't see any errors in it so it may well be a permissions issue like @meganothsaid.

You're loading the save game from your /home folder, which, for a server, is not a great idea permissions wise.

I would create a folder in your game folder for saves and point the game there using the serverconfig.xml.

(this line: <!-- <property name="UserDataFolder" etc.)

 
according to the log your server tries to read serveradmin.xml many times.

The syntax of the file could be wrong but I don't see anything suspicious (though I have no means to compare at the moment). Sending it through an xml validator on the net could help or just compare it to a pristine copy. If you delete it, it should also be generated as a new file. Since you don't seem to have made any edits to the file anyway this seems to be the first thing I would try out.

Another possibility is that the game can't access the file because of permissions on the path or the file itself.
Hello, I tried deleting the serveradmin.xml last night as well and it recreated a fresh one, but i still encountered the same issue. I will try to change the permissions on the file. It is just a regular white file instead of green executable like the serverconfig file, so that might be it

What version of the game are you running? That serveradmin.xml looks like an old version. You don't have any custom info in there

so I would just delete it and get the latest one.

That said, I too don't see any errors in it so it may well be a permissions issue like @meganothsaid.

You're loading the save game from your /home folder, which, for a server, is not a great idea permissions wise.

I would create a folder in your game folder for saves and point the game there using the serverconfig.xml.

(this line: <!-- <property name="UserDataFolder" etc.)
I just updated the server yesterday so it should be in the latest version. I tried deleting the old the serveradmin.xml and this should be a fresh one. I just deleted it again just in case. It seems to create a new file immediately. I will try moving the saves folder as well. thank you. I will get back to you soon with my results

 
Last edited by a moderator:
Hello, I tried deleting the serveradmin.xml last night as well and it recreated a fresh one, but i still encountered the same issue. I will try to change the permissions on the file. It is just a regular white file instead of green executable like the serverconfig file, so that might be it
It does not need to be executable. And if the game can create the file it also will be able to read it.

Please post a new output.log to pastebin, and this time a complete one.

 
It does not need to be executable. And if the game can create the file it also will be able to read it.

Please post a new output.log to pastebin, and this time a complete one.
https://pastebin.com/TygJsPP5
there is the latest output log. I moved the saves folder in the serverconfig.xml and im not getting the serveradmin.xml error anymore, but i still cant connect. here is my client-side logs. I have tried connecting to other servers and i can connect fine.
https://pastebin.com/XiKKivVx

 
The server never gets contacted, it is a network issue. You could try to turn on steamnetworking and turn off litenetlib for a test.

I assume both server and client are in the same LAN and you use the local IP to connect?

 
The server never gets contacted, it is a network issue. You could try to turn on steamnetworking and turn off litenetlib for a test.

I assume both server and client are in the same LAN and you use the local IP to connect?
I have tried using the local IP and the public IP

I will try changing that setting.

Palm said:
I have tried using the local IP and the public IP

I will try changing that setting.
so now connecting locally seems to work, but public IP is not. i have not changed that setting yet. I will now

The server never gets contacted, it is a network issue. You could try to turn on steamnetworking and turn off litenetlib for a test.

I assume both server and client are in the same LAN and you use the local IP to connect?
it looks like changing this fixed it. in the serverconfig it says steamnetworking should be disabled for dedicated servers. is it fine to use it anyways?
Thanks

 
steamnetworking is for NAT setups. Should be deactived for rented servers as they are almost never behind NAT.

I don't know of any disadvantages of steamnetworking, may be it has just a little more overhead.

 
steamnetworking is for NAT setups. Should be deactived for rented servers as they are almost never behind NAT.

I don't know of any disadvantages of steamnetworking, may be it has just a little more overhead.
Thanks for all the help. It seems to be running fine now.

 
Back
Top