My website connects with JavaScript to a JavaServer Websocket (Tomcat 7.0.76). I use Secure Websocket (wss) and all works as expected on Chrome (Windows/Linux), Android and older iOS devices, but on newer iOS devices, I get the following error:
WebSocket connection to 'wss://****' failed: Error during WebSocket handshake: 'Connection' header value is not 'Upgrade'
But my SSL certificate is accepted by new iOS, I have no security warnings/problems navigating through the website via https.
Also, the websocket connection works over ws:// (by navigating to the site over http).
I think I have to modify the http header sent from the server, but no idea how to do that.
I am very grateful for any advice.