[1.1.14] Connection attempt to incompatible version not well reported

Things that we don't consider worth fixing at this moment.
Post Reply
damerell
Inserter
Inserter
Posts: 21
Joined: Wed Jan 28, 2015 2:57 am
Contact:

[1.1.14] Connection attempt to incompatible version not well reported

Post by damerell »

I was attempting to make a direct (via IP and port) connection to a friend's Factorio server.

It attempts to connect and finishes with a notice: "Could not establish network communication with server."

After a bit of fiddling with tcpdump (the server runs on a nonconventional port) we asked the most basic question; what version of Factorio? The server's on 1.0 (because of the way Steam makes the development versions look like dodgy betas); I'm on 1.1.14 (because I bought direct and I know it's rock solid).

I would expect that the notice tells me explicitly that the versions are incompatible. This would make it much easier to recognise problems of this kind.

http://www.chiark.greenend.org.uk/~dame ... urrent.log is the logfile, in case I have _another_ problem.

I include the tcpdump output; "mandala" is the machine making the connection attempt, and the tcpdump is running on the machine that has the firewall/NAT arrangement.

Code: Select all

usagi:/etc/init.d#  tcpdump -i eth1 port 34198
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
19:11:39.638587 IP mandala.sakura.vpn.ucam.org.56169 > 6.40.9.102.34198: UDP, length 12
19:11:39.685942 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:40.139283 IP mandala.sakura.vpn.ucam.org.56169 > 6.40.9.102.34198: UDP, length 12
19:11:40.198196 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:40.198237 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 9
19:11:40.711281 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:41.256125 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:41.775167 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:42.218741 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:42.730719 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:43.237709 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:43.740628 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
19:11:44.251623 IP 6.40.9.102.34198 > mandala.sakura.vpn.ucam.org.56169: UDP, length 21
ET elide the exact IP address...

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [1.1.14] Connection attempt to incompatible version not well reported

Post by kovarex »

Hello, the game normally gives error related to invalid map version, or even specifics about missing mods or different mod versions.

In your case, the error is something more tricky, as the log says, there is some invalid data in a packet.

Code: Select all

60.084 Info ClientMultiplayerManager.cpp:591: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
60.145 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({6.40.9.102:34198}): garbage after message
60.145 Info UnparsedNetworkMessage.cpp:102: Message data: 03 2d 80 01 00 00 00 00 01 00 00 69 d6 c6 93 fb cb 60 d6 5c 7d
I would suggest that something in the network was weird (maybe some router or something changing the packet or something?)
Could you connect with the correct version after all?
I'm moving it to pending until more info is gathered at least.

Xorimuth
Filter Inserter
Filter Inserter
Posts: 624
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [1.1.14] Connection attempt to incompatible version not well reported

Post by Xorimuth »

My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [1.1.14] Connection attempt to incompatible version not well reported

Post by kovarex »

Xorimuth wrote:
Sat Jan 23, 2021 8:49 pm
Duplicate of viewtopic.php?f=48&t=93488?
Oh, ok this explains it, I had no idea we changed something around this network handshake in the past years, moving to won't fix, since it is kind of a temporary problem.

damerell
Inserter
Inserter
Posts: 21
Joined: Wed Jan 28, 2015 2:57 am
Contact:

Re: [1.1.14] Connection attempt to incompatible version not well reported

Post by damerell »

Thank you.

Post Reply

Return to “Won't fix.”