I used angular-wamp as a client and Crossbar as a router. WAMP works fine when I used it without ssl (https). But when I tried to implement Secure WebSocket, it gives this error in the console:
WAMP connection closed unreachable {
reason: null,
message: null,
retry_delay: 2.052066390813223,
retry_count: 2,
will_retry: true
}
but in the browser it shows Congrats! You are connected to the WAMP server!
I used wss: // localhost: 8080 / ws as the url in the connection. used this link as a link https://github.com/crossbario/crossbarexamples
Node.js server runs on 3000 ports.
Badly stuck, any help would be appreciated.
I accepted a temporary non-certified certification (usually our own certificate) for the local host, as well as 127.0.0.1, but still got something below.
In browser logs: Congratulations! You are connected to the WAMP server!
I accepted self-signed certification (localhost and 127.0.0.1):


source
share