I’m working with apache and tomcat server in ubuntu server with a web app made of web pages and websockets.
Web pages are served from Apache HTTPD and tomcat serves websockets. Both use the same L.E. SSL certificate.
Apache well works with HTTPS but I found a problem with websockets.
If I use Chrome the websocket secure connection fails with this log:
WebSocket connection to 'wss://my.website.com:8443/pv' failed: WebSocket opening handshake was canceled
this log is produced in this code line:
I have no further logs,
If I use Chrome switching to http and non-secure webservice connection (ws://), it works!
If I use Firefox, it works perfectly with both secure (wss://) and not secure (wss://)!
Can you tell me why Chrome complains about this secure connection?