Google Font does not render in Google Chrome BUG [IT IS NOT A PROTOCOL TOPIC]

0

I switched to a free SSL webhosting (000webhost) and the google sources do not render, I tried a lot of things, the famous CSS code to make a repaint of the text does not work, neither the JS, I tried to link the google font without protocol and with https, nothing.

<link href="https://fonts.googleapis.com/css?family=News+Cycle&subset=latin,latin-ext" rel="stylesheet" type="text/css">

It only happens in Google Chrome, in Opera and Firefox the google font is well displayed.

Curiosity: When I open the console by pressing F12 and pressing CTRL + F5, the font renders well, but only when I open the console and refresh, when I enter the site it usually does not show the font properly. Very weird.

This is what the console throws at me:

The FetchEvent for "https://fonts.gstatic.com/s/newscycle/v14/9Xe8dq6pQDsPyVH2D3tMQvk_vArhqVIZ0nv9q090hN8.woff2" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors

The FetchEvent for "same link" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors

The FetchEvent for "https://fonts.googleapis.com/css?family=News+Cycle&subset=latin,latin-ext" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors

The FetchEvent for "same link" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors
2undefined 

Failed to load resource: the server responded with a status of 404 ()

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

Any ideas?

    
asked by Nicolas Harrinston 22.10.2017 в 12:53
source

1 answer

0

Resolved, I went to chrome: // serviceworker-internals /

and the problem was solved by deleting the service workers from my site, it would have been terrible if this happened in production mode. I still do not quite understand what happened.

    
answered by 22.10.2017 в 23:28