Jump to content

"server will not start" even with the cluster_token.txt


Recommended Posts

 CURL ERROR: (login.kleientertainment.com) Failed to connect to login.kleientertainment.com port 443: Bad access
[00:00:04]: [0] Account Failed (6): ""
[00:00:04]: [Warning] Empty error code received, dumping response:
[00:00:04]:
[00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:04]: !!!! Your Server Will Not Start !!!!
[00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:04]: No auth token could be found.
[00:00:04]: To generate a cluster_token you must
[00:00:04]: open the console from a logged-in game
[00:00:04]: client with the tilda key (~ / ) and type:
[00:00:04]: TheNet:GenerateClusterToken()
[00:00:04]: This will create 'cluster_token.txt' in
[00:00:04]: your client settings directory. Copy this
[00:00:04]: into your cluster settings directory.
[00:00:04]: [Connect] PendingConnection::Reset(true)
[00:00:06]: ... FilesExistAsyncThread complete
 

 

After following all the steps for creating a dedicated server, this error still appearing for me. I don't know what to do, since I do have the klei access code and put it in C:\Users\Johnizitos\Documents\Klei\DoNotStarveTogether\MyDediServer
Lots of friends of mine bought the game due the promotiosn in steam, but without the dedicated server is almost impossible to play

Link to comment
Share on other sites

1 hour ago, MonkeyDJonh said:

 CURL ERROR: (login.kleientertainment.com) Failed to connect to login.kleientertainment.com port 443: Bad access
[00:00:04]: [0] Account Failed (6): ""
[00:00:04]: [Warning] Empty error code received, dumping response:
[00:00:04]:
[00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:04]: !!!! Your Server Will Not Start !!!!
[00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:04]: No auth token could be found.

I am 99% sure you don't have the right Token.

What you have to put in cluster_token.txt is not your KU ID but your token.

KU ID is something like KU_abc123 whereas token is much longer string

Link to comment
Share on other sites

  • Developer

If you want to test your token you can do this from a machine with curl (the real one, not the weird win10 alias)

curl -X POST -Hcontent-type:application/json -d '{"Token": "pds-g-blahblah"}' https://login.kleientertainment.com/TokenPurpose

You can also use postman or anything else that lets you do JSON POST requests.

Replace "pds-g-blahblah" obviously. Assuming I didn't typo any of that, it should tell you all the details on if the token is valid, and if so what KU it's for, etc.

Link to comment
Share on other sites

  • Developer
12 hours ago, cezarica said:

Shouldn't there be a space between "-H" and "content"? I tested with the space between them and works as intended.

Works fine without for me without (linux) but the space doesn't hurt. If you want to be really fancy you can do -H "Content-Type: application/json" but who has time for all that extra typing? :) 

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...