When disconnecting multiple clients simultaniously (same application) we get exceptions from smartfox:
com.smartfoxserver.v2.exceptions.SFSExtensionException: Extension Request refused. Sender is not a User: { Id: 5, Type: DEFAULT, Logged: Yes, IP: 212.64.125.31:55667 }
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:65)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
The server is working ok after the exceptions but I find it worrying that exceptions do happen at all. Is there an explanation why this happens and way to prevent this?
Disconnecting a lot of users gives exceptions
Disconnecting a lot of users gives exceptions
Bart van de Garde
CTO - Ranj Serious Games
CTO - Ranj Serious Games
I have created a load test application that simulates multiple clients in one Adobe air application. When I run e.g. 10 clients in this application (10 connections with different users for smartfox server) and close the application so no disconnect is send through the smartfox api I get this error.
The server is on the latest RC2 patch.
The server is on the latest RC2 patch.
Bart van de Garde
CTO - Ranj Serious Games
CTO - Ranj Serious Games
This is still not clear. Why should the server fire an exception regarding an invalid exception request (sender not a user?) while you are just disconnecting users?
Something else must be going on here. Can you provide step by step instructions showing what your code does? or even better, provide a test application. Thank you.
Something else must be going on here. Can you provide step by step instructions showing what your code does? or even better, provide a test application. Thank you.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team