Page 1 of 1

[0.17.3] Can't connect to redmew servers in multiplayer

Posted: Sun Mar 10, 2019 5:20 am
by turk127
First tested on version 0.17.03, but it could be from 0.17.1. When trying to establish connection to any redmew sever in multiplayer either via browse or direct connect I get the "Couldn't establish network communications with server" error.

Having worked with redmew, we did a large number of tests, and a number of network packet dumps. I've include the factorio player log, but not the packet dumps. The server is sending the complete ban list log files back to client and the client is just viewing the above error. The data being sent back from the server is being ignored by factorio as well (it appears client is not handling bad data formats in a way client can understand). This might be two separate issues.

Code: Select all

55.450 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  55.980 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  55.980 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  56.163 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  56.163 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  56.163 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  56.330 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  56.513 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34202}): invalid state (WaitingForAccept) for packet type
  65.847 Error ClientMultiplayerManager.cpp:96: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
  65.847 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
  80.271 Info ClientMultiplayerManager.cpp:189: Quitting multiplayer connection.
  80.271 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
  80.272 Info UDPSocket.cpp:210: Closing socket
  80.273 Info UDPSocket.cpp:240: Socket closed

I have tried renaming username, fresh install, an empty redmew server, turning off IPv6. The connection is from Australia to Germany. My ISP is one of the largest ISP's. I don't have issues with any other server and I can also connect to redmew's webserver on same address (different port)

We have packet dumps from both the client and the server, I've not included them as they contain the complete ban logs. If I were to guess I would look at the variable sizes and if there has been a change as it appears one module has had a buffer overflow and is dumping the complete logs into the stream.


If you want the packet dumps please let me know I can email them or make them available directly.

Re: [0.17.3] Can't connect to redmew servers in multiplayer

Posted: Sat Mar 16, 2019 8:47 pm
by Schallfalke
I have exactly the same problem, cannot join Redmew servers since upgrading to 0.17.0 and till now 0.17.14.

PS 1: I could join and play a lot on Redmew at 0.16.51, without issue.
PS 2: I can join other public servers at 0.17.4 till now 0.17.14, without issue. So I guess not my router nor firewall problem.

Error log:

Code: Select all

  95.462 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  95.864 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34207}): invalid state (WaitingForAccept) for packet type
  95.904 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({88.99.214.198:34207}): invalid state (WaitingForAccept) for packet type
 105.763 Error ClientMultiplayerManager.cpp:96: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
 105.763 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
 131.376 Info ClientMultiplayerManager.cpp:189: Quitting multiplayer connection.
 131.376 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
 131.377 Info UDPSocket.cpp:210: Closing socket
 131.377 Info UDPSocket.cpp:240: Socket closed

Re: [0.17.3] Can't connect to redmew servers in multiplayer

Posted: Fri Apr 26, 2019 9:17 am
by Schallfalke
In recent version 0.17.33, I can finally join the Redmew servers.
Perhaps some "hidden" changes are made.

You may try joining those servers again.