asp.net mvc script bundle not rendering with https - asp.net

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.

Related

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

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?

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

Meteor Http and https block on cloud9

I have my meteor app running on cloud9. I have AdminLTE installed. When running the app on my local host, all is well. Running on cloud9-IDE I get the following browser error related to the AdminLTE package:
Mixed Content: The page at 'https://app-user.c9users.io/'
was loaded over HTTPS, but requested an insecure stylesheet
'http://0.0.0.0:8080/packages/mfactory_admin-lte/css/AdminLTE.min.css'.
This request has been blocked; the content must be served over HTTPS.
'http://0.0.0.0:8080/packages/mfactory_admin-lte/css/skins/skin-green.min.css'.
This request has been blocked; the content must be served over HTTPS.
How can I correct this? I red somewhere that I has to do with accessing http over https. I'm a bit clueless when it comes to https. Any ideas?
Found the solution. The environment variable must be forced.
Thus to run the app:
ROOT_URL="https://app-username.c9users.io/" meteor --port $IP:$PORT

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