I am trying understand how the reconnection setting works.
Is it up to the client to automatically reconnect every XX seconds to avoid the idle timeout connection disconnect?
How is the setting userReconnectionSeconds on the server being used, or is it something for only the client to do by itself?
Thanks.
I am seeing something like this below and not sure why.
Code: Select all
20:24:01,338 INFO [SocketReader] core.SocketAcceptor - Session created: { I
d: 6, Type: DEFAULT, Logged: No, IP: 127.0.0.1:54300 } on Server port: 9933 <---
> 54300
20:24:02,243 INFO [com.smartfoxserver.v2.controllers.SystemController-1] sessio
ns.DefaultSessionManager - Session removed: { Id: 6, Type: DEFAULT, Logged:
No, IP: 127.0.0.1:54300 }
20:24:02,245 WARN [com.smartfoxserver.v2.controllers.SystemController-1] contro
llers.SystemController -
com.smartfoxserver.bitswarm.exceptions.SessionReconnectionException: Session Rec
onnection failure. The passed Session is not managed by the ReconnectionManager:
java.nio.channels.SocketChannel[connected local=/127.0.0.1:9933 remote=/127.0.0
.1:54300]
com.smartfoxserver.bitswarm.sessions.DefaultReconnectionManager.reconnec
tSession(DefaultReconnectionManager.java:134)
com.smartfoxserver.bitswarm.sessions.DefaultSessionManager.reconnectSess
ion(DefaultSessionManager.java:376)