Search found 19631 matches

by Lapo
25 May 2018, 09:15
Forum: SFS2X Questions
Topic: How can i deploy smartfox to kubernetes
Replies: 1
Views: 7

Re: How can i deploy smartfox to kubernetes

Hi,
I am not familiar with this environment but typically SFS2X does not require special configurations. It can be installed and run "as it is" and it will run efficiently in both small and large environments.

Cheers
by Lapo
25 May 2018, 08:22
Forum: SFS2X Questions
Topic: SFS2X local network connection problem
Replies: 1
Views: 8

Re: SFS2X local network connection problem

Hello, and welcome :) When you run SmartFoxServer on a different machine you can have issues connecting if there's a firewall running either on the server machine, the client machine, or both. Typically it's on the server side. To solve the problem check the computer running SFS2X and if a firewall ...
by Lapo
22 May 2018, 12:35
Forum: SFS2X Questions
Topic: Looping task for ServerBaseEventHandler
Replies: 2
Views: 9

Re: Looping task for ServerBaseEventHandler

Hi,
you can use the Task scheduler.
See here for the details:
https://smartfoxserver.com/blog/how-to- ... extension/

Hope it helps
by Lapo
19 May 2018, 14:05
Forum: SFS2X Questions
Topic: Websocket request rejected
Replies: 3
Views: 29

Re: Websocket request rejected

ducbot wrote:Thank you Lapo.

My issue was fixed by changing the UseWebSocket from WSS to WSS_BIN.

Good to hear that
Have you ever tried Cloudflare for WSS ?

I am not sure what you mean by that. Can you elaborate?

Thanks
by Lapo
19 May 2018, 14:04
Forum: SFS2X Questions
Topic: User disconnected immediately after connection
Replies: 2
Views: 34

Re: User disconnected immediately after connection

Hi,
you're running a very old server and API versions. In any case, what happens on the client side, did you check for error messages?
I'd recommend checking in the browser's console.

Also which browser are you using for testing?
Thanks
by Lapo
18 May 2018, 07:21
Forum: SFS2X Questions
Topic: Server CPU Utilization spikes on multiple users disconnecting at the same time
Replies: 6
Views: 44

Re: Server CPU Utilization spikes on multiple users disconnecting at the same time

"1) a scenario where 10K connections all go down at once is extremely unlikely" Actually Lapo, we have faced this issue recently when the ISP service went down. Sure, but it's not common right? It's not going to happen every day. If it was you should have to change ISP because no one want...
by Lapo
18 May 2018, 07:09
Forum: SFS2X Questions
Topic: Websocket request rejected
Replies: 3
Views: 29

Re: Websocket request rejected

HI, it looks like you're using the wrong protocol. The server is expecting a binary protocol but the client is sending text. You can either switch the configuration on the server side (to force Text) or pass a parameter in the constructor of the API to use the binary protocol. Unless you're using an...
by Lapo
18 May 2018, 07:05
Forum: SFS2X Questions
Topic: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
Replies: 3
Views: 13

Re: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."

Hi, peaks don't look too bad or too frequent. In the screenshot the latest peak is definitely linked to the spike in outgoing traffic below. In any case for only 100 CCU it shouldn't happen. If you have a dev version of your server (with the same Extensions) you could run 100 simulated clients and s...
by Lapo
17 May 2018, 16:39
Forum: SFS2X Questions
Topic: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
Replies: 3
Views: 13

Re: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."

Hi, we have this problem where random peaks would appear and at this point our only suspect is this log: 17 May 2018 | 14:58:03,086 | WARN | SFSWorker:Ext:18 | controllers.v290.ExtensionReqController | | com.smartfoxserver.v2.exceptions.SFSExtensionException: User cannot invoke Room extension if he...
by Lapo
17 May 2018, 14:56
Forum: SFS2X iPhone / iPad / OSX API
Topic: Fatal Exception: SFSCodecException Request rejected: No Action ID in request!
Replies: 6
Views: 29

Re: Fatal Exception: SFSCodecException Request rejected: No Action ID in request!

Hi,
those are very, very old versions :)
SFS2X 2.8 is likely 5-6 years old and so is the client API. I would highly recommend to update to the latest release. We have released many bug fixes and improvements since then.

Thanks
by Lapo
17 May 2018, 14:54
Forum: SFS2X Questions
Topic: Server CPU Utilization spikes on multiple users disconnecting at the same time
Replies: 6
Views: 44

Re: Server CPU Utilization spikes on multiple users disconnecting at the same time

I don't think I can do that. :) CPUs come in all sizes, cores, native threads, clock speeds and such. It is not possible to provide metrics as to how X amount of disconnections can impact the CPU with all these variables. Also I think you're worrying too much about something that is never been an is...
by Lapo
17 May 2018, 07:34
Forum: SFS2X Questions
Topic: Server CPU Utilization spikes on multiple users disconnecting at the same time
Replies: 6
Views: 44

Re: Server CPU Utilization spikes on multiple users disconnecting at the same time

Hi,
if you disconnect 10K users at once you're indeed asking the server to do a lot of clean up job. It is expected to see a CPU spike.

Every user disconnect requires cleaning rooms, variables, buddy lists, updating all other clients etc...

Cheers
by Lapo
17 May 2018, 07:31
Forum: SFS2X iPhone / iPad / OSX API
Topic: Fatal Exception: SFSCodecException Request rejected: No Action ID in request!
Replies: 6
Views: 29

Re: Fatal Exception: SFSCodecException Request rejected: No Action ID in request!

we used SFS2X 1.3.6 and the crash very radom we cannot reproduce it

There is no SFS2X 1.3.6
Please recheck what version of the server (SFS2X) and the client API you're using and let us know

Thanks

Go to advanced search