[0.12.29] Can't connect with too many mods

This subforum contains all the issues which we already resolved.
scitor
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu May 28, 2015 12:40 pm
Contact:

[0.12.29] Can't connect with too many mods

Post by scitor »

This is networking stuff...

Description:
The game seems to exchange all the installed mods on connection request. It does this within the first UDP packet it sends.
It seems that when you activate too many mods, this packet gets fragmented and not always fully transmitted -> you can't connect, even to a server with matching modlist.

How to reproduce:
Activate more mods than fit into a single UDP packet and try to connect to any server.

Expected behaviour:
Connecting to a game with any amount of mods should work to any network.

Current behaviour:
Connecting to a game with too many (client side) mods causes a connection failure in specific configurations
(Couldn't establish network communication with server.)

Tested on
0.12.26 - 0.12.29
Win (64, p.forward on router), Linux (32&64, wan interface & open ports)
more details
even more details
modlist
kovarex
Factorio Staff
Factorio Staff
Posts: 8258
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.29] Can't connect with too many mods

Post by kovarex »

Does it happen always, or just randomly?
As with fragmented packet, the probability that all of the parts are transfered is lower.
scitor
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu May 28, 2015 12:40 pm
Contact:

Re: [0.12.29] Can't connect with too many mods

Post by scitor »

Yes, I can reproduce it every time.

I've narrowed it down to a firewall rule:

Works:

Code: Select all

iptables -A INPUT -p udp -m udp --dport 29000 -j ACCEPT
Doesn't work:

Code: Select all

iptables -A INPUT -p udp -m udp --dport 29000 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
This works with any other service / game, and it works as long as the packets are valid.
scitor
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu May 28, 2015 12:40 pm
Contact:

Re: [0.12.29] Can't connect with too many mods

Post by scitor »

Well, it seems to work with the experimental alpha version 0.12.30.

The problem doesn't seem to appear anymore, so this issue can be closed.
Post Reply

Return to “Resolved Problems and Bugs”