Probably a file descriptor limit issue. Check that you used ulimit as described in the docs.
Also see this topic for further gotchas.
Search found 53 matches
- 06 Mar 2019, 22:07
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Limit of 3541 sockets/users
- Replies: 2
- Views: 5170
- 28 Feb 2019, 20:58
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Too many connections
- Replies: 2
- Views: 4818
Re: Too many connections
FYI, that error message is misspelled. "Retrive" -> "retrieve".
- 19 Feb 2019, 18:13
- Forum: SFS2X HTML5 / JavaScript API
- Topic: Suggestion: Minimal API library version
- Replies: 1
- Views: 7269
Suggestion: Minimal API library version
Since the SmartFox javascript library is rather big I think it would be useful to have a minimal version with just the core features in addition to the full package. Currently the library is about 350kB minified . Larger javascript libraries often have multiple versions available, usually a "mi...
- 13 Feb 2019, 12:34
- Forum: SFS2X C++ API
- Topic: SFS2X can't raise Onconnection success
- Replies: 4
- Views: 11996
Re: SFS2X can't raise Onconnection success
developer.kus wrote:If I want to increase keep time out of connection lost( before send login request), what is config should I have change?
That's the "Session maximum idle time" setting. In the admin tool it's located under Server Configurator > General.
- 22 Dec 2018, 11:51
- Forum: SFS2X HTML5 / JavaScript API
- Topic: 1.7.13 bug?
- Replies: 1
- Views: 7317
1.7.13 bug?
I updated to the 1.7.13 api from 1.7.12 and always get following error: TypeError: this._sfs.roomManager.addGroup is not a function. (In 'this._sfs.roomManager.addGroup(n)', 'this._sfs.roomManager.addGroup' is undefined) column: 75684 line: 7 message: "this._sfs.roomManager.addGroup is not a fu...
- 05 Dec 2018, 07:16
- Forum: SFS2X Questions
- Topic: private user variables
- Replies: 3
- Views: 4829
Re: private user variables
There are two possible ways to deny changes: 1) Use a SystemController filter: http://docs2x.smartfoxserver.com/AdvancedTopics/system-controller-filters 2) Use an Extension instead. This way you can initialize Users with certain game values that will be read-only on the client side. A third alterna...
- 12 Nov 2018, 14:09
- Forum: SFS2X HTML5 / JavaScript API
- Topic: WebAssembly module?
- Replies: 2
- Views: 7589
Re: WebAssembly module?
we'll look into the WASM format as it becomes more prevalent and supported on various devices. WebAssembly is available on all major browsers today. Including the mobile ones. This is why I have started experimenting with it, since it has great potential for more advanced gaming being possible now....
- 12 Nov 2018, 09:11
- Forum: SFS2X HTML5 / JavaScript API
- Topic: WebAssembly module?
- Replies: 2
- Views: 7589
WebAssembly module?
Any plans on publishing a wasm version of the api? I have started experimenting with WebAssembly and it would be neat to integrate SFS directly.
Since there's a C++ api, it could probably be used as a basis for a wasm recompile.
Since there's a C++ api, it could probably be used as a basis for a wasm recompile.
- 25 Oct 2018, 18:42
- Forum: SFS2X Questions
- Topic: WebSocket binary message max size
- Replies: 11
- Views: 11631
Re: WebSocket binary message max size
Lapo wrote:UTF is not supported for SFSObject keys.
Aha, maybe this limitation should be documented. I haven't seen any mention of this before.
- 25 Oct 2018, 12:41
- Forum: SFS2X Questions
- Topic: WebSocket binary message max size
- Replies: 11
- Views: 11631
Re: WebSocket binary message max size
I suspect the cause of the problem is that a null value is added to the SFSArray while cycling through the database result. I would suggest to add null checks to avoid potential runtime serialization issues. I added checks for everything added to the SFSObject and it turns out the cause of the prob...
- 24 Oct 2018, 15:24
- Forum: SFS2X Questions
- Topic: WebSocket binary message max size
- Replies: 11
- Views: 11631
Re: WebSocket binary message max size
Can you show me exactly how this problem can be reproduced? I assume it's just the size of the message since it works up to a certain number of keys in the SFSObject. But in my particular case I'm looping over a database result with 350 records and adding SFSArrays to an SFSObject like: SFSObject l...
- 24 Oct 2018, 13:26
- Forum: SFS2X Questions
- Topic: WebSocket binary message max size
- Replies: 11
- Views: 11631
Re: WebSocket binary message max size
Not sure if this is related but I'm also running into message size problems when sending larger messages. Getting a BufferOverflowException when sending a SFSObject with 350 keys. Sending a message with half of those keys works. (I tried changing the maxWriteBufferSize but that didn't help) ::::::::...
- 23 Oct 2018, 18:54
- Forum: SFS2X Questions
- Topic: Javascript cross domain protection
- Replies: 4
- Views: 5039
Re: Javascript cross domain protection
I hope this can get added since html5 seems to be what most are turning to now that Flash is getting phased out. It's trivially easy with the "open-source" nature of javascript for a script-kid to clone a website and make any changes he likes to the client behaviour. Having a Origin check ...
- 20 Oct 2018, 00:53
- Forum: SFS2X Questions
- Topic: Javascript cross domain protection
- Replies: 4
- Views: 5039
Javascript cross domain protection
How can we make sure only clients coming from specific domains are allowed to connect when using a javascript client? When using Flash we have the crossdomain.xml to configure, is there something similar for javascript clients? I primarily want to prevent users from running a modified client from lo...
- 09 Oct 2018, 10:51
- Forum: SFS2X HTML5 / JavaScript API
- Topic: ArrayBuffer support
- Replies: 4
- Views: 9462
Re: ArrayBuffer support
Yes that sounds like a good improvement.