Factorio 1.1.49 headless server token not working
Posted: Mon Dec 20, 2021 2:40 pm
Hello. First off i was looking for some solutions for my problem but everything i found did not help me solve this problem. At the moment i can start the server without problems but it is not in the public server list.
If i use Username and Password it will show in public list but as i am not the only one who has access to the server config files i don't feal comfortable using it.
I can connect and play as normal but only using Server_IP:Port not the public server list.
In the log file im getting this error:
The configuration is set as follows (think there is no problem there)
server-settings.json
If i use Username and Password it will show in public list but as i am not the only one who has access to the server config files i don't feal comfortable using it.
I can connect and play as normal but only using Server_IP:Port not the public server list.
In the log file im getting this error:
Code: Select all
37.545 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({192.168.1.99:34200}))
37.545 Hosting game at IP ADDR:({192.168.1.99:34200})
37.545 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=4
37.915 Info AuthServerConnector.cpp:68: Obtained serverPadlock for serverHash (cAU0S9p2fiXU6RZX1kztAbkTsOeiJop6) from the auth server.
37.915 Info ServerMultiplayerManager.cpp:797: updateTick(0) changing state from(CreatingGame) to(InGame)
37.974 Info ServerRouter.cpp:657: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
37.974 Info UDPSocket.cpp:39: Opening socket for broadcast
37.975 Info RemoteCommandProcessor.cpp:130: Starting RCON interface at IP ADDR:({0.0.0.0:7779})
38.144 Info RemoteCommandProcessor.cpp:241: New RCON connection from IP ADDR:({192.168.1.99:35138})
138.325 Error ServerMultiplayerManager.cpp:734: Matching server connection failed: Error when creating server game: Download failed (status code 401): auth error: Missing username.
226.342 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:59570}))
226.342 Refusing connection for address (IP ADDR:({192.168.1.1:59570})), username (Dymas_CZ). UserVerificationMissing
226.892 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:57707}))
226.892 Refusing connection for address (IP ADDR:({192.168.1.1:57707})), username (Dymas_CZ). PasswordMissing
230.859 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:51317}))
230.859 Refusing connection for address (IP ADDR:({192.168.1.1:51317})), username (Dymas_CZ). ModsMismatch
296.675 Info AppManager.cpp:420: Saving game as /home/amp/.ampdata/instances/FactorioModded/factorio/./saves/Start_20-12-2021.zip
296.876 Info AppManagerStates.cpp:1942: Saving finished
368.676 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:55777}))
368.676 Refusing connection for address (IP ADDR:({192.168.1.1:55777})), username (Dymas_CZ). UserVerificationMissing
369.342 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:55778}))
369.343 Refusing connection for address (IP ADDR:({192.168.1.1:55778})), username (Dymas_CZ). PasswordMissing
374.676 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.1.1:54590}))
374.676 Info ServerRouter.cpp:467: Replying to connectionRequest for address(IP ADDR:({192.168.1.1:54590})).
server-settings.json
Code: Select all
{
"name": "My Awesome Server",
"description": "Cool Factorio Server",
"tags": [
"modded",
"private"
],
"max_players": 15,
"visibility": {
"public": true,
"lan": true
},
"username": "",
"password": "",
"token": "token_from_factorio.com",
"game_password": "Secure_Passwd",
"require_user_verification": true,
"max_upload_in_kilobytes_per_second": 0,
"minimum_latency_in_ticks": 0,
"ignore_player_limit_for_returning_players": false,
"allow_commands": "admins-only",
"autosave_interval": 10,
"autosave_slots": 10,
"afk_autokick_interval": 0,
"auto_pause": true,
"only_admins_can_pause_the_game": true,
"autosave_only_on_server": true,
"admins": [
"Dymas_CZ"
],
"non_blocking_saving": true
}