Mixed Content Error

Mixed Content Error


When trying to open a link from the popup which should open content in the same popup it gives below error :

Mixed Content: The page at 'https://abc ' was loaded over HTTPS, but requested an insecure resource 'http://xyz '. This request has been blocked; the content must be served over HTTPS.

Hi Ankita,

Just curious, how are you handling the http to https redirect on your server?

Either way, I've seen this issue before depending on how the servers were setup for https.

I found in these two scenarios this error occurs:

1) A popup is called directly from a consumer module.

2) A popup is called directly within its module, but from a web block, that is then consumed by another module.

The solution to this problem was to change any of these occurrences to be called via an entry point.

If you aren't familiar with this concept, you will need to do the following:

1) Right click on the UI flow of the popup and create an Entry, naming it, and within the UI flow diagram, pointing your new entry at the popup.

2) If you don't already have one created in your module, right click and add an External Site, after adding the external site, right click on the external site and select 'Add Dynamic URL'

3) Replace the occurrences of the direct link to the popup with a link to the External Site, passing in the function GetEntryURL() (From the HTTPRequestHandler), to the Dynamic 'URL' input of the external site, filling in the appropriate input paramters to the GetEntryURL() function based on your popup.

Let me know if you get stuck anywhere or if this doesn't solve the issue,



Besides what Justin said, It might also be because in the popup you want to show/use images/javascript that you are including with an expression where the url is still http.