[GH-ISSUE #1475] Factorio Matching server connection #1153

Closed
opened 2026-02-27 02:55:36 +03:00 by kerem · 4 comments
Owner

Originally created by @NebriBlackwing on GitHub (Jun 18, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1475

Hey everyone,

trying to solve this in my Factorio server setup:

1.252 Error ServerMultiplayerManager.cpp:592: Matching server connection failed: Error when creating server game: Missing token.

full log below. Anybody able to help diagnosis? my game is not showing up in the public games list.

0.000 2017-06-18 12:44:41; Factorio 0.14.23 (build 25374, linux64, headless) 0.048 Operating system: Linux (Ubuntu 16.04) 0.048 Program arguments: "./factorio" "--start-server" "/home/factorio/serverfiles/save1.zip" "--server-settings" "/home/factorio/serverfiles/data/fctr-server.json" "--port" "34197" "--rcon-port" "34198" "--rcon-password" "CHANGE_ME" 0.048 Read data path: /home/factorio/serverfiles/data 0.048 Write data path: /home/factorio/serverfiles 0.048 Binaries path: /home/factorio/serverfiles/bin 0.056 System info: [CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 1 core, RAM: 983MB] 0.056 Running in headless mode 0.058 Loading mod core 0.0.0 (data.lua) 0.061 Loading mod base 0.14.23 (data.lua) 0.124 Checksum for core: 1291735968 0.125 Checksum for mod base: 786624017 0.435 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1497804199 0.435 Info PlayerData.cpp:62: Cloud player-data.json unavailable 0.441 Custom inputs active: 0 0.441 Factorio initialised 0.442 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0). 0.442 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame) 0.442 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame) 0.447 Loading map /home/factorio/serverfiles/save1.zip 0.447 Error FileUtil.cpp:284: Can't remove /home/factorio/serverfiles/temp/currently-playing: No such file or directory 0.471 Info Scenario.cpp:152: Map version 0.14.23-0 0.559 Checksum for script /home/factorio/serverfiles/temp/currently-playing/control.lua: 1057114497 0.559 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197) 0.560 Hosting game at 0.0.0.0:34197 0.560 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock 1.037 Info HttpSharedState.cpp:111: Status code: 200 1.037 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (vQgGBsSwGuNBufiqLK3ByAD7bSEDoi7i) from the auth server. 1.037 Info ServerMultiplayerManager.cpp:658: mapTick(1230) changing state from(CreatingGame) to(InGame) 1.037 Info ServerRouter.cpp:604: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address 1.080 Info UDPSocket.cpp:39: Opening socket for broadcast 1.101 Info RemoteCommandProcessor.cpp:97: Starting RCON interface at port 34198 1.235 Info ServerRouter.cpp:497: Own address is 207.210.1.145:34197 1.252 Error ServerMultiplayerManager.cpp:592: Matching server connection failed: Error when creating server game: Missing token.

