Running a dedicated server with newest Alpha 17 build. Having alot of issues with timeouts with myself and others on the server. We have tracked it down to an issue with the "LiteNetLib" or how it's being handled with this build. There are a few different situations that we have issues..
1. If we login, play for a bit, the randomly disconnect, no errors just sent back to the server screen.
2. If we login, get fully to the world, then ALT-TAB, 5-10secs later same timeout and sent back to the server screen. (tested both fullscreen and windowed with the same outcome).
3. We change over to "SteamNetworking" and the issue went away, however the delay in game was so bad that we had 20-30secs of delay in some cases, which would happen every 2-5 mins repeatedly, making it very hard to play, but we never ever got the timeout issues with "SteamNetworking" and only with "LiteNetLib".
Below is the snippet of the log, this one was from login to work, wait 10secs, Alt-Tab, and you will see the timestamp shows..
52:14 :: connected
52:24 :: This is when alt-tabed as a test
52:29 :: only 5secs later, shows disconnected via Timeout.
This is 100% repeatable via Alt-Tab on 4 different PCs. However, the random cause mid game for timeout disconnects, i'm not sure what causes that and can't find a repeatable cause.
1. If we login, play for a bit, the randomly disconnect, no errors just sent back to the server screen.
2. If we login, get fully to the world, then ALT-TAB, 5-10secs later same timeout and sent back to the server screen. (tested both fullscreen and windowed with the same outcome).
3. We change over to "SteamNetworking" and the issue went away, however the delay in game was so bad that we had 20-30secs of delay in some cases, which would happen every 2-5 mins repeatedly, making it very hard to play, but we never ever got the timeout issues with "SteamNetworking" and only with "LiteNetLib".
Below is the snippet of the log, this one was from login to work, wait 10secs, Alt-Tab, and you will see the timestamp shows..
52:14 :: connected
52:24 :: This is when alt-tabed as a test
52:29 :: only 5secs later, shows disconnected via Timeout.
This is 100% repeatable via Alt-Tab on 4 different PCs. However, the random cause mid game for timeout disconnects, i'm not sure what causes that and can't find a repeatable cause.
Code:
2018-12-10T21:52:14 202.315 INF GMSG: Player 'Temil2006' joined the game
2018-12-10T21:52:14 202.320 INF PlayerSpawnedInWorld (reason: JoinMultiplayer, position: 655, 55, -564): EntityID=171, PlayerID='76561198003189408', OwnerID='76561198003189408', PlayerName='Temil2006'
2018-12-10T21:52:29 216.890 INF NET: LiteNetLib: Client disconnect from: 47.196.196.21:53336 (Timeout)