User disconnected immediately after connection

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

Moderators: Lapo, Bax

pratts
Posts: 34
Joined: 23 Aug 2016, 17:46

User disconnected immediately after connection

Postby pratts » 18 May 2018, 13:16

Hello,

We have been facing an issue where a client is unable to connect. Upon checking the server logs, we found that his session is immediately removed after creation. We don't have much idea about this behaviour.

18 May 2018 | 06:47:03,056 | INFO | New I/O worker #46 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 1235656, Type: WEBSOCKET, Logged: No, IP: xxx.xx.xx.xx } on Server port: yyyy <---> zzzzz
18 May 2018 | 06:47:03,157 | INFO | New I/O worker #46 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 1235656, Type: WEBSOCKET, Logged: No, IP: xxx.xx.xx.xx:zzzzz }

Can you please help in this matter since we are unable to find the cause of this problem ?

Details :
Smartfox version : 2.9.2
OS : Centos 7
Javascript API version : 1.2
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: User disconnected immediately after connection

Postby Lapo » 19 May 2018, 14:04

Hi,
you're running a very old server and API versions. In any case, what happens on the client side, did you check for error messages?
I'd recommend checking in the browser's console.

Also which browser are you using for testing?
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
pratts
Posts: 34
Joined: 23 Aug 2016, 17:46

Re: User disconnected immediately after connection

Postby pratts » 20 May 2018, 17:08

Hello,

Thank you for replying !
We are waiting for the messages that we had asked for from our team. Will update you once I get that.

The browser on which the problem occurred was Google chrome on MacOS.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 65 guests