Originally created by @NebriBlackwing on GitHub (Jun 18, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1475 Hey everyone, trying to solve this in my Factorio server setup: 1.252 Error ServerMultiplayerManager.cpp:592: Matching server connection failed: Error when creating server game: Missing token. full log below. Anybody able to help diagnosis? my game is not showing up in the public games list. `0.000 2017-06-18 12:44:41; Factorio 0.14.23 (build 25374, linux64, headless) 0.048 Operating system: Linux (Ubuntu 16.04) 0.048 Program arguments: "./factorio" "--start-server" "/home/factorio/serverfiles/save1.zip" "--server-settings" "/home/factorio/serverfiles/data/fctr-server.json" "--port" "34197" "--rcon-port" "34198" "--rcon-password" "CHANGE_ME" 0.048 Read data path: /home/factorio/serverfiles/data 0.048 Write data path: /home/factorio/serverfiles 0.048 Binaries path: /home/factorio/serverfiles/bin 0.056 System info: [CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 1 core, RAM: 983MB] 0.056 Running in headless mode 0.058 Loading mod core 0.0.0 (data.lua) 0.061 Loading mod base 0.14.23 (data.lua) 0.124 Checksum for core: 1291735968 0.125 Checksum for mod base: 786624017 0.435 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1497804199 0.435 Info PlayerData.cpp:62: Cloud player-data.json unavailable 0.441 Custom inputs active: 0 0.441 Factorio initialised 0.442 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0). 0.442 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame) 0.442 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame) 0.447 Loading map /home/factorio/serverfiles/save1.zip 0.447 Error FileUtil.cpp:284: Can't remove /home/factorio/serverfiles/temp/currently-playing: No such file or directory 0.471 Info Scenario.cpp:152: Map version 0.14.23-0 0.559 Checksum for script /home/factorio/serverfiles/temp/currently-playing/control.lua: 1057114497 0.559 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197) 0.560 Hosting game at 0.0.0.0:34197 0.560 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock 1.037 Info HttpSharedState.cpp:111: Status code: 200 1.037 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (vQgGBsSwGuNBufiqLK3ByAD7bSEDoi7i) from the auth server. 1.037 Info ServerMultiplayerManager.cpp:658: mapTick(1230) changing state from(CreatingGame) to(InGame) 1.037 Info ServerRouter.cpp:604: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address 1.080 Info UDPSocket.cpp:39: Opening socket for broadcast 1.101 Info RemoteCommandProcessor.cpp:97: Starting RCON interface at port 34198 1.235 Info ServerRouter.cpp:497: Own address is 207.210.1.145:34197 1.252 Error ServerMultiplayerManager.cpp:592: Matching server connection failed: Error when creating server game: Missing token. `
kerem 2026-02-27 02:55:36 +03:00
Author
Owner

@MarkTwoFive commented on GitHub (Jun 18, 2017):

  1. The message tells you exactly what your problem is
  2. Please format logs || Better use hastebin/pastebin
  3. /home/factorio/serverfiles/data/fctr-server.json look through there search for a property where it would be appropriate to enter the token
  4. If you haven't: Remember to set your RCON-Password
  5. The issues aren't intended for server support - They're there for bug reports such as crashes and hangs during installation where LGSM actually does something.
<!-- gh-comment-id:309295951 --> @MarkTwoFive commented on GitHub (Jun 18, 2017): 1. The message tells you exactly what your problem is 2. Please format logs || Better use hastebin/pastebin 3. ``/home/factorio/serverfiles/data/fctr-server.json`` look through there search for a property where it would be appropriate to enter the token 4. If you haven't: Remember to set your RCON-Password 5. The issues aren't intended for server support - They're there for bug reports such as crashes and hangs during installation where LGSM actually does something.
Author
Owner

@MarkTwoFive commented on GitHub (Jun 18, 2017):

From Factorio forums:

How to List Your Server-Hosted Game on the Matching Server
In order to publish the game to the matching server, Factorio needs to be given some more information than just the save file location. These information are provided in a server settings file.

To create a server settings file, look at the example file located in data/server-settings.example.json in the Factorio Application Directory. The recommended way is to make a copy of this example file and edit the copy.

The following values can be changed:

Name: This will be the name under which the server will be listed in the server browser
Description: A brief description of your server
Tags: A list of game tags
Max Players: Allows you to limit the number of players that can be connected to the server at the same time. If you want no limit, just set max_players to 0.
Visibility for server browser: May be either public, lan or hidden.
Public: The server will appear in the public server list. This requires the login credentials below to be filled in.
LAN: The server will not appear in the public server list, but will be available through the Play On LAN button
Hidden: Clients will have to connect using the server's IP address
User credentials using a username and password or authentication token: These are necessary if you wish to make the server public. Otherwise, they can be left empty.
For security reasons it is recommended to use authentication token as this document is stored as plaintext. Though it should be noted that an authentication token is a sensitive piece of information as well, and you are well-advised to keep it secret.

Server Password
Field name is game_password
Whether to verify user identity

<!-- gh-comment-id:309296136 --> @MarkTwoFive commented on GitHub (Jun 18, 2017): From Factorio forums: >How to List Your Server-Hosted Game on the Matching Server >In order to publish the game to the matching server, Factorio needs to be given some more information than just the save file location. These information are provided in a server settings file. > >To create a server settings file, look at the example file located in data/server-settings.example.json in the Factorio Application Directory. The recommended way is to make a copy of this example file and edit the copy. > >The following values can be changed: > >Name: This will be the name under which the server will be listed in the server browser >Description: A brief description of your server >Tags: A list of game tags >Max Players: Allows you to limit the number of players that can be connected to the server at the same time. If you want no limit, just set max_players to 0. >Visibility for server browser: May be either public, lan or hidden. >Public: The server will appear in the public server list. This requires the login credentials below to be filled in. >LAN: The server will not appear in the public server list, but will be available through the Play On LAN button Hidden: Clients will have to connect using the server's IP address ___User credentials using a username and password or authentication token: These are necessary if you wish to make the server public. Otherwise, they can be left empty. For security reasons it is recommended to use authentication token as this document is stored as plaintext. Though it should be noted that an authentication token is a sensitive piece of information as well, and you are well-advised to keep it secret.___ Server Password Field name is game_password Whether to verify user identity
Author
Owner

@UltimateByte commented on GitHub (Jun 19, 2017):

Missing token says it all.
You need to register your game server.

<!-- gh-comment-id:309511389 --> @UltimateByte commented on GitHub (Jun 19, 2017): Missing token says it all. You need to register your game server.
Author
Owner

@lock[bot] commented on GitHub (Jul 18, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406073090 --> @lock[bot] commented on GitHub (Jul 18, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1153
No description provided.