Smartfox websocket connection error

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

Moderators: Lapo, Bax

prem
Posts: 2
Joined: 04 Jun 2021, 14:42

Smartfox websocket connection error

Postby prem » 04 Jun 2021, 17:54

Hi,

I am getting a WebSocket connection error on the client-side.

websocket connection to 'wss://mydomain:8443/websocket' failed:

I have configured all server configuration and zone and it was working fine without SSL. After that, I added SSL to the domain name and uploaded the SSL certificate Keystore file. Now, I am getting the below error

websocket connection to 'wss://mydomain:8443/websocket' failed:

How do I fix this?

Thanks
Last edited by prem on 05 Jun 2021, 11:21, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Smartfox websocket connection error

Postby Lapo » 05 Jun 2021, 07:11

Hi,
what version of SmartFoxServer are you using?

Try connecting via HTTPS to --> https://mydomain:8443/
to check that the SSL certificate is deployed correctly and there're no errors. You should see the lock icon in the URL bar of your browser. If you click it, it should say that you're using a secure connection.

Also check the server side logs for errors. If there's an issue with the certificate there will be error messages telling you what's wrong.

Let us know.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 56 guests