Page 2 of 2

Posted: 17 Aug 2011, 03:31
by mmilen
Bax,

Can you help debug this error message :

[com.smartfoxserver.v2.controllers.SystemController-1] sessions.DefaultSessionManager - Session removed: { Id: 9, Type: DEFAULT, Logged: No, IP: 192.168.80.16:63158 }
00:24:57,665 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=/192.168.80.153:9933 remote=/192.168.80.16:63158]
com.smartfoxserver.bitswarm.sessions.DefaultReconnectionManager.reconnectSession(DefaultReconnectionManager.java:134)
com.smartfoxserver.bitswarm.sessions.DefaultSessionManager.reconnectSession(DefaultSessionManager.java:376)
com.smartfoxserver.v2.controllers.system.Handshake.execute(Handshake.java:68)
com.smartfoxserver.v2.controllers.SystemController.processRequest(SystemController.java:129)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:680)



Server is RC3.
Here is the scenario
User is logged in via extension. All goes well
Now there is a network outage and StremIOException is thrown.
BitSwarm Client reconnects (using different outgoing socket)
Now SFSClient initiates hand shake with reconnectiontoken=sessionID of the original session.
The request is sent and then bang the ERROR.

I'm I missing something, do I need to explicitly enable the Reconnection Manager?


The problem is that iPad and iPhone tend to shut down WiFi without good reason. One can quickly turn it back on, but then it is all lost.

Posted: 17 Aug 2011, 04:01
by mmilen
My serve session inactivity time out is 60 seconds

My zone user reconnection time frame is 40 seconds
My zone User idle time is 1200 seconds