after deleting and uploading new index html the browser still serves older version - http

Mixed Content: The page at 'https://d1wktfnq0mcp3y.cloudfront.net/' was loaded
over HTTPS, but requested an insecure script 'http://code.jquery.com/jquery-latest.min.js'.
This request has been blocked; the content must be served over HTTPS.
d1wktfnq0mcp3y.cloudfront.net/:1
Unchecked runtime.lastError: The message port closed before a response was received.
d1wktfnq0mcp3y.cloudfront.net/:1
Mixed Content: The page at 'https://d1wktfnq0mcp3y.cloudfront.net/' was loaded
over HTTPS, but requested an insecure favicon 'http://example.com/myicon.png'. This request has been blocked; the content must be served over HTTPS.
the problem is that i use CDN over s3 static; but cloudfront redirects http to https; whenver it finds any "http://" in index file it throws error above.
a similar question on SO recommended to delete index.html and reupload new file index.html - doing this did not help, as the browser still shows in the "source" tab "http://". what could be the reason?

Related

Can not figure out insecure content in Mixed Content error

I'm getting a mixed content error
on my webpage (flutter) but am not sure how to determine the insecure resource. I've gone through the requests on this page with the Network tab on Chrome, and they are all pointing to https.
In the console, I get this error
Mixed Content: The page at 'https://yhat.pub/profile/cbb493d3-4a1c-423b-9813-69da377acda6/build_nbs/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.yhat.pub/build/'. This request has been blocked; the content must be served over HTTPS.
But when I look at chrome dev tools, the URL they are stating http://api.yhat.pub/build/ is going over https.
Any suggestion is appreciated.

Mixed content http and https wordpress

I am working on a wordpress website, when i load my website from google chrome i found the following errors: Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure font 'http://example.com/wp-content/themes/woodstock/fonts/woodstock/woodstock.woff?421wez'. This request has been blocked; the content must be served over HTTPS. and Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure font 'http://example.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf'. This request has been blocked; the content must be served over HTTPS.
Note: i have another domain name but this is an example
I have tried to install many secured SSL plugin but it doesnt change anything.
Load your font ressources over https instead:
https://example.com/wp-content/themes/woodstock/fonts/woodstock/woodstock.woff?421wez
https://example.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf

asp.net mvc script bundle not rendering with https

I am getting this error message for script bundles which should render as https yet its return http://domain:443/
Mixed Content: The page at 'https://domain/' was loaded over HTTPS, but requested an insecure stylesheet 'http://domain:443/Content/css/mycss.css'. This request has been blocked; the content must be served over HTTPS.

Mixed content: page at https was loaded over https but requested an insecure

I'm using Nginx + flask-socketio + aws elb and when the URL is loaded on https I'm getting the following error message which is something related to the Nginx and socket, please help on this,
socket.io.min.js:2 Mixed Content: The page at 'https://localhost/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost/socket.io/1/?t=1477375737508'. This request has been blocked; the content must be served over HTTPS.d.handshake # socket.io.min.js:2
socket.io.min.js:2 XMLHttpRequest cannot load http://localhost/socket.io/1/?t=1477375737508. Failed to start loading.
Take a look into your .js file, make sure that you are using the right ajax URL (//your_site.com/handler, instead of http://your_site.com/handler), for instance:
$.ajax({
url:'//your_site.com/handler',dataType:'json',type:'get',
success: function(data){...},
complete:function(xhr, textStatus){...}
});
Mixed Content is a security policy employed by current browsers, and its goal is to prevent leaking information fetched over "secure" HTTPS to non-secure contexts. Therefore, a site served with HTTPS must use HTTPS or other TLS-enabled protocols to fetch content.
The URI prefix for Websockets over TLS is wss, and for plain Websockets ws. At least Chromium and Firefox consider https+ws mixed content, and deny such setting - therefore wss should be used as the URI prefix in secure/HTTPS contexts instead of ws.

HTTP iframe on HTTPS page

I have a simple question, but can't find the answer that I'm looking for.
Is a http iframe that's loaded on a secure https page also secured?
A iframe with http source will not be displayed on a https website as it's considered mixed content and browsers like Chrome will block the content with the following message:
Mixed Content: The page at 'your website' was loaded over HTTPS,
but requested an insecure resource 'iframe http source '. This
request has been blocked; the content must be served over HTTPS.
So far I have not seen a solution to allow mixed content.
There has been a solution for Firefox which is based on redirecting the iframe source via another website that is hosted on the HTTPS Domain.
It is not automatically, you should verify if the src of your iframe is connecting via https or not:
<iframe src="http://www.example.com"></iframe>
your iframe doesn't extend the https access from principal page.

Resources