Closed Alino closed 6 years ago
Interesting that you have the token to come in from the server: AuthServerConnector.cpp:171: Got token from auth server for username(1alino)
. This at least means that you're logging in correctly.
Have you verified that this issue is related to the docker profile itself and not an issue with your account? Are you able to host a matchmaking based game with this factorio.com username and password outside of the docker config?
Well when I tried to host a game from my computer nobody ever joined. But I believed it might have been issue with port forwarding not configured, which I am not able to do, due to my ISP limitations on my router, they restrict me from port forwarding settings. So I tried to set up the server on digital ocean VPS.
I think it was because of version mismatch. If you have older docker image with older factorio version, and your factorio game client is newer version. Then you cannot see hosted public games which are different version than yours.
I have stopped and removed existing factorio container
docker kill factorio && docker rm factorio
I have updated my docker image
docker pull dtandersen/factorio
Then recreate the container
docker run -d -p 34197:34197/udp -p 27015:27015/tcp \
-v /tmp/factorio:/factorio \
--name factorio \
--restart=always \
dtandersen/factorio
EDIT: I forgot to mention that I am no longer hosting it trough digital ocean but in the meantime I have bought my own passive home server and I made my ISP enable port forwarding on my router.
using digitalocean droplet "Ubuntu Docker 17.06.0-ce on 16.04"
steps:
docker stop factorio
docker rm factorio
rm /tmp/factorio/saves/*
then edit
/tmp/factorio/config/server-settings.json
to this:then start docker container again:
monitor what's going on:
outputs: