With everything running on UDP, i lose access to all of my usual tools to analyze network issues with a service. I was noticing constant "server is not responding" messages when I was first trying to play. they cleared up after a while on their own and it is working okay now. But during the issue I was blind.
Network speed was good, port was open and being forwarded properly.
The logs don't show any problems.
Code: Select all
31694.873 Info ServerRouter.cpp:413: Replying to connectionRequest for address(255.255.255.255:54623).
31694.874 Info ServerSynchronizer.cpp:524: nextHeartbeatSequenceNumber(936355) adding peer(3)
31694.891 Info ServerMultiplayerManager.cpp:658: mapTick(52460) changing state from(InGame) to(InGameSavingMap)
31694.942 Info ServerMultiplayerManager.cpp:742: mapTick(52460) received stateChanged peerID(3) oldState(Ready) newState(ConnectedWaitingForMap)
31695.066 Info ServerMultiplayerManager.cpp:779: MapTick(52460) Serving map(/opt/factorio/temp/mp-save-2.zip) for peer(3) size(1942018) crc(3669531317)
31695.066 Info ServerMultiplayerManager.cpp:658: mapTick(52460) changing state from(InGameSavingMap) to(InGame)
31695.272 Info ServerMultiplayerManager.cpp:742: mapTick(52472) received stateChanged peerID(3) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
31697.324 Info ServerMultiplayerManager.cpp:742: mapTick(52595) received stateChanged peerID(3) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
31697.587 Info ServerMultiplayerManager.cpp:742: mapTick(52611) received stateChanged peerID(3) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
31697.796 Info ServerMultiplayerManager.cpp:742: mapTick(52623) received stateChanged peerID(3) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
31697.796 Info GameActionHandler.cpp:2556: MapTick(52623) processed PlayerJoinGame peerID(3) playerIndex(0) mode(connect)
31697.884 Info ServerMultiplayerManager.cpp:742: mapTick(52629) received stateChanged peerID(3) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
How can I get more information on what is happening to my client/server communication without access to things like telnet, tcp packet ordering/numbering, etc?
For the Devs - Very interesting use of UDP to create a resilient connection, any chance you can build in some network diagnostic tools to the server to help identify problems? Anything coded specifically for Factorio will be better than a third-party tool.