UDP and Network Diagnostics

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.
amarsldstill
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Dec 15, 2016 7:01 am
Contact:

UDP and Network Diagnostics

Post by amarsldstill »

Hey guys, new to running the factorio headless server.

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.
kinnom
Filter Inserter
Filter Inserter
Posts: 706
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: UDP and Network Diagnostics

Post by kinnom »

please upload the whole log
no yes yes no yes no yes yes
amarsldstill
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Dec 15, 2016 7:01 am
Contact:

Re: UDP and Network Diagnostics

Post by amarsldstill »

I will tonight, after I scrub the IPs.

This block was from a tail -f while I logged in and ran around for a bit watching for errors while experiencing the issue
Post Reply

Return to “Technical Help”