title: Invalid frame header
body: <p>I am trying to make a real time application. I am using NodeJS as a server and Socket.IO, to achieve my real time functionality.</p>
  
  <p>The problem is I am getting error as:</p>
  
  <pre class="lang-none prettyprint-override"><code> WebSocket connection to 'wss://localhost:1234/socket.io/?EIO=3&amp;transport=websocket' failed: Invalid frame header
  </code></pre>
  
  <p>I tried many things, like changing https to http, lowering the Socket.IO version, etc., but nothing worked for me. Please help me with the cause of the problem, so that I can pinpoint the error in my application. I don't want to go for other COMET protocols.</p>