Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE 10 and 11 hang when "Mixed Content" dialog appears

We are looking for solution to resolve strange IE browser behaviour when Mixed Content Warning Dialog appears.

We develop a video platform based on Silverlight 5. The site relies on the HTTPS protocol, but video content is being transmitted via HTTP. Therefore the "Mixed Content" dialog appears.

But when user starts to interact with this dialog (like moving it around) or tries to click on application area IE freezes:

enter image description here ​ And this very much upsets our users as they can not switch the setting "Display Mixed Content: Prompt".

Sometimes IE opens the "Mixed Content" popup in the background and users cannot understand at all what happens because they cannot access the application and then the browser crashes.

I cannot share link to the application, but the same issue appears at the following site: https://demos.telerik.com/silverlight/

Also we created a test app without complex logic using pure SL 5. It just downloads a picture from HTTP host, then the "Mixed Content" dialog appears, and then when users taps to app area or try to move dialog, IE hangs.

So, the questions are:

  1. Is this a known native bug of IE or Silverlight and it is impossible to fix or workaround?
  2. Otherwise, how we can fix this issue in our app?
like image 299
Alex Karlovich Avatar asked Sep 22 '15 14:09

Alex Karlovich


1 Answers

The best thing to do would be to eliminate all insecure requests to HTTP resources as follows:

  1. Run Fiddler on the machine with the Silverlight app running and capture all HTTP(S) traffic.
  2. Visually scan for all insecure requests generated from the application (requests to HTTP URLs)
  3. Update all code in the Silverlight app to retrieve content from HTTPS secure URLs only.

Once this is complete, you will no longer be receiving "Mixed Content" messages because all of your content will be served over HTTPS.

As an FYI, the answer here contains a nice visual on how to do this:

Fiddler Insecure Content

like image 181
dana Avatar answered Sep 27 '22 15:09

dana