Why is Chrome reporting a secure / non secure warning when no other browsers aren't?

Viewed 44754

When I go to our web site through HTTPS mode, Chome is reporting an error saying that the page contains secure and not secure items. However, I used Firebug, Fiddler, and HttpDebuggerPro, all which are telling me that everything is going through HTTPS. Is this a bug in Chrome?

Sorry but I'm unable to give out the actual URL.

9 Answers

I was having the same issue: Chromium showing the non-secure static files, but when everything was http://.

Just closing the current tab and re-opening the page in another new tab worked, so I think this is a Chromium/Chrome bug.

Cheers,

Diogo

It is possible that a non-secure URL is referenced but not accessed (e.g. the codebase for a Flash <object>).

Check the source of the page for any external objects (scripts, stylesheets, images, objects) linked using http://... rather than https://... or a relative path. Change the links to use relative paths, or absolute paths without protocol, i.e. href="/path/to/file".

If all that if fine, it could be something included from Javascript. For example, the Google Analytics code uses document.write to add a new script to the page, but it has code to check for HTTPS in case the calling page is secure:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
Related