title: SSL Error in nodejs
body: <p>I'm trying to get a webpage via node https.request(). Doing so results in an error getting logged by my code. Using the node request module has the same result:</p>
  
  <p><strong><em>problem with request: 140398870042432:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message:s23_clnt.c:658:</em></strong> </p>
  
  <p>The following indicates the wrong SSL version is being used, but I cannot find a way to change the version: <a href="https://stackoverflow.com/questions/10047407/curl-error-sslv3-alert-unexpected-message">curl error: &quot;sslv3 alert unexpected message&quot;</a>. Using curl from my terminal returns a response as does hitting the URL in my browser (it is a login page). My code is below.</p>
  
  <pre><code>var request = require('request')
  request.get("https://icmserver.wit.ie/balance", function(err, res, body) {
      if (err) {
          return console.log(err)
      }
      return body;
  });
  </code></pre>
  
  <p>Does anyone have any idea what might be happening here?</p>