Great, that's exactly what I needed. Thank you.

On Saturday, August 11, 2018 at 7:13:45 AM UTC-5, Floh wrote:
>
> I think this is the same issue as described here: 
> https://github.com/kripken/emscripten/pull/6960
>
> Basically, if your app is served via https, you need to tell the 
> emscripten socket emulation that it needs to use wss:// instead of ws:// as 
> WebSocket protocol (and your WebSocket backend must be able to deal with 
> wss://).
>
> On Thursday, 9 August 2018 14:40:09 UTC+2, Treyten Carey wrote:
>>
>> Also, I can't seem to connect over http. I get the error
>>
>> "The page was loaded over HTTPS, but attempted to connect to the insecure 
>> WebSocket endpoint. This request has been blocked; this endpoint must be 
>> available over WSS."
>>
>> I read that I can turn regular sockets into secure sockets with OpenSSL, 
>> but I am unable to build OpenSSL for Emscripten. 
>> See here: https://github.com/kripken/emscripten/issues/6970
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to