Hi there,
(I am a newbie to Smartfox Server.)
I am wondering why this error comes up when I try to reconnect the user.
19 Jan 2012 00:54:35,928 INFO [SocketReader] bitswarm.core.SocketReader - Socket closed: java.nio.channels.SocketChannel[closed]
19 Jan 2012 00:54:43,068 INFO [Scheduler1-thread-1] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 16, Type: DEFAULT, Logged: Yes, IP: 192.168.200.38:55517 }
19 Jan 2012 00:54:43,068 INFO [Scheduler1-thread-1] v2.entities.SFSZone - User: t12 was disconnected.
19 Jan 2012 00:54:43,068 INFO [Scheduler1-thread-1] v2.api.SFSApi - User disconnected: ( User Name: t12, Id: 6, Priv: 0, Sess: 192.168.200.38:55517 )
19 Jan 2012 00:55:09,348 INFO [SocketReader] bitswarm.core.SocketAcceptor - Session created: { Id: 17, Type: DEFAULT, Logged: No, IP: 192.168.200.38:55568 } on Server port: 9933 <---> 55568
19 Jan 2012 00:55:09,349 INFO [com.smartfoxserver.v2.controllers.SystemController-1] v2.controllers.SystemController - {IN}: Handshake
19 Jan 2012 00:55:09,350 INFO [com.smartfoxserver.v2.controllers.SystemController-1] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 17, Type: DEFAULT, Logged: No, IP: 192.168.200.38:55568 }
19 Jan 2012 00:55:09,350 WARN [com.smartfoxserver.v2.controllers.SystemController-1] v2.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.200.38:9933 remote=/192.168.200.38:55568]
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:127)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Any solution please!
I found a thread in the forum related to Reconnect: http://forums.smartfoxserver.com/viewtopic.php?t=12552
is that the same as above error?
Session Reconnection failure
Hi.
What setting do you have for the User reconnection timeframe (on the zone settings under the Zone Configurator)? Please make sure that you have a good value there, as small values will result in many reconnection attempts to fail.
What setting do you have for the User reconnection timeframe (on the zone settings under the Zone Configurator)? Please make sure that you have a good value there, as small values will result in many reconnection attempts to fail.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
It works as suggested here:
http://forums.smartfoxserver.com/viewtopic.php?t=12552
simple, renew the smartfox object.
http://forums.smartfoxserver.com/viewtopic.php?t=12552
simple, renew the smartfox object.
Srees