hi everyone,
i build html5 target, connect to smartfox server . When i upload to facebook apps, i see error secure
Mixed Content: The page at ‘https://apps.facebook.com/sanhbai/?fb_source=sidebar_bookmark&game=tx’ was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint ‘ws://sb.azgame.us:6788/websocket’. This request has been blocked; this endpoint must be available over WSS.
can you help me fix it? thank you!
same problem here
in package openfl.net; Socket class
var schema = secure ? “wss” : “ws”;
i changed secure to true but it also doesnt work
I have just made a change to help change the socket type automatically if you are using HTTPS:
I assume that the socket server has to be able to support secure WebSocket, I’m not sure how that changes the protocol
Use haxe-ws lib , I’ve tested with openfl android target and neko connecting to nodejs websocket server