Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How to create wss connection in WebGL? (ws does not work under https)

$
0
0
Usual websockets works ok in WebGL through NetworkTransport. But when i try to connect from under https, it says:
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS

How should I create secure connection?

Viewing all articles
Browse latest Browse all 16796

Trending Articles