[0.12.30] Linux server - 'Unknown user connecting'

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
defty
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Mar 25, 2014 1:27 pm
Contact:

[0.12.30] Linux server - 'Unknown user connecting'

Post by defty »

Hey,

When a 2nd user wants to connect to the headless server it give the report of unknown username
only when the first user disconnect the second user can connect

this was after a same local savewas uploaded from client back to server because after server restart the save was outdated


print

Code: Select all

 419.436 Info MultiplayerManager.cpp:1060: networkTick(22792) mapTick(3872482) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
 419.437 Info MultiplayerManager.cpp:1060: networkTick(22792) mapTick(3872482) received stateChanged peerID(4) oldState(InGameWaitingForOthers) newState(InGame)
 419.472 Info NetworkInputHandler.cpp:592: assigning playerIndex(0) to peer(4)
 419.472 Info GameActionHandler.cpp:1948: MapTick(3872485) processed PlayerJoinGame peerID(4) playerIndex(0) mode(connect)
 425.336 Connection request from 94.225.206.208:34197
 425.336 Info Router.cpp:609: NetworkTick(23146) replying to connectionRequest for address(94.225.206.208:34197).
 425.586 Info Router.cpp:761: networkTick(23161) adding peer(5) address(94.225.206.208:34197) sending connectionAccept(true)
 425.587 Info Router.cpp:632: networkTick(23161) sending connectionAccept to address(94.225.206.208:34197) connectionRequestID(7497) newPeerID(5)
 425.587 Info Synchronizer.cpp:500: networkTick(23161) adding peer(5) success(true).
 437.286 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(100/600).
 438.952 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(200/600).
 440.619 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(300/600).
 442.285 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(400/600).
 443.952 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(500/600).
 445.619 Info Synchronizer.cpp:444: NetworkTick(23176) peer(5) drop detection state(600/600).
 445.635 Info Synchronizer.cpp:590: NetworkTick(23176) peer(5) peerHeartbeatsEmpty(false) is not responding, dropping.
 445.652 Info MultiplayerManager.cpp:1433: Received peer info for peer(0) username(<server>).
 445.652 Info MultiplayerManager.cpp:1060: networkTick(23176) mapTick(3872858) received stateChanged peerID(0) oldState(InGame) newState(InGame)
 445.653 Info MultiplayerManager.cpp:1433: Received peer info for peer(4) username(fre).
 445.653 Info MultiplayerManager.cpp:1060: networkTick(23176) mapTick(3872858) received stateChanged peerID(4) oldState(InGame) newState(InGame)
 445.669 Info MultiplayerManager.cpp:1495: Peer dropout for peer (5) by peer (4) -- removing now
 445.669 Info MultiplayerManager.cpp:1010: networkTick(23177) mapTick(3872858) removing peer(5) dropout(true)
 445.669 Info Synchronizer.cpp:516: networkTick(23177) removing peer(5) success(false).
 445.669 Info MultiplayerManager.cpp:913: networkTick(23177) mapTick(3872858) changing state from(InGame) to(InGameAligning)
 445.670 Info MultiplayerManager.cpp:1719: networkTick(23177) mapTick(3872858) starting mapAlign
 445.670 Info MultiplayerManager.cpp:1633: networkTick(23177) mapTick(3872858) adding mapAlignTask(RemovePlayerAlignTask)
 445.902 Info MultiplayerManager.cpp:1495: Peer dropout for peer (5) by peer (0) -- removing now
 445.902 Info MultiplayerManager.cpp:1498: Peer dropout detected for not connected peer
 445.919 Info MultiplayerManager.cpp:1060: networkTick(23192) mapTick(3872858) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
 445.919 Info MultiplayerManager.cpp:1060: networkTick(23192) mapTick(3872858) received stateChanged peerID(4) oldState(InGame) newState(InGameAligning)
 445.919 Info MultiplayerManager.cpp:1653: networkTick(23192) mapTick(3872858) sending mapAlignAction
 446.169 Info MultiplayerManager.cpp:1307: networkTick(23207) mapTick(3872858) received MapAlignAction from peer(0), mapAlignTick(3872859) appliedTickClosuresCount(0)
 446.169 Info MultiplayerManager.cpp:1307: networkTick(23207) mapTick(3872858) received MapAlignAction from peer(4), mapAlignTick(3872858) appliedTickClosuresCount(36)
 446.169 Info MultiplayerManager.cpp:1735: networkTick(23208) mapTick(3872858) mapAlign finished targetTick(3872859) updating map and running the tasks ...
 446.169 Info MultiplayerManager.cpp:1607: networkTick(23208) mapTick(3872858) peerID(0) fullStateLog: local state(InGameAligning) local peers(((peerID(0) state(InGameAligning) mapAlignTick(3872859))
((peerID(4) state(InGameAligning) mapAlignTick(3872858))
)
 446.172 Info MultiplayerManager.cpp:1754: maptick(3872859) crc before applying all ticks: 1770709704
 446.172 Info NetworkInputHandler.cpp:654: applyAllTickClosures: expectedMapTick(3872859) lastTickApplied(3872841) referenceMapTick(3872859) networkTick(23208)
 446.173 Info NetworkInputHandler.cpp:678: applyAllTickClosures: applying tickClosure(tick(3872842) inputActions((SelectedEntityChanged) ) ) for peer(4)
 446.173 Info NetworkInputHandler.cpp:678: applyAllTickClosures: applying tickClosure(tick(3872844) inputActions((SelectedEntityChanged) (ChangeWalkingState) ) ) for peer(4)
 446.173 Info MultiplayerManager.cpp:1762: maptick(3872859) crc after applying all ticks: 333095160
 446.173 Info MultiplayerManager.cpp:913: networkTick(23208) mapTick(3872859) changing state from(InGameAligning) to(InGameAligned)
 446.435 Info MultiplayerManager.cpp:1060: networkTick(23223) mapTick(3872859) received stateChanged peerID(0) oldState(InGameAligning) newState(InGameAligned)
 446.436 Info MultiplayerManager.cpp:1060: networkTick(23223) mapTick(3872859) received stateChanged peerID(4) oldState(InGameAligning) newState(InGameAligned)
 446.436 Info MultiplayerManager.cpp:913: networkTick(23223) mapTick(3872859) changing state from(InGameAligned) to(InGameWaitingForOthers)
 446.685 Info MultiplayerManager.cpp:1060: networkTick(23238) mapTick(3872859) received stateChanged peerID(0) oldState(InGameAligned) newState(InGameWaitingForOthers)
 446.686 Info MultiplayerManager.cpp:1060: networkTick(23238) mapTick(3872859) received stateChanged peerID(4) oldState(InGameAligned) newState(InGameWaitingForOthers)
 446.686 Info MultiplayerManager.cpp:1259: networkTick(23238) mapTick(3872859) stopping mapAlign
 446.686 Info MultiplayerManager.cpp:1785: performing map align task (RemovePlayerAlignTask)
 446.686 Info MultiplayerManager.cpp:1809: networkTick(23238) mapTick(3872859) finishing removing peer(5) hasPeer(false)
 446.686 Info NetworkInputHandler.cpp:537: expectedMapTick(3872859) removing peer(5) success(false).
 446.687 Info Synchronizer.cpp:516: networkTick(23238) removing peer(5) success(false).
 446.687 Info MultiplayerManager.cpp:913: networkTick(23238) mapTick(3872859) changing state from(InGameWaitingForOthers) to(InGame)
 446.687 Info MultiplayerManager.cpp:1607: networkTick(23238) mapTick(3872859) peerID(0) fullStateLog: local state(InGame) local peers(((peerID(0) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(4) state(InGameWaitingForOthers) mapAlignTick(-1))
)
 446.935 Info MultiplayerManager.cpp:1060: networkTick(23253) mapTick(3872874) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
 446.936 Info MultiplayerManager.cpp:1060: networkTick(23253) mapTick(3872874) received stateChanged peerID(4) oldState(InGameWaitingForOthers) newState(InGame)

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5152
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [12.30] headless linux server connection issue unknown username

Post by Klonan »

Thanks for the report,

Can you provide the save game and your factorio Log file?
This will help us to investigate the issue

defty
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Mar 25, 2014 1:27 pm
Contact:

Re: [0.12.30] [Pending] Linux server - 'Unknown user connecting'

Post by defty »

as requested
mp1.zip
saves file
(7.74 MiB) Downloaded 110 times
factorio-current.log
log file
(88.23 KiB) Downloaded 124 times

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.30] Linux server - 'Unknown user connecting'

Post by Oxyd »

You are running the server in peer-to-peer mode – have you made sure that both players who are trying to connect have correctly forwarded their ports?

Also, try removing --peer-to-peer from the server flags and see if that fixes the issue. That's what you should be doing anyway – we'll remove the --peer-to-peer option for 0.13 altogether.

Post Reply

Return to “Pending”