I'm running a witness node locally with
rpc-tls-endpoint enabled:
witness_node --rpc-tls-endpoint 127.0.0.1:8089
And I've set the API connection in the GUI to this:
wss://127.0.0.1:8089
But still I get this error in the GUI:
WebSocket connection to 'wss://127.0.0.1:8089/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Anyone knows what I've done wrong?
EDIT: This issue is solved here:
https://bitsharestalk.org/index.php/topic,8390.msg273655.html#msg273655It turns out that your locally run witness node can work with a GUI only if you use either of these:
- a light wallet GUI running locally on your machine
- a hosted GUI, provided it is not using a secure domain (i.e. only works with plain http, not https)
Thus the OpenLedger GUI cannot be connected to your locally run witness node, as it uses https.
(If you really wanted to connect it, you could do it with "a TLS certificate and a proxy server for incoming traffic that proxies the ws server of the witness node" - as svk explains it
here)