title: socket.io net::ERR_SSL_PROTOCOL_ERROR forever
body: <p>I am using Node.js, Socket.io with forever module.</p>
  
  <p>The script runs well for days, till randomly begins to throw this error:</p>
  
  <pre><code>net::ERR_SSL_PROTOCOL_ERROR
  </code></pre>
  
  <p>This is the code I use:</p>
  
  <pre><code>var https = require('https'),fs = require('fs');        
  
  var options = {
      key:    fs.readFileSync('cert/www.domain.com.key'),
      cert:   fs.readFileSync('cert/www.domain.com.crt')
  };
  var app = https.createServer(options);
  io = require('socket.io').listen(app);
  app.listen(8080, "0.0.0.0");
  </code></pre>
  
  <p>How can I avoid this?.</p>