title: Facebook "GET https://connect.facebook.net/en_US/sdk.js" giving ERR_INSECURE_RESPONSE
body: <p>I tried the sample code which was provided by Facebook at <a href="https://developers.facebook.com/docs/javascript/quickstart" rel="nofollow noreferrer">Quickstart guide</a>
  and I am geting the following response:</p>
  
  <blockquote>
    <p>GET <a href="https://connect.facebook.net/en_US/sdk.js" rel="nofollow noreferrer">https://connect.facebook.net/en_US/sdk.js</a> net::ERR_INSECURE_RESPONSE</p>
  </blockquote>
  
  <p>The following is my source code:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="ISO-8859-1"&gt;
  &lt;title&gt;FBTestDrive&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script&gt;
    window.fbAsyncInit = function() {
      FB.init({
        appId      : 'I got the app id.',
        xfbml      : true,
        version    : 'v2.9'
      });
      FB.AppEvents.logPageView();
    };
  
    (function(d, s, id){
       var js, fjs = d.getElementsByTagName(s)[0];
       if (d.getElementById(id)) {return;}
       js = d.createElement(s); js.id = id;
       js.src = "//connect.facebook.net/en_US/sdk.js";
       fjs.parentNode.insertBefore(js, fjs);
     }(document, 'script', 'facebook-jssdk'));
  
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I've tried putting <strong>http/https</strong> before <strong>//connect.facebook.net/en_US/sdk.js</strong> and I am also running the application from a server (local Apache Tomcat web server) but nothing is working.</p>