[1.198.033] Dedicated server fails to restart on its own
Hello Keen Support,
When scheduling automated restart on dedicated server (8h in our case), sometimes the new session gets stuck and fails to start up properly, possibly indicating a previous server session fails to gracefully exit and still has a socket registered, listening to the TCP port. This seems to happen regularly once every 4 or 5 cycles. Our current fix is to kill all dedicated server tasks and start it up manually again. Please find attached an example startup log and let me know what additional info you need.
on the dedicated server GUI, this is the line the startup process is held up at:
Error binding server endpoint: Only one usage of each socket address (protocol/network address/port) is normally permitted
Community, I'm not interested in using Torch, don't bother suggesting that.
Hello, Dalten,
thanks for letting us know about our concern. However, when tried I was not able to reproduce this issue.
My test server was able to restart properly each and every time, even with different restart time settings etc.
I did get this error that you are mentioning, alongside with second error:
"This world can not be loaded. It has been created in a newer version of the game or in different branch of the game. You can change the branch, before launching the game, in game properties."
But only when I indeed did try to run server from newer version of the game, on the older client. This error appeared when tried to run the newer version server AND is was still happening even when I realize and started completely new game so it fits the server app version.
My new server was Mars Planet, while the server still tried to run the Lone Survivor one. The Lone Survivor was somehow stuck there even after being properly stopped. It got fixed only by closing the server app completely and running it again.
Is it possible that you did something similar? Are you running multiple servers there on that machine? Are you switching them often? From time to time? Never? Did you also get in the console two different names of the server/world, when starting? Can you check?
If yes, that would be great, because we might be onto something here!
If not... well I don´t know. Since it´s not happening to me without me doing this silly mistake. In this case, it would be probably the best, if you can share me the save file of the affected server.
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 you reply and eventually for providing the safe.
Kind Regards
Keen Software House: QA Department
Hello, Dalten,
thanks for letting us know about our concern. However, when tried I was not able to reproduce this issue.
My test server was able to restart properly each and every time, even with different restart time settings etc.
I did get this error that you are mentioning, alongside with second error:
"This world can not be loaded. It has been created in a newer version of the game or in different branch of the game. You can change the branch, before launching the game, in game properties."
But only when I indeed did try to run server from newer version of the game, on the older client. This error appeared when tried to run the newer version server AND is was still happening even when I realize and started completely new game so it fits the server app version.
My new server was Mars Planet, while the server still tried to run the Lone Survivor one. The Lone Survivor was somehow stuck there even after being properly stopped. It got fixed only by closing the server app completely and running it again.
Is it possible that you did something similar? Are you running multiple servers there on that machine? Are you switching them often? From time to time? Never? Did you also get in the console two different names of the server/world, when starting? Can you check?
If yes, that would be great, because we might be onto something here!
If not... well I don´t know. Since it´s not happening to me without me doing this silly mistake. In this case, it would be probably the best, if you can share me the save file of the affected server.
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 you reply and eventually for providing the safe.
Kind Regards
Keen Software House: QA Department
Good morning Ondrej,
Thank you for the reply. Fortunately, this server only runs only one instance and world of space engineers, and the world was based off the Star System Template. This server never changes between worlds. This physical server is dedicated to just this function, so it runs no other game servers or web services of any kind.
the server and world name are different, but we have had this configuration for two years working fine. please see startup log and config below:
Is there currently a bug limiting this? if so, should I unify the names of Server and World name? A lot of community servers have different server and world names:
I have a copy of the world save uploaded to Google Drive for you. do you have a way for me to privately share the link with you (email perhaps)? I would rather not post it publicly.
On a side note, do you have any documented requirements regarding Antivirus policies, exemptions, etc? I'm running Sophos Home on this server. I appreciate all your help with this so far. Thank you.
Good morning Ondrej,
Thank you for the reply. Fortunately, this server only runs only one instance and world of space engineers, and the world was based off the Star System Template. This server never changes between worlds. This physical server is dedicated to just this function, so it runs no other game servers or web services of any kind.
the server and world name are different, but we have had this configuration for two years working fine. please see startup log and config below:
Is there currently a bug limiting this? if so, should I unify the names of Server and World name? A lot of community servers have different server and world names:
I have a copy of the world save uploaded to Google Drive for you. do you have a way for me to privately share the link with you (email perhaps)? I would rather not post it publicly.
On a side note, do you have any documented requirements regarding Antivirus policies, exemptions, etc? I'm running Sophos Home on this server. I appreciate all your help with this so far. Thank you.
Hello, Dalten,
yeah, sure. You can send it to: ondrej.borz@keenswh.com and I will take a look.
Towards your other question - no, it´s completely fine to have different names in server settings. Just mine example was when I realized I did that mistake. But since you do not run any more servers there, this is not the case :)
Thanks in advance for the save file.
Kind Regards
Keen Software House: QA Department
Hello, Dalten,
yeah, sure. You can send it to: ondrej.borz@keenswh.com and I will take a look.
Towards your other question - no, it´s completely fine to have different names in server settings. Just mine example was when I realized I did that mistake. But since you do not run any more servers there, this is not the case :)
Thanks in advance for the save file.
Kind Regards
Keen Software House: QA Department
Good morning Ondrej,
The issue just happened again, after a couple of days of having my server on a 10-hour restart cycle instead of 8 hours. here is the startup log. please let me know what other info I can provide.
Good morning Ondrej,
The issue just happened again, after a couple of days of having my server on a 10-hour restart cycle instead of 8 hours. here is the startup log. please let me know what other info I can provide.
Good morning Ondrej,
Any news on your end? the issue happened just today and 3 days ago on 6/24. we've been on a 10h cycle now
Good morning Ondrej,
Any news on your end? the issue happened just today and 3 days ago on 6/24. we've been on a 10h cycle now
Hello, Dalten,
sorry it is taking so long, but please do believe me that I´m trying my best here to make it happen on my side as well.
We have more work/issue to take care of but when I have some time to set the server and keep it running, I do so. So far, no luck, though :(
I will keep you updated if I will manage to make it happen! You can count on that.
Please, do believe me that it´s not that I completely abandon this issue just because there is no new comments from me. Take it more in a way that sadly there is nothing to share :(
Hope you understand. And thanks for you patience!
Kind Regards
Keen Software House: QA Department
Hello, Dalten,
sorry it is taking so long, but please do believe me that I´m trying my best here to make it happen on my side as well.
We have more work/issue to take care of but when I have some time to set the server and keep it running, I do so. So far, no luck, though :(
I will keep you updated if I will manage to make it happen! You can count on that.
Please, do believe me that it´s not that I completely abandon this issue just because there is no new comments from me. Take it more in a way that sadly there is nothing to share :(
Hope you understand. And thanks for you patience!
Kind Regards
Keen Software House: QA Department
Replies have been locked on this page!