Socket Disconnection after upgrade SFS2.13.6 from 2.11
Posted: 24 Oct 2019, 08:14
Hi Team,
we are upgrading our server from server 2.11 to 2.13.
We achieved Login successfully but while game play we are getting frequent Socket disconnections for all sockets, even if any player is not playing that one also get socket disconnection.
This code is working fine with TCP in 2.13.6 and it was working fine with TCP and Socket in 2.11 also, I suppose its configuration related issue but not able to get any clue to resolve this.
Logs:
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 452, Type: WEBSOCKET, Logged: Yes, IP: 192.168.140.124:53468 }
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 452, Type: WEBSOCKET, Logged: No, IP: 192.168.140.124:53468 }
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 453, Type: WEBSOCKET, Logged: Yes, IP: 192.168.140.127:44420 }
12:53:34,952 INFO [SFSWorker:Sys:2] api.SFSApi - User disconnected: { Zone: Rummy }, ( User Name: yash.jaiswal, Id: 436, Priv: 0, Sess: 192.168.140.124:53468 ) , SessionLen: 8178, Type: JavaScript
12:53:34,953 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 453, Type: WEBSOCKET, Logged: No, IP: 192.168.140.127:44420 }
12:53:34,953 INFO [SFSWorker:Sys:4] api.SFSApi - User disconnected: { Zone: Rummy }, ( User Name: joshi1996, Id: 437, Priv: 0, Sess: 192.168.140.127:44420 ) , SessionLen: 5415, Type: JavaScript
we are upgrading our server from server 2.11 to 2.13.
We achieved Login successfully but while game play we are getting frequent Socket disconnections for all sockets, even if any player is not playing that one also get socket disconnection.
This code is working fine with TCP in 2.13.6 and it was working fine with TCP and Socket in 2.11 also, I suppose its configuration related issue but not able to get any clue to resolve this.
Logs:
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 452, Type: WEBSOCKET, Logged: Yes, IP: 192.168.140.124:53468 }
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 452, Type: WEBSOCKET, Logged: No, IP: 192.168.140.124:53468 }
12:53:34,952 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 453, Type: WEBSOCKET, Logged: Yes, IP: 192.168.140.127:44420 }
12:53:34,952 INFO [SFSWorker:Sys:2] api.SFSApi - User disconnected: { Zone: Rummy }, ( User Name: yash.jaiswal, Id: 436, Priv: 0, Sess: 192.168.140.124:53468 ) , SessionLen: 8178, Type: JavaScript
12:53:34,953 INFO [pool-1-thread-3] sessions.DefaultSessionManager - Session removed: { Id: 453, Type: WEBSOCKET, Logged: No, IP: 192.168.140.127:44420 }
12:53:34,953 INFO [SFSWorker:Sys:4] api.SFSApi - User disconnected: { Zone: Rummy }, ( User Name: joshi1996, Id: 437, Priv: 0, Sess: 192.168.140.127:44420 ) , SessionLen: 5415, Type: JavaScript