[0.12] Headless mode and multiple clients behind NAT

This subforum contains all the issues which we already resolved.
Boogalo
Inserter
Inserter
Posts: 24
Joined: Thu Dec 04, 2014 12:42 pm
Contact:

Re: [0.12] Headless mode and multiple clients behind NAT

Post by Boogalo »

This is all working in 0.12.4 :D

Thanks guys.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12] Headless mode and multiple clients behind NAT

Post by kovarex »

Great to hear that!
defty
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Mar 25, 2014 1:27 pm
Contact:

Re: [0.12] Headless mode and multiple clients behind NAT

Post by defty »

headless server 12.9 2nd user wants to join gets error

error from game hanging but look close and see why internal user can't connect together with external user
seperate connection possible but when en other user is trying to join it won't allow it.

log


79.683 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(553)
79.716 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(555)
79.749 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(557)
79.783 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(559)
79.816 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(561)
79.849 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(563)
79.883 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(565)
79.916 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(567)
79.949 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(569)
79.982 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(571)
80.016 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(573)
80.049 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(575)
80.083 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(577)
80.116 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(579)
80.149 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(581)
80.182 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(583)
80.216 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(585)
80.249 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(587)
80.283 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(589)
80.316 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(591)
80.350 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(593)
80.382 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(595)
80.416 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(597)
80.433 Info Synchronizer.cpp:444: NetworkTick(4755) peer(2) drop detection state(600/600).
80.450 Info Synchronizer.cpp:590: NetworkTick(4755) peer(2) peerHeartbeatsEmpty(true) is not responding, dropping.
80.450 Verbose NetworkInputHandler.cpp:218: Map tick(1797322) not closed failedCount(599)
80.700 Verbose Synchronizer.cpp:290: NetworkTick(4769) Processing synchronizer action(PeerInfo) from peer(0)
80.700 Info MultiplayerManager.cpp:1411: Received peer info for peer(0) username(<server>).
80.700 Verbose Synchronizer.cpp:290: NetworkTick(4769) Processing synchronizer action(PeerStateChanged) from peer(0)
80.700 Info MultiplayerManager.cpp:1059: networkTick(4769) mapTick(1797334) received stateChanged peerID(0) oldState(InGame) newState(InGame)
80.700 Verbose Synchronizer.cpp:290: NetworkTick(4769) Processing synchronizer action(PeerInfo) from peer(1) (local)
80.700 Info MultiplayerManager.cpp:1411: Received peer info for peer(1) username(defty).
80.700 Verbose Synchronizer.cpp:290: NetworkTick(4769) Processing synchronizer action(PeerStateChanged) from peer(1) (local)
80.700 Info MultiplayerManager.cpp:1059: networkTick(4769) mapTick(1797334) received stateChanged peerID(1) oldState(InGame) newState(InGame)
80.716 Verbose Synchronizer.cpp:290: NetworkTick(4770) Processing synchronizer action(PeerDisconnect) from peer(1) (local)
80.716 Info MultiplayerManager.cpp:1455: Disconnect notification for peer (1)
80.716 Info MultiplayerManager.cpp:1009: networkTick(4770) mapTick(1797335) removing peer(1) dropout(false)
80.716 Info MultiplayerManager.cpp:912: networkTick(4770) mapTick(1797335) changing state from(InGame) to(InGameAligning)
80.716 Info MultiplayerManager.cpp:1697: networkTick(4770) mapTick(1797335) starting mapAlign
80.716 Info MultiplayerManager.cpp:1611: networkTick(4770) mapTick(1797335) adding mapAlignTask(RemovePlayerAlignTask)
80.716 Verbose Synchronizer.cpp:290: NetworkTick(4770) Processing synchronizer action(PeerDropoutDetected) from peer(1) (local)
80.716 Info MultiplayerManager.cpp:1473: Peer dropout for peer (2) by peer (1) -- removing now
80.716 Info MultiplayerManager.cpp:1009: networkTick(4770) mapTick(1797335) removing peer(2) dropout(true)
80.716 Info Synchronizer.cpp:516: networkTick(4770) removing peer(2) success(false).
80.716 Info MultiplayerManager.cpp:1611: networkTick(4770) mapTick(1797335) adding mapAlignTask(RemovePlayerAlignTask)
90.483 Verbose Synchronizer.cpp:290: NetworkTick(4784) Processing synchronizer action(PeerDropoutDetected) from peer(0)
90.483 Info MultiplayerManager.cpp:1473: Peer dropout for peer (2) by peer (0) -- removing now
90.483 Info MultiplayerManager.cpp:1476: Peer dropout detected for not connected peer
90.499 Verbose Synchronizer.cpp:290: NetworkTick(4785) Processing synchronizer action(PeerStateChanged) from peer(0)
90.499 Info MultiplayerManager.cpp:1059: networkTick(4785) mapTick(1797335) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
90.499 Verbose Synchronizer.cpp:290: NetworkTick(4785) Processing synchronizer action(PeerStateChanged) from peer(1) (local)
90.499 Info MultiplayerManager.cpp:1059: networkTick(4785) mapTick(1797335) received stateChanged peerID(1) oldState(InGame) newState(InGameAligning)
90.499 Info MultiplayerManager.cpp:1631: networkTick(4785) mapTick(1797335) sending mapAlignAction
90.750 Verbose Synchronizer.cpp:290: NetworkTick(4800) Processing synchronizer action(MapAlign) from peer(0)
90.750 Info MultiplayerManager.cpp:1305: networkTick(4800) mapTick(1797335) received MapAlignAction from peer(0), mapAlignTick(1797337) appliedTickClosuresCount(33)
90.750 Verbose Synchronizer.cpp:290: NetworkTick(4800) Processing synchronizer action(MapAlign) from peer(1) (local)
90.750 Info MultiplayerManager.cpp:1305: networkTick(4800) mapTick(1797335) received MapAlignAction from peer(1), mapAlignTick(1797336) appliedTickClosuresCount(0)
90.750 Info MultiplayerManager.cpp:1713: networkTick(4801) mapTick(1797335) mapAlign finished targetTick(1797337) updating map and running the tasks ...
90.750 Info MultiplayerManager.cpp:1585: networkTick(4801) mapTick(1797335) peerID(1) fullStateLog: local state(InGameAligning) local peers(((peerID(0) state(InGameAligning) mapAlignTick(1797337))
((peerID(1) state(InGameAligning) mapAlignTick(1797336))
)
90.750 Verbose NetworkInputHandler.cpp:559: expectedMapTick(1797335) NetworkTick(4801) lastTickApplied(1797317) tickCloseFailuresCount(602) dumping tickclosure queues ...
90.750 Verbose NetworkInputHandler.cpp:569: peer(0) playerIndex(65535) tickClosures([tick(1797318) inputActions() ] [tick(1797319) inputActions() ] [tick(1797320) inputActions() ] [tick(1797321) inputActions() ] [tick(1797322) inputActions() ] [tick(1797323) inputActions() ] [tick(1797324) inputActions() ] [tick(1797325) inputActions() ] [tick(1797326) inputActions() ] [tick(1797327) inputActions() ] [tick(1797328) inputActions() ] [tick(1797329) inputActions() ] [tick(1797330) inputActions() ] [tick(1797331) inputActions() ] [tick(1797332) inputActions() ] [tick(1797333) inputActions() ] [tick(1797334) inputActions() ] [tick(1797335) inputActions() ] [tick(1797336) inputActions() ] )
90.750 Verbose NetworkInputHandler.cpp:569: local peer(1) playerIndex(1) tickClosures([tick(1797318) inputActions() ] [tick(1797319) inputActions() ] [tick(1797320) inputActions() ] [tick(1797321) inputActions() ] [tick(1797322) inputActions((PlayerLeaveGame) (OpenCharacterGui) (SelectedEntityCleared) (StopRepair) ) ] [tick(1797323) inputActions() ] [tick(1797324) inputActions() ] [tick(1797325) inputActions() ] [tick(1797326) inputActions() ] [tick(1797327) inputActions() ] [tick(1797328) inputActions() ] [tick(1797329) inputActions() ] [tick(1797330) inputActions() ] [tick(1797331) inputActions() ] [tick(1797332) inputActions() ] [tick(1797333) inputActions() ] [tick(1797334) inputActions() ] [tick(1797335) inputActions() ] )
90.750 Verbose Synchronizer.cpp:477: NetworkTick(4801) notClosedTickStreak(0) dumping heartbeat queues ...
90.750 Verbose Synchronizer.cpp:489: peer(0) dropDetectionState(1) heartbeats()
90.750 Verbose Synchronizer.cpp:489: local peer(1) heartbeats([networkTick(4786) closedTick(true) ] [networkTick(4787) closedTick(true) ] [networkTick(4788) closedTick(true) ] [networkTick(4789) closedTick(true) ] [networkTick(4790) closedTick(true) ] [networkTick(4791) closedTick(true) ] [networkTick(4792) closedTick(true) ] [networkTick(4793) closedTick(true) ] [networkTick(4794) closedTick(true) ] [networkTick(4795) closedTick(true) ] [networkTick(4796) closedTick(true) ] [networkTick(4797) closedTick(true) ] [networkTick(4798) closedTick(true) ] [networkTick(4799) closedTick(true) ] [networkTick(4800) closedTick(true) ] [networkTick(4801) closedTick(false) ] )
90.752 Info NetworkInputHandler.cpp:87: expectedMapTick(1797336) refusing Input Action [1 1797335 CloseGui] because multiplayer control is not ready
90.752 Info NetworkInputHandler.cpp:87: expectedMapTick(1797336) refusing Input Action [1 1797335 CloseGui] because multiplayer control is not ready
90.752 Info NetworkInputHandler.cpp:87: expectedMapTick(1797336) refusing Input Action [1 1797335 CloseGui] because multiplayer control is not ready
90.752 Info NetworkInputHandler.cpp:87: expectedMapTick(1797336) refusing Input Action [1 1797335 CloseGui] because multiplayer control is not ready
90.752 Info NetworkInputHandler.cpp:87: expectedMapTick(1797336) refusing Input Action [1 1797335 Craft] because multiplayer control is not ready
90.754 Info MultiplayerManager.cpp:1732: maptick(1797337) crc before applying all ticks: -2146972599
90.754 Info NetworkInputHandler.cpp:644: applyAllTickClosures: expectedMapTick(1797337) lastTickApplied(1797319) referenceMapTick(1797337) networkTick(4801)
90.754 Info NetworkInputHandler.cpp:668: applyAllTickClosures: applying tickClosure(tick(1797322) inputActions((PlayerLeaveGame) (OpenCharacterGui) (SelectedEntityCleared) (StopRepair) ) ) for peer(1)
90.754 Info NetworkInputHandler.cpp:527: expectedMapTick(-1) removing peer(1) success(true).
90.754 Info GameActionHandler.cpp:1967: MapTick(1797337) processed PlayerLeaveGame peerID(1) playerIndex(1)
90.754 Verbose NetworkInputHandler.cpp:559: expectedMapTick(-1) NetworkTick(4801) lastTickApplied(1797336) tickCloseFailuresCount(0) dumping tickclosure queues ...
90.754 Verbose NetworkInputHandler.cpp:569: peer(0) playerIndex(65535) tickClosures()
90.754 Info MultiplayerManager.cpp:1740: maptick(1797337) crc after applying all ticks: -2433433
90.754 Info MultiplayerManager.cpp:912: networkTick(4801) mapTick(1797337) changing state from(InGameAligning) to(InGameAligned)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vbn8ul\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vbn8ul\src\util\logger.cpp (306): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vbn8ul\src\util\logger.cpp (360): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vbn8ul\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-vbn8ul\src\util\crashhandler.cpp (174): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winxfltr.c (372): _XcptFilter
f:\dd\vctools\crt\crtw32\startup\threadex.c (378): _callthreadstartex$filt$0
f:\dd\vctools\crt\crtw32\misc\amd64\chandler.c (162): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E7E9AED)
00007FFF9E7E9AED (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E774FE9)
00007FFF9E774FE9 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E7E8BFA)
00007FFF9E7E8BFA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-vbn8ul\src\surface\surface.cpp (309): Surface::findNearestEnemy
c:\cygwin64\tmp\factorio-vbn8ul\src\entity\character.cpp (1600): Character::getShootingTarget
c:\cygwin64\tmp\factorio-vbn8ul\src\graphics\cursorrenderer.cpp (116): CursorRenderer::renderPlayerCursor
c:\cygwin64\tmp\factorio-vbn8ul\src\graphics\cursorrenderer.cpp (58): CursorRenderer::prepare
c:\cygwin64\tmp\factorio-vbn8ul\src\graphics\gamerenderer.cpp (120): GameRenderer::prepareJob
c:\cygwin64\tmp\factorio-vbn8ul\src\gameview.cpp (774): GameView::prepareRender
c:\cygwin64\tmp\factorio-vbn8ul\src\game.cpp (256): Game::prepareRender
c:\cygwin64\tmp\factorio-vbn8ul\src\mainloop.cpp (221): MainLoop::prepare
c:\cygwin64\tmp\factorio-vbn8ul\src\mainloop.cpp (473): MainLoop::tickStep
c:\cygwin64\tmp\factorio-vbn8ul\src\mainloop.cpp (576): MainLoop::run
c:\cygwin64\tmp\factorio-vbn8ul\src\main.cpp (493): wmain
f:\dd\vctools\crt\crtw32\startup\crt0.c (255): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9BC28102)
00007FFF9BC28102 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9E79C5B4)
00007FFF9E79C5B4 (ntdll): (filename not available): RtlUserThreadStart
93.007 Error Util.cpp:78: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12] Headless mode and multiple clients behind NAT

Post by Rseding91 »

defty wrote:headless server 12.9 2nd user wants to join gets error

error from game hanging but look close and see why internal user can't connect together with external user
seperate connection possible but when en other user is trying to join it won't allow it.
Please try updating to the latest version of the game where this issue should be resolved. Currently that's version 0.12.30.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”