EXTENSION_RESPONSE => CONNECTION_LOST

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

Post Reply
anthony
Posts: 1
Joined: 19 May 2011, 11:53

EXTENSION_RESPONSE => CONNECTION_LOST

Post by anthony »

i used the Java API, with the BasicClient.java in the Beta3 release as a starting point. not even an android app, just a regular old java console app.

i can log in and join a room, but when i send an EXTENSION_RESPONSE to the client API i get a CONNECTION_LOST immediately after serving the response where the "reason"="unknown".

the client receives events like LOGIN, JOIN_ROOM, etc. just fine and i can send custom extension requests from the client to the server with no problems, but the return response from the server appears to cause the client to disconnect once the event handler is completed? if i do not send an EXTENSION_RESPONSE, the client will remain connected without any problems, but after handling a/any EXTENSION_RESPONSE the client is dropped (or drops itself). suggestions welcome.
Post Reply