Encryption with WSS works fine, Encryption fails with TCP

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ducbot
Posts: 6
Joined: 23 Apr 2018, 09:16

Encryption with WSS works fine, Encryption fails with TCP

Postby ducbot » 20 Jul 2018, 12:45

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.
User avatar
Lapo
Site Admin
Posts: 20426
Joined: 21 Mar 2005, 09:50
Location: Italy

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

Postby Lapo » 20 Jul 2018, 14:06

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
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 25 guests