Game Room not opening on UI

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

Moderators: Lapo, Bax

sitnik
Posts: 19
Joined: 24 Jan 2018, 08:49

Game Room not opening on UI

Postby sitnik » 07 Aug 2021, 06:13

hi

One of our game client is facing issue where the game room doesnt opens up on the ui post join request.

Following exception log is seen during this problem:

Code: Select all

Fresh join exception:com.smartfoxserver.v2.exceptions.SFSJoinRoomException: JoinRoom refused for ( User Name: 5aj4d0, Id: 1646, Priv: 0, Sess: 106.198.23.217:5125 ) . Session is already closed


This game ui is able to communicate with SFS as it only asked SFSExtension to make it join a fresh game room.

SFSExtension code used for triggering room join :

Code: Select all

   ZoneExtension.getApi().joinRoom(sfsUser, toSFSRoomName, null, true, null);



May i know whats causing this issue and how can i prevent this from happening
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Game Room not opening on UI

Postby Lapo » 07 Aug 2021, 07:29

Hi,
I think the message should be clear enough. The client session is not open anymore when the operation (joining) is executed.

In other words the client seem to have disconnected or it's in the process of disconnecting (which is something that may take a while, sometimes).

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 70 guests