Netcode for Gameobjects + WebGL build error

Hi, Ill make this sort and sweet.

Im trying to make a Webgl build with a project that uses netcode for gameobjects.

My target platform is webGL and pressing play in editor runs the game without any errors.
When making a build launches the browser and the unity webGL player, but when it finishes its loading, it yields this error
Screenshot 2024-08-01 011429
Screenshot 2024-08-01 011447

(which is all foreign to me)
Disabling my code that starts the host fixes it, so its definitely netcode/webgl related.

After some google searches, I found that I had to
Upgrade my unity transport and
Enable web sockets
And use “wss” instead of “dtls” as the connection type ← which I don’t see anywhere.

Anyone had the same issue?

It’s not an issue, it’s a requirement for WebGL builds (as well as dedicated servers to which WebGL clients should connect):

Enable WebSockets and, at least if you enable encryption, the use of “wss” (WebSocket over https) as the protocol keyword.