Search found 38 matches

by htbn_hoang
17 Dec 2019, 02:11
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

Hi Lapo, After fixed problem 404 error code of /websocket, It seems to BlueBox still not working. I compared request and response from /websocket between version 2.13.7 and 2.14. On version 2.14, I do not see response from /websocket like my pictures attached. Can you check it, please? Thank you. I...
by htbn_hoang
16 Dec 2019, 05:11
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

Hi Lapo,

After fixed problem 404 error code of /websocket, It seems to BlueBox still not working.
I compared request and response from /websocket between version 2.13.7 and 2.14. On version 2.14, I do not see response from /websocket like my pictures attached.

Can you check it, please?

Thank you.
by htbn_hoang
16 Dec 2019, 02:23
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

I received 404 error from this https://myserver:8843/websocket on client side, after upgrade SFS to version 2.14. I’m using port 8843 (not 8443) with a SSL connection. I don't know why you're using that URL. That's incorrect. Are you actually testing with a client built with our API? If so tell us ...
by htbn_hoang
13 Dec 2019, 09:48
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

I've already turned it on but I cannot load data from https://myserver:8843/websocket. Did I miss something here? What does it mean that you cannot "load data"? Is there a connection error? Can you pleas post the details of the client and/or server side errors? Also you're using port 8443...
by htbn_hoang
13 Dec 2019, 04:19
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

Hi Lapo, It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war . Could you please check? Thanks. The new release does not use on web.xml Websocket is not active by default. You need to turn it on via AdminTool > Server Configurator > Web Server Did you actually test the...
by htbn_hoang
12 Dec 2019, 08:46
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44156

Re: [NEW] SFS2X 2.14.0 is available!

Hi Lapo,

It seems BlueBox and Websocket do not work. There's no web.xml file in BlueBox.war. Could you please check?

Thanks.
by htbn_hoang
07 Dec 2017, 04:49
Forum: SFS2X Questions
Topic: Potential memory leak in websocket
Replies: 12
Views: 14259

Re: Potential memory leak in websocket

Hi,

I have a chance to take a heap dump from our production server today. Below are some useful information. Let me know if you need something else.

dominator-classes.png
(32.4 KiB) Not downloaded yet

leak-detail.png
(35.79 KiB) Not downloaded yet

leak-overview.png
(21.08 KiB) Not downloaded yet


Best,
Hoang
by htbn_hoang
04 Dec 2017, 17:42
Forum: SFS2X Questions
Topic: Potential memory leak in websocket
Replies: 12
Views: 14259

Re: Potential memory leak in websocket

I just want to send a huge data to client so that I can generate the exception easier.

Best,
by htbn_hoang
04 Dec 2017, 11:36
Forum: SFS2X Questions
Topic: Potential memory leak in websocket
Replies: 12
Views: 14259

Re: Potential memory leak in websocket

Hi,

Just to be clear, the screenshot is taken from heap dump of my test, not from our production's. I think I generate 4 or 5 WebSocketException before taking heap dump.
by htbn_hoang
04 Dec 2017, 10:08
Forum: SFS2X Questions
Topic: Potential memory leak in websocket
Replies: 12
Views: 14259

Re: Potential memory leak in websocket

Hi, For the exception, I know that it happens because of network error. I make a test to check whether there's a memory leak or not. Every time I can produce this exception (closing browser tab), memory usage will go up and stay there. On production, memory usage keeps going up hour after hour until...
by htbn_hoang
03 Dec 2017, 04:35
Forum: SFS2X Questions
Topic: Potential memory leak in websocket
Replies: 12
Views: 14259

Potential memory leak in websocket

Hi, Our production server keeps crashing every 7~10 days due to OutOfMemoryError. I quite believe there's a memory leak whenever we receive following exception 04:12:42,302 WARN [pool-1-thread-3] websocket.SFS2XWSService - I/O Exception writing text to websocket: org.eclipse.jetty.websocket.api.WebS...
by htbn_hoang
14 Jan 2016, 10:03
Forum: SFS2X C# API
Topic: Bug in SFSObject.GetByte
Replies: 6
Views: 8515

Re: Bug in SFSObject.GetByte

Hi,

Could you please let me know when a fix will be available?

Thanks
by htbn_hoang
13 Jan 2016, 10:26
Forum: SFS2X C# API
Topic: Bug in SFSObject.GetByte
Replies: 6
Views: 8515

Re: Bug in SFSObject.GetByte

I think we should make data consistent between Java and C# by adding GetSByte.
It's strange if we set -1 on server and we receive 255 on client.
by htbn_hoang
13 Jan 2016, 10:14
Forum: SFS2X C# API
Topic: Bug in SFSObject.GetByte
Replies: 6
Views: 8515

Re: Bug in SFSObject.GetByte

Here is code on server in Java, please check else part public ISFSObject toSFSData() { if (accountId != -1 || type != -1) { ISFSObject sfsData = new SFSObject(); if (type != -1) { sfsData.putInt(Ban.Type, type); sfsData.putByte(Ban.UserGender, (byte) gender); sfsData.putUtfString(Ban.UserFirstNamePl...
by htbn_hoang
13 Jan 2016, 04:01
Forum: SFS2X C# API
Topic: Bug in SFSObject.GetByte
Replies: 6
Views: 8515

Bug in SFSObject.GetByte

Hi, According to http://docs2x.smartfoxserver.com/api-docs/csharp-doc/ SFSObject.GetByte Returns the element corresponding to the specified key as a signed byte (8 bits) But if we send -1 from server, we receive following exception OverflowException: Value is greater than Byte.MaxValue or less than ...

Go to advanced search