Page 1 of 1

[Rseding91] [1.1.30] UnparsedNetworkMessage.cpp:91: Invalid packet (type NatPunchRequest) received

Posted: Tue Apr 06, 2021 10:12 pm
by Hornwitser
If the workaround to get NatPunchRequests sent as described in [1.1.30] NatPunchRequest not sent unless a multiplayer game has been hosted first is followed then the server prints the following in the log if started with the --verbose option when the server is selected in the public server list in the client.

Code: Select all

 573.855 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type NatPunchRequest) received from IP ADDR:({45.79.173.216:34197}): multiplayer.invalid-address("", "Name or service not known")
 573.856 Info UnparsedNetworkMessage.cpp:102: Message data: 0a 12 00 00 00 38 39 2e 31 36 32 2e 31 39 2e 37 35 3a 35 30 39 30 30

Re: [1.1.30] UnparsedNetworkMessage.cpp:91: Invalid packet (type NatPunchRequest) received

Posted: Wed Apr 07, 2021 5:11 pm
by Rseding91
Thanks for the report; that is working correctly. Clients should never be sending that packet to a server (see my reply in the linked topic). The fact the client is sending the packets is the issue and should be addressed in the other report.

Re: [1.1.30] UnparsedNetworkMessage.cpp:91: Invalid packet (type NatPunchRequest) received

Posted: Wed Apr 07, 2021 5:19 pm
by Hornwitser
Lol what. This packet is from your ping pong server. This is exactly how NatPunchRequest are sent in 0.16.51, and in this version of Factorio nat punching works as you expect it to.

Re: [Rseding91] [1.1.30] UnparsedNetworkMessage.cpp:91: Invalid packet (type NatPunchRequest) received

Posted: Thu Apr 08, 2021 2:46 pm
by Rseding91
Ok, it's now fixed for the next release.