J
jaber
Guest
Hello,
sofar my HTML game connects to a Windows server I hosted it on aws
everything worked fine untill I secured the website with SSL and used https; now its not connecting any more to the server and I am getting this error when I load the game
"The page at 'https://wanasa.world/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://"18.xx.xx.xx":9000/'. This request has been blocked; this endpoint must be available over WSS."
I undersrand that I should use wss. but to get the request work over https... but I dont know how :/ can any one guide me how/what to do?
very much appreciated
J
sofar my HTML game connects to a Windows server I hosted it on aws
GML:
//////////////////////// Create socket and connect to server
global.socket = network_create_socket(network_socket_ws);
ip = "18.xx.xx.xx";
global.isConnected = network_connect(global.socket, ip, 9000);
if(global.isConnected < 0)
show_error("Could not connect to server! check your Internet connection", true);
"The page at 'https://wanasa.world/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://"18.xx.xx.xx":9000/'. This request has been blocked; this endpoint must be available over WSS."
I undersrand that I should use wss. but to get the request work over https... but I dont know how :/ can any one guide me how/what to do?
very much appreciated
J
Last edited by a moderator: