Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ServerMultiplayerManager.cpp:732: Matching server connection failed: Error when creating server game: Missing token. #450

Open
boweiliu opened this issue Oct 22, 2022 · 2 comments

Comments

@boweiliu
Copy link

Can you provide some more context here?

1.046 Error ServerMultiplayerManager.cpp:732: Matching server connection failed: Error when creating server game: Missing token.

I'm trying to run some automated unit tests in a docker container and would like to be able to fix whatever config is causing this ^ error message. I'm using the default run command in the readme -

sudo mkdir -p /opt/factorio
sudo chown 845:845 /opt/factorio
sudo docker run -d \
  -p 34197:34197/udp \
  -p 27015:27015/tcp \
  -v /opt/factorio:/factorio \
  --name factorio \
  --restart=always \
  factoriotools/factorio
@boweiliu boweiliu changed the title 1.046 Error ServerMultiplayerManager.cpp:732: Matching server connection failed: Error when creating server game: Missing token. Error ServerMultiplayerManager.cpp:732: Matching server connection failed: Error when creating server game: Missing token. Oct 23, 2022
@boweiliu
Copy link
Author

Googled it, found out i was missing a username and password to publicly host the game in server-settings.json : https://forums.factorio.com/viewtopic.php?t=30779

Am now getting

   1.129 Error InterruptibleStdioStream.cpp:61: Got EOF on stdin; closing

@boweiliu
Copy link
Author

Fixed by adding -it flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant