This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-28
Channels
- # aws (5)
- # aws-lambda (1)
- # beginners (133)
- # boot (1)
- # cljsrn (1)
- # clojure (28)
- # clojure-austin (3)
- # clojure-italy (2)
- # clojure-spec (17)
- # clojure-uk (18)
- # clojurescript (38)
- # cursive (6)
- # datomic (6)
- # figwheel (1)
- # graphql (1)
- # klipse (1)
- # leiningen (1)
- # off-topic (13)
- # onyx (30)
- # re-frame (44)
- # reagent (7)
- # shadow-cljs (77)
- # spacemacs (7)
Problem with boot-reload + wss: 1. boot-reload works fine over regular ws 2. http forwarding from 4443 to 4000 works fine (using node/http-server, same command forwards 8443 to 8000 -- and that one works with websocketrs) 3. my boot-reload line is:
(reload ...
:ip "127.0.0.1"
:port 4000
:ws-host "s1"
:ws-port 4443
:secure true
)
I read that as:
3a. boot-reload starts a WS server on 127.0.0.1:4000
3b. the outputted js tells the client to look for s1:4443
3c. (outside of boot) on machine s1, I have a http-server which forwards 4443 ssl to 4000 http
websocket.js:283 WebSocket connection to '<wss://s1:4443/>' failed: Connection closed before receiving a handshake response
On client machine, I can do "telnet s1 4443" ; on s1, I CAN DO "telnet localhost 4000"
How do I begin to debug this ?