Mixed-Content error for https request making http request
You might have seen mixed-content error while page rendered with HTTPS is making HTTP request. Your server is configured to SSL or to serve only HTTPS request. Server will block HTTP request mostly in this case unless configured so. Active Mixed Content : It has access to all DOM in current HTML page. I can manipulate page. It can cause man-in-the-middle attack. JavaScript source, CSS source, link, XMLHttpRequest can cause such content. Passive Mixed Content : It is content which does not alter other parts of HTML page.Static image, audio, video link are cause of passive mixed content. You can quickly fix such errors by addressing following points : Use relative URL if content/resource hosted on same server If you are calling content from servlet/JSP/REST API, use relative URL load resources. If absolute URL is used, then make sure all entries for resource URL has HTTPS. make sure you are creating URL starting HTTPS If cross domain is used then use site whi...