title: Agora Signal Login fails on https
body: <p>I'm using <a href="https://docs.agora.io/en/Signaling/signal_web?platform=Web" rel="nofollow noreferrer">Agora Signaling API for Web</a>. Using the sample code when I login over an http connection it logs-in normally, works pretty fine on my local machines as well.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>this.signal = Signal('APIKEY');
  this.session = this.signal.login('account_id');</code></pre>
  </div>
  </div>
  </p>
  
  <p>But when I switch to https (SSL Certificate) connection, the login method throws an error <a href="https://i.stack.imgur.com/XB13y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XB13y.png" alt="enter image description here"></a></p>
  
  <p>If someone had experienced such an issue, it would be great to share how it was resolved? Didn't find much help on internet regarding this.</p>
  
  <p>Thanks.</p>