grails-samples / grails-website

Grails Web Site
157 stars 174 forks source link

Font icons not loading #57

Closed grantmcconnaughey closed 9 years ago

grantmcconnaughey commented 10 years ago

Font icons don't seem to be loading properly. I'm getting nothing but blank boxes where the icons on buttons used to be. I'm seeing this on the plugin detail page, in particular. Here are the console errors:

Font from origin 'https://grails.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://grails.org' is therefore not allowed access. elasticsearch:1

Failed to load resource: the server responded with a status of 404 (Not Found) https://grails.org/static/pOs3lW8rfRE0lB0GLjdnRL7bp57mztmeknw0Ol95WIB.png

Failed to load resource: the server responded with a status of 404 (Not Found) https://grails.org/static/KyfMMV6MCxdwTELxGrqfAcZ6him1G1bVlwH0biUzgWT.png

2Font from origin 'https://grails.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://grails.org' is therefore not allowed access. 
mathifonseca commented 10 years ago

It may have something to do with a server configuration regarding HTTPS and Cross-Origin Resource Sharing.

I'm also seeing the same errors as @grantmcconnaughey reports and also problems loading these files in the Network view (note the HTTPS scheme):

The names are hashed, but they clearly are the font-awesome font files.

kenliu commented 10 years ago

that's strange, the fonts load on the plugin list page but not on the detail page.

martinschayna commented 10 years ago

Hm... the plugin list page is https, but requests to plugin detail pages are redirected to http only. Weird.

lhotari commented 9 years ago

fixed when updating grails.org website some time ago.