Page 1 of 1

0.12.29 Headless sever desync into hang

Posted: Thu Mar 24, 2016 11:49 pm
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.

Re: 0.12.29 Headless sever desync into hang

Posted: Fri Mar 25, 2016 12:08 am
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.

Re: 0.12.29 Headless sever desync into hang

Posted: Fri Mar 25, 2016 7:32 am
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.

Re: 0.12.29 Headless sever desync into hang

Posted: Sat Mar 26, 2016 9:50 am
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?

Re: 0.12.29 Headless sever desync into hang

Posted: Sun Mar 27, 2016 12:22 pm
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.

Re: 0.12.29 Headless sever desync into hang

Posted: Thu Mar 31, 2016 1:38 pm
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.

Re: 0.12.29 Headless sever desync into hang

Posted: Thu Mar 31, 2016 7:11 pm
by Grey
Where's that "like" button when you Need it?