0.12.29 Headless sever desync into hang

This subforum contains all the issues which we already resolved.
NoPantsMcDance
Filter Inserter
Filter Inserter
Posts: 478
Joined: Fri Jul 17, 2015 6:56 pm
Contact:

0.12.29 Headless sever desync into hang

Post by NoPantsMcDance »

My vanilla server had a player desync then the server hanged afterwords. If I forgot to upload anything lemme know, side note the desync report was in the "temp" folder instead of "archive" not sure if that's intentional or another bug.
Attachments
factorio-current.log
log
(1.44 MiB) Downloaded 206 times
Looking for a multiplayer server? Check out my servers Vanilla Server
Loewchen
Global Moderator
Global Moderator
Posts: 9239
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by Loewchen »

The server was the one out of sync, it seems all players disconnected when it tried to download the map from them, leaving the server hanging without a player or a map and therefore could not finish the report.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by kovarex »

Yes, the server should always consider itself as the primary source of the data when possible.

But the desycns shouldn't happen in the first place.
Grey
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Mon Jun 17, 2013 5:11 pm
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by Grey »

Got same here i think.
Server is a 0.12.29 x64 headless Linux Debian

if i can provide more info i will do, just tell me. May "peer-to-peer" could render that "Server is Primary source" ignored? Would disabling peer-to-peer Change something?
Attachments
factorio-current_new start.log
(2.28 KiB) Downloaded 175 times
factorio-current_sudden crash.log
(220.79 KiB) Downloaded 182 times
Loewchen
Global Moderator
Global Moderator
Posts: 9239
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by Loewchen »

The question imo is if the players diconnected cause they closed the game or because the server is unable to keep the connections if it desyncs itself. Players should not leave until the first map upload is completed so that the desync-report can be created.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by kovarex »

Oh, thanks for the report, this is actual logical issue in the server logic.

The server actually got desynced, and then he had no one to download from, we solved it for 0.12.30, by forcing the server to never be the one who desyncs even if there are more players with different crc.
Grey
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Mon Jun 17, 2013 5:11 pm
Contact:

Re: 0.12.29 Headless sever desync into hang

Post by Grey »

Where's that "like" button when you Need it?
Post Reply

Return to “Resolved Problems and Bugs”