[1.1.1] Error When using headless server.

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
EvanGamer2020
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 24, 2020 2:11 pm
Contact:

[1.1.1] Error When using headless server.

Post by EvanGamer2020 »

When i am trying to run my 1.1.1 server it keep crashing.
The error is Error InterruptibleStdioStream.cpp:61: Got EOF on stdin; closing

Full Log
0.000 2020-11-27 04:51:13; Factorio 1.1.1 (build 57050, linux64, headless)
0.059 Operating system: Linux (Ubuntu 20.04)
0.059 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "/opt/factorio/saves/server.zip" "--server-settings" "/opt/factorio/data/server-settings.json"
0.059 Read data path: /opt/factorio/data
0.059 Write data path: /opt/factorio [77020/79219MB]
0.059 Binaries path: /opt/factorio/bin
0.066 System info: [CPU: Intel Core Processor (Haswell, no TSX), 2 cores, RAM: 3840 MB]
0.066 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.066 Running in headless mode
0.118 Loading mod core 0.0.0 (data.lua)
0.191 Loading mod base 1.1.1 (data.lua)
0.591 Loading mod base 1.1.1 (data-updates.lua)
0.774 Checksum for core: 1522731344
0.774 Checksum of base: 148585263
1.041 Prototype list checksum: 1154245852
1.102 Info PlayerData.cpp:72: Local player-data.json unavailable
1.102 Info PlayerData.cpp:77: Cloud player-data.json unavailable
1.105 Factorio initialised
1.106 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
1.106 Info ServerMultiplayerManager.cpp:780: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
1.106 Info ServerMultiplayerManager.cpp:780: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
1.106 Loading map /opt/factorio/saves/server.zip: 2214648 bytes.
1.129 Loading level.dat: 5522474 bytes.
1.135 Info Scenario.cpp:199: Map version 1.1.1-1
1.325 Loading script.dat: 398 bytes.
1.329 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 2501771973
1.331 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
1.331 Hosting game at IP ADDR:({0.0.0.0:34197})
1.331 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-serv ... _version=4
1.461 Info AuthServerConnector.cpp:68: Obtained serverPadlock for serverHash (uvIkMBUqJ9NOjTW45NgiixsldF4nC9LL) from the auth server.
1.461 Info ServerMultiplayerManager.cpp:780: updateTick(142412) changing state from(CreatingGame) to(InGame)
1.565 Info ServerRouter.cpp:636: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
1.565 Info UDPSocket.cpp:39: Opening socket for broadcast
1.565 Info CommandLineMultiplayer.cpp:278: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20
1.583 Info ServerRouter.cpp:519: Own address is IP ADDR:({51.81.84.62:34197}) (confirmed by pingpong3)
1.668 Info ServerRouter.cpp:519: Own address is IP ADDR:({51.81.84.62:34197}) (confirmed by pingpong2)
1.699 Info MatchingServer.cpp:114: Matching server game `8662005` has been created.
1.701 Info ServerMultiplayerManager.cpp:712: Matching server connection resumed
1.753 Info ServerRouter.cpp:519: Own address is IP ADDR:({51.81.84.62:34197}) (confirmed by pingpong4)
55.508 Error InterruptibleStdioStream.cpp:61: Got EOF on stdin; closing
55.510 Received SIGHUP, shutting down
55.511 Quitting: signal.
55.511 Info MainLoop.cpp:415: Saving map as /opt/factorio/saves/server.zip
55.581 Info MainLoop.cpp:426: Saving progress: 0.042427%
55.642 Info MainLoop.cpp:426: Saving progress: 100.000000%
55.720 Info ServerMultiplayerManager.cpp:113: Disconnecting multiplayer connection.
55.720 Info ServerMultiplayerManager.cpp:780: updateTick(142412) changing state from(InGame) to(DisconnectingScheduled)
55.756 Info ServerMultiplayerManager.cpp:780: updateTick(142412) changing state from(DisconnectingScheduled) to(Disconnecting)
55.790 Info ServerMultiplayerManager.cpp:780: updateTick(142412) changing state from(Disconnecting) to(Disconnected)
55.790 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
55.790 Info ServerMultiplayerManager.cpp:780: updateTick(142412) changing state from(Disconnected) to(Closed)
55.829 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/8662005
55.878 Info UDPSocket.cpp:218: Closing socket
55.878 Info UDPSocket.cpp:248: Socket closed
55.878 Info UDPSocket.cpp:218: Closing socket
55.889 Info UDPSocket.cpp:218: Closing socket
55.889 Info UDPSocket.cpp:248: Socket closed
55.943 Goodbye

EvanGamer2020
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 24, 2020 2:11 pm
Contact:

Re: [1.1.1] Error When using headless server.

Post by EvanGamer2020 »

I was able to fix it by adding nohup to the startup command so it stays online my ssh connection expires.

:D

User avatar
lupinehorror
Inserter
Inserter
Posts: 33
Joined: Fri Apr 03, 2020 7:01 pm
Contact:

Re: [1.1.1] Error When using headless server.

Post by lupinehorror »

glad you got it fixed. you can also use screen then detach from it.

Code: Select all

screen -S name_of_your_new_session
run your start script/command then
Ctrl+a d
to detach from it. next time you log in use

Code: Select all

screen -list
to display the screens you have running then

Code: Select all

screen -r number_of_the_screen
to attach to it

Post Reply

Return to “Technical Help”