Fork me on GitHub
#dirac
<
2016-06-13
>
mikethompson01:06:29

Yeah, it makes a huge difference. Thanks!!

superstructor23:06:12

@darwin: If we wanted to develop over https (for testing, not security) is there a way to make the websocket endpoint for the agent SSL as well ? Otherwise we get an error like: “localhost was loaded over HTTP, but attempted to connect to the insecure WebSocket enpoint…This request has been blocked; this endpoint must be available over WSS.”

superstructor23:06:54

I’ve been looking at dirac.lib.ws-server and dirac.lib.nrepl-tunnel-server to try work out how to implement WSS.

darwin23:06:18

I have no experience with WSS, should be doable IMO

darwin23:06:37

or find a WSS proxy and put it in front of dirac agent

darwin23:06:16

and btw. I think chrome has some knobs to disable that "localhost was loaded over HTTPS…” restriction for development

darwin23:06:25

which sounds like easiest solution to me

darwin23:06:45

search for unsafely-treat-insecure-origin-as-secure command-line option

superstructor23:06:20

@darwin: have been looking into a patch and http-kit doesn’t support SSL. Would you be open to a pull request replacing it with jetty ?

superstructor23:06:15

or, would you prefer that two impls are switchable via config, a http-kit one and a jetty one ?