Help - Search - Members - Calendar
Full Version: Browser thinks I am requesting insecure style sheet, but I am not
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
George L Smyth
The style sheet of https://www.dripinvesting.org/articles/default_test.asp is not loading.

Chrome's developer is telling me, "Mixed Content: The page at 'https://www.dripinvesting.org/articles/default_test.asp' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.dripinvesting.org/styles/styles.css'. This request has been blocked; the content must be served over HTTPS."

However, I am requesting it as such: "link href='https://dripinvesting.org/styles/styles.css' rel='stylesheet' media='only screen and (min-width: 250px)'"

This is the only call to the spreadsheet.

Any idea why the browser is thinking that I am requesting http and any idea how I might be able to fix this?

Thanks -

george
George L Smyth
I fixed this by creating a relative path.

george
Christian J
QUOTE(George L Smyth @ Oct 18 2018, 09:57 PM) *

Chrome's developer is telling me, "Mixed Content: The page at 'https://www.dripinvesting.org/articles/default_test.asp' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.dripinvesting.org/styles/styles.css'. This request has been blocked; the content must be served over HTTPS."

Don't know if one should laugh or cry at Google/Chrome's idiocy (and hypocrisy --requiring connnections to be "secure" while nobody spies as much as Google itself). I choose this as a compromise: IPB Image

QUOTE
However, I am requesting it as such: "link href='https://dripinvesting.org/styles/styles.css' rel='stylesheet' media='only screen and (min-width: 250px)'"

Seems https://dripinvesting.org/styles/styles.css redirects to http://www.dripinvesting.org/styles/styles.css for some reason (note the added www and lost https).
pandy
Yeah. But this isn't limited to Chrome. It is how it works with SSL.
Christian J
QUOTE(pandy @ Oct 19 2018, 03:13 AM) *

Yeah. But this isn't limited to Chrome. It is how it works with SSL.

True, browsers have always warned about mixed content.

I was ranting about the new warnings for all HTTP web pages, but maybe that's not the issue here after all.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.