Jump to content

Dedicated Server Error with my server token


Recommended Posts

CURL ERROR: Failed to connect to login.kleientertainment.com port 443: Bad access
[00:00:01]: [0] Account Failed (6): ""
[00:00:01]: [Warning] Empty error code received, dumping response:
[00:00:01]: 
[00:00:01]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:01]: !!!! Your Server Will Not Start !!!!
[00:00:01]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:01]: If you wish to run your server without authentication
[00:00:01]: Or if you wish to use your server for a LAN game
[00:00:01]: You must run it in 'lan mode'
[00:00:01]: Add the command line argument -lan
[00:00:01]: 
To generate a server_token from a game client, open console
[00:00:01]: open console with the tilda key (~)
[00:00:01]: Type: TheNet:GenerateServerToken()

 

I created a new server token and butt it in the server directory but it didn't work

 

Just so you know my servers directory isn't C:\Users\Vance\Documents\Klei\DoNotStarveTogether

it's​ C:\Users\Vance\Documents\Klei\myDSTserver

Link to comment
Share on other sites

You're supposed to put the token file in the server's configuration directory, not where the server is installed. In your case, put it here:

 

C:\Users\Vance\Documents\Klei\DoNotStarveTogether

 

Alternatively, you can write the token in settings.ini under the [account] section, like so:

 

server_token = [insert personal server token]

Link to comment
Share on other sites

I just had the same problem. It was a simple fix that took my hours to find -_-

The solution was to give the Don't Starve Together Dedicated Server program administrative rights.

 

You can find this .exe by:

Open Steam -> Library -> Tools -> Don't Starve Together Dedicated Server -> Right click -> Properties

-> Local Files -> Browse Local Files -> Bin

-> Right click the "dontstarve_dedicated_server_nullrenderer" and then Run as adminstrator

 

 

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