When connecting, the server shows the "Session created: ... <port> <---> <port> " line but no longer proceeds to call our login handler.
We managed to debug it once; what happens is that the server hangs on getConnection(). Like this:
Code: Select all
// Get password from DB
IDBManager dbManager = getParentExtension().getParentZone().getDBManager();
Connection connection;
try {
connection = dbManager.getConnection(); // <--- Hangs here
We have no synchronized locks in our server, so we're very likely not deadlocking anywhere in our code.
No users can log in anymore at this stage.
We've checked our database (MySQL) through phpmyadmin and it's still responsive, so we're not sure where to look for the problem.