Session Reconnection failure

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Session Reconnection failure

Postby Ardito » 16 Mar 2022, 01:50

I found this error, but I don't find much about it on the web, how can I fix it?

sfs2x: 2.17.3
client: Unity 2020.3.30f1
client API: 1.7.16

Code: Select all

23:40:32,342 WARN  [SFSWorker:Sys:3] v290.SystemReqController     - 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.1.3:9933 remote=/93.65.241.167:4242]
        com.smartfoxserver.bitswarm.sessions.DefaultReconnectionManager.reconnectSession(DefaultReconnectionManager.java:155)
        com.smartfoxserver.bitswarm.sessions.DefaultSessionManager.reconnectSession(DefaultSessionManager.java:373)
        com.smartfoxserver.v2.controllers.system.Handshake.execute(Handshake.java:68)
        com.smartfoxserver.v2.controllers.v290.SystemReqController.processRequest(SystemReqController.java:172)
        com.smartfoxserver.v2.controllers.v290.SystemReqController.enqueueRequest(SystemReqController.java:127)
        com.smartfoxserver.bitswarm.io.protocols.AbstractProtocolCodec.dispatchRequestToController(AbstractProtocolCodec.java:39)
        com.smartfoxserver.v2.protocol.SFSProtocolCodec.dispatchRequest(SFSProtocolCodec.java:133)
        com.smartfoxserver.v2.protocol.SFSProtocolCodec.onPacketRead(SFSProtocolCodec.java:90)
        com.smartfoxserver.v2.protocol.binary.BinaryIoHandler$1.run(BinaryIoHandler.java:477)
        java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)
Last edited by Ardito on 27 Mar 2022, 15:18, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Session Reconnection failure

Postby Lapo » 16 Mar 2022, 08:14

Hi,
it means that a client attempted to reconnect but the server did not recognize the reconnection token passed by. the client.
This can usually happen when it takes a long time for the client who disconnected to come back online and retry.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Re: Session Reconnection failure

Postby Ardito » 16 Mar 2022, 08:48

Ok, I "User reconnection timeframe" set to 10 seconds, now I set it to 50 seconds, if there are other errors I will update this thread.

Thanks for the support
Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Re: Session Reconnection failure

Postby Ardito » 16 Mar 2022, 14:34

I got the same error again.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Session Reconnection failure

Postby Lapo » 16 Mar 2022, 16:08

Do you have a way to reproduce it? If so, can you give us more details?
Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Re: Session Reconnection failure

Postby Ardito » 16 Mar 2022, 17:02

No, I can't replicate it

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 40 guests