Search found 4 matches

by carbon_crystal
28 Apr 2017, 10:08
Forum: SFS2X HTML5 / JavaScript API
Topic: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"
Replies: 7
Views: 8806

Re: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"

Like I said, the regular API doesn't have SFSObject (am I wrong?), so I don't know how to add params for sending a custom command. TypeError: SFS2X.SFSObject is not a constructor do you have an example about sending a command to server with the regular JS API? Someting like this: var params = new SF...
by carbon_crystal
28 Apr 2017, 09:35
Forum: SFS2X HTML5 / JavaScript API
Topic: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"
Replies: 7
Views: 8806

Re: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"

Hi, I have new problem with product server. now I'm need to connect to a server version 2.8.5. And option "Enable WS/WSS" is on but my problem appear again I tried to use Client API 1.7.1 and it can connect to server but there is no SFSObject in API, the document for SFSObject 's just work...
by carbon_crystal
28 Apr 2017, 08:46
Forum: SFS2X HTML5 / JavaScript API
Topic: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"
Replies: 7
Views: 8806

Re: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"

Thank for your response!
I just do your suggestion and it connected. :D :D
Sorry for "pure Websocket API", I mean I tried to connect without using SFS2X Client API.
Anyway, thanks again!
by carbon_crystal
28 Apr 2017, 08:20
Forum: SFS2X HTML5 / JavaScript API
Topic: HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"
Replies: 7
Views: 8806

HTML Client API can't connect to server - hang at "Sending request 'HandshakeRequest' to server"

Hi. as title said, I'm using JS Client to connect to Smartfoxserver 2X, but it can't success. I have tried to connect to server by pure Websocket API then successful, with SFS2X client, I get only the info below by all time and nothing else [ SFS2X | INFO ] Attempting connection to server [ SFS2X | ...

Go to advanced search