[0.16.16] Linux Headless not working despite appearing to
Posted: Wed Jan 17, 2018 1:45 am
I'm running a headless 0.16.16 server on an Ubuntu linux server, and it appears for all intents and purposes to be running correctly. I have it installed to /opt/factorio, used a port I know is working with other games, configured the server-settings with my username and token (also tried with password), moved a world zip into a saves folder in the root, and the command line looks like it's working.
But when trying to connect directly on the same version, it shows the "Couldn't establish network communication" notice, and the server does not appear on the server list. Is there a step I missed, or does the output show anything that is going wrong? I can provide the server-settings.json or more detailed instructions of what I did if that would help. Thanks
Code: Select all
sudo /opt/factorio/bin/x64/factorio /opt/factorio/data/server-settings.json --start-server-load-latest
0.000 2018-01-16 18:37:33; Factorio 0.16.16 (build 34924, linux64, headless)
0.058 Operating system: Linux (Ubuntu 16.04)
0.058 Program arguments: "/opt/factorio/bin/x64/factorio" "/opt/factorio/data/server-settings.json" "--start-server-load-latest"
0.058 Read data path: /opt/factorio/data
0.058 Write data path: /opt/factorio [390648/465305MB]
0.058 Binaries path: /opt/factorio/bin
0.081 System info: [CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 16 cores, RAM: 22081MB]
0.082 Running in headless mode
0.086 Loading mod core 0.0.0 (data.lua)
0.101 Loading mod base 0.16.16 (data.lua)
0.273 Loading mod base 0.16.16 (data-updates.lua)
0.337 Checksum for core: 2242385247
0.337 Checksum of base: 354110265
0.511 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1516152338
0.511 Info PlayerData.cpp:72: Cloud player-data.json unavailable
0.526 Custom inputs active: 0
0.526 Factorio initialised
0.526 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
0.526 Info ServerMultiplayerManager.cpp:696: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
0.526 Info ServerMultiplayerManager.cpp:696: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
0.526 Loading map /opt/factorio/saves/moosen.zip: 7406168 bytes.
0.541 Loading Level.dat: 17614825 bytes.
0.547 Info Scenario.cpp:135: Map version 0.16.16-4
1.172 Loading script.dat: 175 bytes.
1.175 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 477563344
1.186 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:3000)
1.187 Hosting game at 0.0.0.0:3000
1.187 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
1.542 Info HttpSharedState.cpp:127: Status code: 200
1.542 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (f8lR3vmhJybL5Yb9JHZQux3Ituyoy1DF) from the auth server.
1.542 Info ServerMultiplayerManager.cpp:696: mapTick(3641839) changing state from(CreatingGame) to(InGame)