title: Websocket connection not working on Safari (MacOS), all browsers (IOS devices) but works fine on all browsers in Windows and Android
body: <p>I have a chatbot application that uses Spring Boot at the backend and ReactJS for the UI. This application works fine on Windows Desktop/Laptop ( Chrome/Firefox/Edge) but doesn't work on Safari in MacOS and doesn't work on all the browsers in IOS devices.</p>
  <p>Error I get in backend logs :</p>
  <p><em>Caused by: java.lang.IllegalArgumentException: The extension [x-webkit-deflate-frame] is not supported at org.apache.tomcat.websocket.TransformationFactory.create(TransformationFactory.java:48)
  at org.apache.tomcat.websocket.server.UpgradeUtil.createTransformations(UpgradeUtil.java:268)</em></p>
  <p>Error I get from Safari inspection:</p>
  <p>[Error] Web Socket connection to 'ws://......' failed: Unexpected response code: 500
  [Error] Socket encountered error:  – undefined – &quot;Closing socket&quot;
  (anonymous function) (main.e034c8dc.chunk.js:1:167988)</p>
  <p>Any solution would be really helpful, long time with this issue now.</p>