Page 1 of 1

Can't estabish connection in 0.17, worked fine in 0.16. Not sure what's up.

Posted: Wed Mar 20, 2019 11:49 pm
by npuldon
Hello,

For some reason folks are having a impossible time connecting to me on 0.17 when I used to host all the time on 0.16 without issue. They get the "Could not establish connection..." error. I can connect to their games without issue. I have a strong 90 Mb/s wired connection on Comcast. I'm playing vanilla on steam, latest experimental.

Here is the end of the my log file when someone was trying to connect. Are these messages normal?
factorio-current-whilesomeonetryingtojoin.log
(29.79 KiB) Downloaded 35 times

Code: Select all

  19.506 Info ServerMultiplayerManager.cpp:714: updateTick(2160001) changing state from(CreatingGame) to(InGame)
  19.563 Info ServerRouter.cpp:606: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
  19.563 Info GameActionHandler.cpp:4019: UpdateTick (2160001) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect) 
  19.629 Info ServerRouter.cpp:485: Own address is IP ADDR:({98.245.160.87:34197}) (confirmed by pingpong3)
  19.629 Verbose MatchingServer.cpp:72: Sending create request for game(4294967295) to matching server
  19.629 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/create-game
  19.721 Info ServerRouter.cpp:485: Own address is IP ADDR:({98.245.160.87:34197}) (confirmed by pingpong2)
  19.721 Info ServerRouter.cpp:485: Own address is IP ADDR:({98.245.160.87:34197}) (confirmed by pingpong4)
  19.928 Info MatchingServer.cpp:86: Matching server game `4772997` has been created.
  19.938 Info ServerMultiplayerManager.cpp:643: Matching server connection resumed
  34.638 Verbose ServerRouter.cpp:158: Sending keepalive nat punch request to pingpong server.
  49.630 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/post-game-heartbeat/4772997
  49.654 Verbose ServerRouter.cpp:158: Sending keepalive nat punch request to pingpong server.
  64.672 Verbose ServerRouter.cpp:158: Sending keepalive nat punch request to pingpong server.
  79.630 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/post-game-heartbeat/4772997
  79.688 Verbose ServerRouter.cpp:158: Sending keepalive nat punch request to pingpong server.

Person who was trying to join log file:

Code: Select all

620.135 Joining game IP ADDR:({98.245.160.87:34197})
 620.135 Info UDPSocket.cpp:33: Opening socket
 620.135 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
 620.984 Warning TransmissionControlHelper.cpp:179: Fragment 0000 failed too many times
 630.151 Error ClientMultiplayerManager.cpp:96: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
 630.151 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
 631.770 Info ClientMultiplayerManager.cpp:189: Quitting multiplayer connection.
 631.770 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
 631.772 Info UDPSocket.cpp:210: Closing socket
 631.772 Info UDPSocket.cpp:240: Socket closed

What else can I do to deduce the issue here?

EDIT: One of the discord admins helped me out to test this stuff. I setup port forwarding and he was able to join me now where he wasn't before. It's just odd because I never needed to do that pre-0.17 with same hardware/setup on my end. Oh well.


On another note, if a game on the public list says "Can't reach" under the ping field but I can still join the game with a few seconds delay before it actually connects, what's going on here?

Re: Can't estabish connection in 0.17, worked fine in 0.16. Not sure what's up.

Posted: Wed Apr 24, 2019 5:15 am
by Rseding91
Thanks for the report. What you're experiencing is unofficially known as "home routers" and there's nothing (that we can afford) to work around the problem.