vodlie Posted July 6, 2021 Share Posted July 6, 2021 I tried starting up a dedicated server following the guide and this is what happens. At first I tried starting up my cluster_4 world into a dedicated server since im on day 200 there and I got that same error , downloading a whole new server from the klei website yield the same results Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/ Share on other sites More sharing options...
Duck986 Posted July 6, 2021 Share Posted July 6, 2021 As it says, you need a cluster token. To acquire and use it, you need: Spoiler go to main menu open console (~ or ` or ё by default) print TheNet:GenerateServerToken() and press Enter go here and copy this character set go into your dedi server folder, find (or create) a file cluster_token.txt and put this characters in there it should look like this: launch your server using .bat files you've created for your dedi server. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476729 Share on other sites More sharing options...
vodlie Posted July 6, 2021 Author Share Posted July 6, 2021 2 hours ago, Duck986 said: As it says, you need a cluster token. To acquire and use it, you need: Hide contents go to main menu open console (~ or ` or ё by default) print TheNet:GenerateServerToken() and press Enter go here and copy this character set go into your dedi server folder, find (or create) a file cluster_token.txt and put this characters in there it should look like this: launch your server using .bat files you've created for your dedi server. exactly what i did. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476765 Share on other sites More sharing options...
vodlie Posted July 6, 2021 Author Share Posted July 6, 2021 3 hours ago, Duck986 said: As it says, you need a cluster token. To acquire and use it, you need: Reveal hidden contents go to main menu open console (~ or ` or ё by default) print TheNet:GenerateServerToken() and press Enter go here and copy this character set go into your dedi server folder, find (or create) a file cluster_token.txt and put this characters in there it should look like this: launch your server using .bat files you've created for your dedi server. typing in TheNet:GenerateServerToken() gives me this Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476772 Share on other sites More sharing options...
Duck986 Posted July 7, 2021 Share Posted July 7, 2021 9 hours ago, vodlie said: typing in TheNet:GenerateServerToken() gives me this oh, I'm sorry, it's TheNet:GenerateClusterToken() Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476908 Share on other sites More sharing options...
Captain_Rage Posted July 7, 2021 Share Posted July 7, 2021 Press backspace when you are in the game to make sure you are logged in and connected to / authenticated by the Klei servers. You can post a screenshot after doing the above. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476921 Share on other sites More sharing options...
vodlie Posted July 7, 2021 Author Share Posted July 7, 2021 still getting this after doing what ya told me with the cluster token 5 hours ago, Captain_Rage said: Press backspace when you are in the game to make sure you are logged in and connected to / authenticated by the Klei servers. You can post a screenshot after doing the above. here Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476970 Share on other sites More sharing options...
Captain_Rage Posted July 7, 2021 Share Posted July 7, 2021 Thanks! Sorry, I thought logging in through the main menu would be enough but apparently you have to host / join a game in order to see whether you are connected to Klei's servers. :v This is what we are interested in: It should tell us if you are connected to the servers that handle the user authentication. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1476993 Share on other sites More sharing options...
vodlie Posted July 7, 2021 Author Share Posted July 7, 2021 1 hour ago, Captain_Rage said: Thanks! Sorry, I thought logging in through the main menu would be enough but apparently you have to host / join a game in order to see whether you are connected to Klei's servers. :v This is what we are interested in: It should tell us if you are connected to the servers that handle the user authentication. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1477018 Share on other sites More sharing options...
Captain_Rage Posted July 7, 2021 Share Posted July 7, 2021 Hmmmmm. It looks like you are indeed connected to the Klei servers (which provide authentication for users). Are you executing the command locally or remotely? You can toggle whether the command gets executed remotely or locally by pressing Ctrl while the console is open. Not sure if this matters in this case but it might be worth to try both. Here is a step-by-step guide, although it mostly states what you've tried already: http://dst-dedicated.mathielo.com/docs/ClusterToken.html It should also be possible to generate cluster tokens on the Klei Account site. If the above still won't work you can try doing that and paste the token string into the "cluster_token.txt" file. According to your screenshot your machine is running Windows. Do you have a file called "cluster_token.txt" inside the folder called "DSTClusterConfig" under "C:\Users\<username>\Documents\Klei\DoNotStarveTogether"? What folders are currently present there...? There is an old thread describing an identical issue from 2016 albeit it went unresolved: https://forums.kleientertainment.com/forums/topic/64319-200-account-failed-6-e_invalid_token/ Edit: Corrected typos. Link to comment https://forums.kleientertainment.com/forums/topic/131597-dedicated-server-not-starting/#findComment-1477030 Share on other sites More sharing options...
Recommended Posts
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.