Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Prevent errors: HTTPS but requested an insecure font - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
tedbergeron
#1 Posted : Friday, November 4, 2016 11:46:59 PM
Rank: Newbie

Groups: Registered

Joined: 11/4/2016
Posts: 2
We are using your SearchUnit.

When you inspect the code in Chrome, there are dozens of errors like this:

Mixed Content: The page at 'https://www.keyoti.com/products/search/dotNetWeb/index.html' was loaded over HTTPS, but requested an insecure font 'http://themes.googleusercontent.com/static/fonts/rosarivo/v1/OGdIq-p0tOtBN2VMVvO9W_esZW2xOQ-xsNqO47m55DA.woff'. This request has been blocked; the content must be served over HTTPS.

You can see this on your own website:
e.g. https://www.keyoti.com/p...ch/dotNetWeb/index.html

I would like to change the setting so that the request for the font is made on HTTPS, but I cannot find anywhere in the code where this call is made?

I've tracked it down to SearchUnit.js on this line

Code:
if (set)
    elem[name] = value;


Any ideas how to fix this behavior?

- Ted
Jim
#2 Posted : Saturday, November 5, 2016 3:54:30 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Hi Ted, thanks for posting.

I tried loading https://www.keyoti.com/p...ch/dotNetWeb/index.html in Chrome, but I don't see any errors in the devtools console. Do I need to do anything extra?

Also, your error implies that we're trying to load a google font, but I know that SearchUnit has no dependency on external fonts.

My thoughts;

1. Do you have a custom stylesheet applied to all pages loaded in Chrome, eg. https://www.itsupportgui...css-with-google-chrome/

2. Maybe you have a Chrome extension that loads this font?

3. Are you using Modernizr scripts with your own site? See http://stackoverflow.com...zr-loading-google-fonts which interestingly is about that specific font 'rosarivo'. We don't use it on our site, so maybe the error was from your own page?

4. Can you use the Network tab in dev tools to find the request to the HTTP url? If you open network and do CTRL-F, and type 'fonts' it should come up.


Please let me know
Jim
-your feedback is helpful to other users, thank you!


tedbergeron
#3 Posted : Monday, November 7, 2016 5:09:20 PM
Rank: Newbie

Groups: Registered

Joined: 11/4/2016
Posts: 2
Jim,
You were right, it was a Chrome extension called Read Mode https://chrome.google.co...ecfeopbghgihcabgiepploa

Sorry about that. Thank you very much.

- Ted

Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.