Page 1 of 1

Server does not start?

Posted: Thu Mar 05, 2020 9:22 am
by Draze420
Good day everyone, I'm trying to setup a factorio server, but it closes for some reason.



0.000 2020-03-05 10:17:22; Factorio 0.17.79 (build 47865, linux64, headless)
0.054 Operating system: Linux (Ubuntu 18.04)
0.055 Program arguments: "./bin/x64/factorio" "--create" "./saves/free-2019.zip" "--map-gen-settings" "./data/map-gen-settings.example.json" "--map-settings" "./data/map-settings.example.json" "--server-settings" "./data/server-settings.example.json"
0.055 Read data path: /home/factorio/data
0.055 Write data path: /home/factorio [1503927/1610720MB]
0.055 Binaries path: /home/factorio/bin
0.068 System info: [CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 10 cores, RAM: 60391 MB]
0.068 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.068 Running in headless mode
0.073 Loading mod core 0.0.0 (data.lua)
0.179 Loading mod base 0.17.79 (data.lua)
0.544 Loading mod base 0.17.79 (data-updates.lua)
0.794 Checksum for core: 2035938594
0.794 Checksum of base: 4156627525
1.171 Prototype list checksum: 2767119397
1.225 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1583399800
1.225 Info PlayerData.cpp:75: Cloud player-data.json unavailable
1.311 Factorio initialised
1.313 Info Main.cpp:1029: Creating new map /home/factorio/./saves/free-2019.zip
3.760 Loading level.dat: 845258 bytes.
3.772 Info Scenario.cpp:187: Map version 0.17.79-0
3.820 Checksum for script /home/factorio/temp/currently-playing/control.lua: 3265260072
3.991 Goodbye

Startup file: ./bin/x64/factorio --create ./saves/free-2019.zip --map-gen-settings ./data/map-gen-settings.example.json --map-settings ./data/map-settings.example.json --server-settings ./data/server-settings.example.json

Hope someone can tell me why it does not start.
Thanks

Re: Server does not start?

Posted: Thu Mar 05, 2020 9:26 am
by posila
--create doesn't start server, it just creates a save file with new map

Re: Server does not start?

Posted: Thu Mar 05, 2020 9:38 am
by Draze420
Yeah ok that was my bad.
But now I'm getting a timeout when starting the server.

1.516 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
31.400 Error HttpSharedState.cpp:136: CURL failed: code:7, 7; Failed to connect to auth.factorio.com port 443: Connection timed out
31.400 Info HttpSharedState.cpp:145: Downloading https://auth.factorio.com/generate-server-padlock-2
31.400 Info HttpSharedState.cpp:146: Status code: 0
31.403 Info AuthServerConnector.cpp:29: Auth server json parsing error: Failed to connect to auth.factorio.com port 443: Connection timed out
31.405 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "Couldn't parse the response from the auth server. This seems to be an internal server error."
31.405 Info ServerMultiplayerManager.cpp:776: updateTick(0) changing state from(CreatingGame) to(InitializationFailed)


Full logfile is in attachments


Now I'm getting a different error about missing token

2.357 Error ServerMultiplayerManager.cpp:710: Matching server connection failed: Error when creating server game: Missing token.

My token looks like this. Somehow it still tells me that the token is missing. Why?
"token": "nureintest",

Re: Server does not start?

Posted: Sat Mar 07, 2020 10:22 am
by Draze420
Anybody got an idea why it's telling me that the token is missing?


2.357 Error ServerMultiplayerManager.cpp:710: Matching server connection failed: Error when creating server game: Missing token.

Re: Server does not start?

Posted: Sat Mar 07, 2020 4:17 pm
by Jap2.0
To get the token you need to use you have to log in at factorio.com, click on your username, and then it should show the token (click "reveal").