Palm Posted July 31, 2020 Share Posted July 31, 2020 As the title says, I cannot connect to my dedicated linux server. I created a pastebin with the end of the output log. It seems to start up fine, but I cannot connect to it, it keeps saying timed out in the client, and gives the errors in the pastebin.https://pastebin.com/JDG4CKT4 here is a pastebin of what my serveradmin xml folder looks like https://pastebin.com/kegeKFTu Link to comment Share on other sites More sharing options...
meganoth Posted July 31, 2020 Share Posted July 31, 2020 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. Link to comment Share on other sites More sharing options...
Beelzybub Posted July 31, 2020 Share Posted July 31, 2020 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.) Link to comment Share on other sites More sharing options...
Palm Posted July 31, 2020 Author Share Posted July 31, 2020 3 hours ago, meganoth said: 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 28 minutes ago, Beelzybub said: 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 Link to comment Share on other sites More sharing options...
meganoth Posted July 31, 2020 Share Posted July 31, 2020 1 hour ago, Palm said: 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. Link to comment Share on other sites More sharing options...
Palm Posted July 31, 2020 Author Share Posted July 31, 2020 23 minutes ago, meganoth said: 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 Link to comment Share on other sites More sharing options...
meganoth Posted August 1, 2020 Share Posted August 1, 2020 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? Link to comment Share on other sites More sharing options...
Palm Posted August 1, 2020 Author Share Posted August 1, 2020 21 minutes ago, meganoth said: 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. 3 minutes ago, 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 31 minutes ago, meganoth said: 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 Link to comment Share on other sites More sharing options...
meganoth Posted August 1, 2020 Share Posted August 1, 2020 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. Link to comment Share on other sites More sharing options...
Palm Posted August 1, 2020 Author Share Posted August 1, 2020 3 hours ago, meganoth said: 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.