CORS issues with Google fonts in Chrome & FF

murraybiscuit

Executive Member
Joined
Oct 10, 2008
Messages
6,483
Reaction score
55
Location
Dubai
I've got a site currently in dev and all of a sudden with the latest chrome update, some Google fonts don't load.
I thought it may be a browser issue, but same issue in FF.

Console is throwing an error about CORS (access-control-allow-origin... whatever)
I thought it may be an extension or proxy issue in my browser, but I don't think that's the issue.
Looks to me like Google is serving cached fonts off CDN (fonts.gstatic.com) but hasn't allowed access in the CDN headers.

Anybody else having issues? (older versions of chrome don't worry about CORS on fonts, so this would be latest build & FF only).
If you go here: http://www.google.com/fonts you should see an error in the console

Is this happening for anybody else?
 
I've got a site currently in dev and all of a sudden with the latest chrome update, some Google fonts don't load.
I thought it may be a browser issue, but same issue in FF.

Console is throwing an error about CORS (access-control-allow-origin... whatever)
I thought it may be an extension or proxy issue in my browser, but I don't think that's the issue.
Looks to me like Google is serving cached fonts off CDN (fonts.gstatic.com) but hasn't allowed access in the CDN headers.

Anybody else having issues? (older versions of chrome don't worry about CORS on fonts, so this would be latest build & FF only).
If you go here: http://www.google.com/fonts you should see an error in the console

Is this happening for anybody else?

No, latest 64-bit Chrome (stable).
 
No, latest 64-bit Chrome (stable).

Fonts may appear to be working, but I'm getting a console error. On my site, that's messing up half my fonts...

Here's my inspector in CR & FF (note, fonts are appearing fine on the page).

2014-08-28_165931.jpg
2014-08-28_170129.jpg

In the FAQ's, Google says some proxies may strip CORS headers - are you guys getting anything in your consoles like my images above?
 
Fonts may appear to be working, but I'm getting a console error. On my site, that's messing up half my fonts...

Here's my inspector in CR & FF (note, fonts are appearing fine on the page).

View attachment 144700
View attachment 144702

In the FAQ's, Google says some proxies may strip CORS headers - are you guys getting anything in your consoles like my images above?

Nope, the only error I receive is:

x Failed to load resource: net::ERR_CACHE_MISS
 
Nope, the only error I receive is:

x Failed to load resource: net::ERR_CACHE_MISS

Er... ok.
Well, if anyone else encounters this, send me a pm.
I'll debug in the meantime externally.
Thanks testing squad. You can go back to your desks now...
 
give me your exact url for the font i'll slap it in my app quick and see if it happens with your url.
 
give me your exact url for the font i'll slap it in my app quick and see if it happens with your url.

That would be great. One last option - I may have unotelly set up on that AP. Will check & get back to you later on PM.
 
Top
Sign up to the MyBroadband newsletter
X