Wss:// websocket 8555 blocked

I have an issue with a websocket I have been trying to us for a game.
The problem seems to be that the game works well when it is set to ws// but when I install any king od SSL certificates and enable the .json config like so I keep getting “Websocket connection Failed” notice on the browsers ( all browsers)
{

“port”:“8555”,

“host”:“mydomain.com”,
“prefix”:“https://”,

“host_ws”:“mydomain.com”,
“prefix_ws”:“wss://”,

“ssl”:true

}

I have set UFW rules to allow the port through Nodejs and npm working well…I have no idea what to do any more.
Any help to see how I can analyze this issue will be much appreciated.