RCON doesn't work/respond

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
xXDarkVikingXx
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 23, 2016 1:04 pm
Contact:

RCON doesn't work/respond

Post by xXDarkVikingXx »

Hey,
so I set my server up for rcon with the corresponding startup parameters (also why is there no config for those pls), the server is listening on the assigned port, firewall is open, but my (rcon)client never gets a response from the server. Checking the port reveals all the failed requests with socket status SYN_SENT, which, according to my understanding means that the server received the SYN request from the client, but never responded with SYN/ACK, or it got lost on the way.
I set up a Minecraft server also with RCON enabled on the same machine to test it, and my client application works flawless with that one, which rules out a lot of things.
I really dont know why there is no response if the port is open and the application listening. The connections with the SYN_SENT statuses below are simple attempts to open a TCP socket, originating from a program on the same machine checking several servers for lifesigns. "Real" RCON-Requests time-out the same way.

Socket status (somehow the wrapping broke a bit, scroll to the right):

Code: Select all

root@v2201911106815100922:~# lsof -i :34198
COMMAND   PID    USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
java     8553 jenkins   16u  IPv6 9541112      0t0  TCP v2201911106815100922.hot                                                              srv.de:57962>v2201911106815100922.hotsrv.de:34198 (SYN_SENT)
java     8553 jenkins   21u  IPv6 9542212      0t0  TCP v2201911106815100922.hot                                                                srv.de:57942>v2201911106815100922.hotsrv.de:34198 (SYN_SENT)
java     8553 jenkins   24u  IPv6 9542823      0t0  TCP v2201911106815100922.hot                                                                srv.de:57926>v2201911106815100922.hotsrv.de:34198 (SYN_SENT)
java     8553 jenkins   26u  IPv6 9540589      0t0  TCP v2201911106815100922.hot                                                                srv.de:57936>v2201911106815100922.hotsrv.de:34198 (SYN_SENT)
factorio 8837    root   13u  IPv4 9523164      0t0  TCP *:34198 (LISTEN)
Server log:

Code: Select all

   0.000 2020-03-26 10:01:42; Factorio 0.18.9 (build 49691, linux64, headless)
   0.106 Operating system: Linux (Ubuntu 16.04)
   0.107 Program arguments: "./factorio/bin/x64/factorio" "--server-settings" "/home/factorio/factorio/data/server-settings.json" "--start-server-load-latest" "--rcon-port" "34198" "--rcon-password" <private> 
   0.107 Read data path: /home/factorio/factorio/data
   0.107 Write data path: /home/factorio/factorio [70025/79495MB]
   0.107 Binaries path: /home/factorio/factorio/bin
   0.117 System info: [CPU: QEMU Virtual CPU version 2.5+, 4 cores, RAM: 7983 MB]
   0.117 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.117 Running in headless mode
   0.122 Loading mod core 0.0.0 (data.lua)
   0.249 Loading mod base 0.18.9 (data.lua)
   0.915 Loading mod base 0.18.9 (data-updates.lua)
   1.220 Checksum for core: 3416661365
   1.220 Checksum of base: 3591523921
   1.809 Prototype list checksum: 1010569779
   1.907 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1585211934
   1.907 Info PlayerData.cpp:75: Cloud player-data.json unavailable
   2.025 Factorio initialised
   2.026 Info ServerSynchronizer.cpp:28: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   2.026 Info ServerMultiplayerManager.cpp:773: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   2.026 Info ServerMultiplayerManager.cpp:773: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   2.044 Loading map /home/factorio/factorio/saves/init.zip: 761503 bytes.
   2.110 Loading level.dat: 1311504 bytes.
   2.120 Info Scenario.cpp:187: Map version 0.18.9-3
   2.219 Loading script.dat: 328 bytes.
   2.223 Checksum for script /home/factorio/factorio/temp/currently-playing/control.lua: 3825597572
   2.234 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
   2.234 Hosting game at IP ADDR:({0.0.0.0:34197})
   2.235 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=4
   2.997 Info AuthServerConnector.cpp:66: Obtained serverPadlock for serverHash (NjN6zpGaYubUrjpixyFwQaYqbuSEApI4) from the auth server.
   2.997 Info ServerMultiplayerManager.cpp:773: updateTick(1286) changing state from(CreatingGame) to(InGame)
   3.021 Info ServerRouter.cpp:614: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
   3.021 Info UDPSocket.cpp:39: Opening socket for broadcast
   3.023 Info RemoteCommandProcessor.cpp:131: Starting RCON interface at IP ADDR:({0.0.0.0:34198})
   3.023 Info CommandLineMultiplayer.cpp:303: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20
   3.126 Info ServerRouter.cpp:497: Own address is IP ADDR:({188.68.59.106:34197}) (confirmed by pingpong1)
   3.144 Info ServerRouter.cpp:497: Own address is IP ADDR:({188.68.59.106:34197}) (confirmed by pingpong3)
   3.285 Info ServerRouter.cpp:497: Own address is IP ADDR:({188.68.59.106:34197}) (confirmed by pingpong4)
   3.534 Info MatchingServer.cpp:114: Matching server game `7073580` has been created.
   3.538 Info ServerMultiplayerManager.cpp:705: Matching server connection resumed
Any ideas?

Post Reply

Return to “Technical Help”