The auto reconnect never seems to work and onConnectionLost occurs
What's odd is that I monitored the server log and at the time I do not see any message regarding a disconnect for that user
EDIT --------
I'm staring at the logs and right when I get a disconnect notification on my phone I see the following in the log:
12:15:38,721 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 7, Type: DEFAULT, Logged: No, IP: 166.137.219.15:36103 } on Server port: 80 <---> 36103
SENDING TO -------> { Id: 7, Type: DEFAULT, Logged: No, IP: 166.137.219.15:36103 }
12:15:38,724 WARN [com.smartfoxserver.v2.controllers.SystemController-1] controllers.SystemController - com.smartfoxserver.bitswarm.exceptions.SessionReconnectionException: Session Reconnection failure. The passed Session is not managed by the ReconnectionManager: java.nio.channels.SocketChannel[connected local=/216.73.102.76:80 remote=/166.137.219.15:36103]
com.smartfoxserver.bitswarm.sessions.DefaultReconnectionManager.reconnectSession(DefaultReconnectionManager.java:137)
com.smartfoxserver.bitswarm.sessions.DefaultSessionManager.reconnectSession(DefaultSessionManager.java:383)
com.smartfoxserver.v2.controllers.system.Handshake.execute(Handshake.java:68)
com.smartfoxserver.v2.controllers.SystemController.processRequest(SystemController.java:130)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
12:15:38,789 INFO [SocketReader] sessions.DefaultSessionManager - Session removed: { Id: 7, Type: DEFAULT, Logged: No, IP: 166.137.219.15:36103 }
Every time I see something like the above. At first I ignored it because that is not my IP address, but after seeing it appear after every disconnect I think there is a connection.
The thing that changes is the IP. Another time it was ip 166.137.216.253. The thing is, neither of those are my IP address.