[MIRROR]Getting HandShake error when connecting to server on webgl game with WSS

Hello I am trying to make a webgl game with Mirror and when i connect to a server using wss i get this error

but when i turn off wss it works normally but when launching the game from the web it gives me a java script error
image

ip: my public ip
port: 27777(port forwarded)
transport: Simple Web Transport

Is the server also running WebSockets? A web client can only connect to a WebSockets server.

WSS may also require you to set up certificates. Refer to Mirror docs regarding this, if there are any. Or consider switching to Netcode for GameObjects.

I found out about relay servers and they sound much easier can I use a relay server on an online web game?

Yes but not for hosting. Web clients can’t host. You still need a dedicated server.

So can i use Unity MultiPlay? bc idk how to setup a websocket server on windows i looked through the mirror docs and the revers proxy thing and I see that they are using Windows Server Manager which i dont have i tried to do it on a VM but still