Cant connect to headless dedicated server

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
kongobusinessman
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri May 18, 2018 12:59 pm
Contact:

Cant connect to headless dedicated server

Post by kongobusinessman »

So since 2 days or so my dedicated server isnt visible in the public matchmaking server anymore and noone can connect to it besides me AFTER i established a ssh connection to the server...
once i ssh'd on the server i can connect as long as i dont get a new ip. the server only allows me to direct connect once i ssh'd on it with putty which is super weird... like it would whitelist the ip somehow.

here is the server startup log

Code: Select all

   1.578 Checksum for script /home/opt/factorio/temp/currently-playing/control.lua: 55817070
   1.579 Info UDPSocket.cpp:27: Opening socket at (ce106d7906a1026e4f0e620840e2ab2467def054)
   1.579 Hosting game at ce106d7906a1026e4f0e620840e2ab2467def054
   1.579 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
   1.599 Info HttpSharedState.cpp:145: Status code: 200
   1.599 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (SHZpvmIHe0iBVfSeQTOWQVseTSfBCtgz) from the auth server.
   1.599 Info ServerMultiplayerManager.cpp:698: mapTick(8251) changing state from(CreatingGame) to(InGame)
   1.599 Info ServerRouter.cpp:596: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   1.622 Info UDPSocket.cpp:39: Opening socket for broadcast
   1.713 Info ServerRouter.cpp:491: Own address is 0c36a6f7151281c674a6a301465467b89bdd37ed
   1.948 Info ServerMultiplayerManager.cpp:627: Matching server connection resumed
  64.251 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(d6299beb55955f160863093f91773f1f4c6a13a6)
  64.251 Refusing connection for address (d6299beb55955f160863093f91773f1f4c6a13a6), username (KongoBusinessMan). UserVerificationMissing
  64.957 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(a40f8d90547b920b52d21fa36630bde850a3a81e)
  64.957 Info ServerRouter.cpp:409: Replying to connectionRequest for address(a40f8d90547b920b52d21fa36630bde850a3a81e).
  64.957 Info ServerSynchronizer.cpp:557: nextHeartbeatSequenceNumber(1886) adding peer(1)
  64.975 Info ServerMultiplayerManager.cpp:698: mapTick(8251) changing state from(InGame) to(InGameSavingMap)
  65.109 Info ServerMultiplayerManager.cpp:794: mapTick(8251) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
  65.143 Warning TransmissionControlHelper.cpp:172: Fragment 0001 failed too many times
  65.194 Info ServerMultiplayerManager.cpp:854: MapTick(8251) Serving map(/home/opt/factorio/temp/mp-save-0.zip) for peer(1) size(819181) crc(737937578)
  65.194 Info ServerMultiplayerManager.cpp:698: mapTick(8251) changing state from(InGameSavingMap) to(InGame)
  65.379 Info ServerMultiplayerManager.cpp:794: mapTick(8251) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadi                                                                                                                                                                       ngMap)
  67.479 Info ServerMultiplayerManager.cpp:794: mapTick(8251) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingM                                                                                                                                                                       ap)
  67.682 Info ServerMultiplayerManager.cpp:794: mapTick(8262) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  67.699 Info ServerMultiplayerManager.cpp:794: mapTick(8263) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartS                                                                                                                                                                       endingTickClosures)
  67.700 Info GameActionHandler.cpp:3472: MapTick (8263) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect )
  67.870 Info ServerMultiplayerManager.cpp:794: mapTick(8273) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newSta                                                                                                                                                                       te(InGame)

thats my log with a new ip while i cant connect:

Code: Select all

Joining game c57b5ad1efcc7512c261f5549981734f383dfc3d
3077.204 Info UDPSocket.cpp:33: Opening socket
3077.204 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(Connecting)
3079.035 Warning TransmissionControlHelper.cpp:176: Fragment 0000 failed too many times
3079.887 Error ClientMultiplayerManager.cpp:95: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
3079.887 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Connecting) to(InitializationFailed)
3081.053 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
3081.053 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
3081.125 Info UDPSocket.cpp:206: Closing socket
3081.125 Info UDPSocket.cpp:236: Socket closed
and this is after i ssh'd to the server and i can connect

Code: Select all

3571.483 Joining game c57b5ad1efcc7512c261f5549981734f383dfc3d
3571.483 Info UDPSocket.cpp:33: Opening socket
3571.483 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(Connecting)
3571.752 Connection refused
3571.752 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
3571.752 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Connecting) to(Disconnected)
3571.754 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2
3572.416 Info HttpSharedState.cpp:145: Status code: 200
3572.416 Info AuthServerConnector.cpp:139: Received key(slRq0J6btxHd6EQJ3mib2g==) for username(KongoBusinessMan) from auth server.
3572.463 Info UDPSocket.cpp:206: Closing socket
3572.463 Info UDPSocket.cpp:236: Socket closed
3572.463 Joining game c57b5ad1efcc7512c261f5549981734f383dfc3d
3572.463 Info UDPSocket.cpp:33: Opening socket
3572.464 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(Connecting)
3572.585 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from c57b5ad1efcc7512c261f5549981734f383dfc3d: invalid state (WaitingForAccept) for packet type
3572.585 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from c57b5ad1efcc7512c261f5549981734f383dfc3d: invalid state (WaitingForAccept) for packet type
3572.585 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from c57b5ad1efcc7512c261f5549981734f383dfc3d: invalid state (WaitingForAccept) for packet type
3572.602 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from c57b5ad1efcc7512c261f5549981734f383dfc3d: invalid state (WaitingForAccept) for packet type
3572.703 Info ClientSynchronizer.cpp:35: Initialized Synchronizer local peer(1) latency(32).
3572.703 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
3572.703 Info ClientRouter.cpp:238: ConnectionAccepted
3572.753 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from c57b5ad1efcc7512c261f5549981734f383dfc3d: invalid state (Connected) for packet type
3572.985 Info ClientMultiplayerManager.cpp:745: Received mapReadyForDownload
3572.986 Downloading file C:\Users\elnegro\AppData\Roaming\Factorio\temp\mp-download.zip (2635026 B, 5239 blocks)
3572.990 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
3578.514 Finished download (5 s, 2.6 MB, 477 kB/s)
3578.523 Info ClientMultiplayerManager.cpp:725: mapTick(4294967295) map download finished creating scenario
3578.523 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
3578.524 Loading map C:\Users\elnegro\AppData\Roaming\Factorio\temp\mp-download.zip: 2635026 bytes.
3578.567 Loading Level.dat: 4557736 bytes.
3578.572 Info Scenario.cpp:136: Map version 0.16.43-0
3578.667 Loading script.dat: 175 bytes.
3578.671 Checksum for script C:/Users/elnegro/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2661064125
3578.686 Info ClientMultiplayerManager.cpp:573: MapTick(63970) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
3578.709 Info ClientMultiplayerManager.cpp:573: MapTick(63970) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
3578.885 Info ClientMultiplayerManager.cpp:573: MapTick(63970) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
3579.037 Info GameActionHandler.cpp:3472: MapTick (63979) processed PlayerJoinGame peerID(4) playerIndex(0) mode(connect ) 
there are no firewalls on the server

Post Reply

Return to “Technical Help”