Page 1 of 1

Encryption with WSS works fine, Encryption fails with TCP

Posted: 20 Jul 2018, 12:45
by ducbot
Hi Smartfoxserver Team,

I have finished the connection between WEBGL and server via WSS by configuring SSL certification successfully, there is no problem, WEBGL works fine.

However, when I try to encrypt the connection via TCP port 9933 by sfs.InitCrypto(), the connection can be established but the encryption fails then the session is removed immediately.

The encryption result is failed and reason is: Unknow Error.

I see there is no error on the server and client sides while connecting.

I don't know how to continue checking this problem, could you advise me on this issue ?

Hope to hear from you soon.

Thank you.

Re: Encryption with WSS works fine, Encryption fails with TCP

Posted: 20 Jul 2018, 14:06
by Lapo
What version of SFS2X are you running?
Can you show me the server side logs extract related to the connection failing?

Also if you point your browser to https://smartfox-ip-addr:8443 do you get the green lock in the browser?

Thanks