Andrei, this is not an application issue, this application already implements websockets, my issue is something related to L.E. certificate, maybe the container configuration and Chrome because if I switch to HTTP it works, if I use a self-signed certificate it works, if I use firefox it works.
By the way your example application uses WS and not secure WSS.