We are developing an online game in which players communicate with the server using a permanent TCP connection. Permanent, as in, his lifetime is the playerโs session, and if the connection is closed, the player is thrown out of the game (although the client will try to automatically connect).
Now, of course, everything works well in our office (connecting to both test and live servers), but our client reports that some players disconnect many times (every few seconds), and that they themselves experience it (although their offices are in the same building).
How to find out the reason for these outages? It's because:
The software is written in Java. It logs in when players are disconnected, and if it actively kicks them (for example, in order not to send keep-alive messages), it also logs this.
-, . ? ( / , )
" ", , . .
, , , - . , ( .getCause() - .getCause() , ), , , , , , , , , .. : " , -, , , , ?" , , .
.getCause()
, , , , /, . , , (, , , , ), .
, , , , , , " " , .