title: SIPML 5 Client and SipServlets not works Using WSS
body: <p>I Have Tomcat run on HTTPS.
  I have tried to deploy SIPML5 WebSocket Application To into my tomcat. 
  When I tried to connect Sip Servlets using ws :
  ws://192.168.X.Y:5082</p>
  
  <p>And Sip Servlets Config looks like :</p>
  
  <pre><code>&lt;Connector port="5082" 
           ipAddress = "192.168.X.Y"
           protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
           signalingTransport="ws"/&gt;
  </code></pre>
  
  <p>I got an error :
  SIPml-api.js:4 Mixed Content: The page at '<a href="https://192.168.X1.X2:8443/CallCenterBK/CallCenterBK.jsp?sip=1" rel="nofollow">https://192.168.X1.X2:8443/CallCenterBK/CallCenterBK.jsp?sip=1</a>' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.X.Y:5082/'. This request has been blocked; this endpoint must be available over WSS.</p>
  
  <p>When I have changes my SIPML 5 Client to wss :
  wss://192.168.X.Y:5082</p>
  
  <p>And my sip servlets config looks like :</p>
  
  <pre><code>&lt;Connector port="5082" 
           ipAddress = "192.168.X.Y"
           protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
           signalingTransport="wss"/&gt;
  </code></pre>
  
  <p>I got another error :
  WebSocket connection to 'wss://192.168.X.Y:5082/' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED</p>
  
  <p>And when I have set to sipml 5 client : wss://192.168.X.Y:5082
  and config changed to :</p>
  
  <pre><code>&lt;Connector port="5082" 
           ipAddress = "192.168.X.Y"
           protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
           signalingTransport="ws"/&gt;
  </code></pre>
  
  <p>I got an error :
  WebSocket connection to 'wss://192.168.1.3:5082/' failed: Error in connection establishment: net::ERR_TIMED_OUT</p>
  
  <p>What I did incorrectly ?</p>
  
  <p>Any idea will be appreciated.</p>