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.
- Board index SmartFoxServer 2X SFS2X Client API SFS2X Java / Android API
- Search
-
- It is currently 11 Feb 2026, 02:02
- All times are UTC
EXTENSION_RESPONSE => CONNECTION_LOST
Post here your questions about the Java client / Android API for SFS2X
Return to “SFS2X Java / Android API”
Jump to
- SmartFoxServer 2X
- ↳ SFS2X Questions
- ↳ SFS2X Client API
- ↳ SFS2X ActionScript 3 API
- ↳ SFS2X C# API
- ↳ SFS2X iPhone / iPad / OSX API
- ↳ SFS2X Java / Android API
- ↳ SFS2X HTML5 / JavaScript API
- ↳ SFS2X C++ API
- ↳ RedBox 2X
- ↳ 2X Features Wish List
- SmartFoxServer Pro/Basic 1.x
- ↳ SmartFoxServer 1.x Discussions and Help
- ↳ Server Side Extension Development
- ↳ BlueBox
- ↳ RedBox
- ↳ Features Wish List
- ↳ The Bug Trap
- ↳ Client API - SFS 1.x
- ↳ .Net / Unity3D API
- ↳ iPhone Objective-C API
- ↳ Silverlight API
- ↳ Java2SE / Android Client API
- ↳ Other Client API
- OpenSpace Support
- ↳ OpenSpace v2 discussions and help
- ↳ OpenSpace v1 discussions and help
- SmartFoxBits Support
- ↳ SmartFoxBits for SFS 2X
- ↳ SmartFoxBits for SFS 1.x
- Community
- ↳ Job offers and requests
- ↳ The Gallery