Client losing connection in some circumstances

Post here all your questions related with SmartFoxServer Java API

Moderators: Lapo, Bax

ksampson
Posts: 1
Joined: 02 Jun 2009, 16:47

Client losing connection in some circumstances

Postby ksampson » 02 Jun 2009, 17:02

I'm actually not sure if this is a problem with the Java client specifically, but we do not see this when we're using the Flash client. The Java client connections, joins a room, and calls an extension. The extension handler calls ExtensionHelper.setUserVariables() with broadcastAll set to true. As soon as it does this, it disconnects the user. Turning up the logging to full only shows this:

00:35:01.898 - [ FINE ] > User variable [x] = 1, created for user: 100000017_0.43534884033448507
00:35:01.898 - [ FINE ] > User [ 100000017_0.43534884033448507 ] removed

Turning broadcastAll off or not joining the room causes this to work. Is there some reason a user should be dropped in these circumstances? Thanks.
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Postby patso » 03 Jun 2009, 06:06

Hi,

Do you use custom login extension? Also can you provide more details - the debug trance on the client side could help a lot.

Return to “Java2SE / Android Client API”

Who is online

Users browsing this forum: No registered users and 30 guests