Fetch failed to start on Google Font requests #946
Comments
@etcook Do you have native fetching on? |
@oschaaf my pagespeed configuration is the following:
I do not have pagespeed UseNativeFetcher on; set |
@etcook Thanks. |
@oschaaf Let me get that configured right now, thanks. Our entire site is https - would that really be the only asset it's trying to fetch over https? |
@oschaaf I added domain mapping for fonts.googleapis.com - thank you so much. |
@oschaaf I thought I had it, but no luck. Was this not the right way to handle it? I put this in the server block:
|
Can you turn on HTTPS Fetching? https://developers.google.com/speed/pagespeed/module/https_support#https_fetch
|
@jeffkaufman It is now resolved. Is fetchhttps required for maporigin to work? |
Which means https://developers.google.com/speed/pagespeed/module/filter-css-inline-google-fonts should be telling people to turn on |
@jeffkaufman Why does this work? http://fonts.googleapis.com/css?family=Merriweather:400,700,900,300 |
Hmm, I'm not sure why. @morlovich can you look at this? Why do we need |
Note, the inline injected CSS from the inline_google_font_css filter seems to output the http proto variant, regardless of whether you have https enabled or not. |
Does this give you a mixed content warning then? |
@jeffkaufman Unfortunately, yes. |
@etcook Is the mixed content problem with FetchHttps or just MapOriginDomain? |
@jeffkaufman I'm no longer using MapOriginDomain. |
@etcook ok, just checking. I'll need to set up a test site. |
Hi, Sorry for the basic question, Should this change made by hosting provider through administration? |
@islamx With questions the best thing to do is to write to https://groups.google.com/forum/#!forum/ngx-pagespeed-discuss This thread here is for discussing a bug, and it seems like you're having an unrelated problem. |
Hello, I think this issue is still not resolved. When I enable https fetching, I have this error Fetch failed to start: https://fonts.googleapis.com/css?family=Montserrat&display=swap If I disable https fetching the font inlining works. Version: 1.13.35.2-0 |
@clandestino52 Think in pagespeed fetching a url as a brownser doing the same, for ssl the brownser need CA certificates. |
Yes of course I did. But not sure if it's correct. Https fetching seem correct for domain pages except for google fonts. ModPagespeedSslCertDirectory "/etc/pki/tls/private" /etc/pki/tls/private is the directory where private-certificate.key file exist. private-certificate.key is our domain private key. |
I think is not correct.
and the cert.pem is a link to As you can see this file is a CA bundle, not the certificates for your server. |
Thank you Lofesa. It works ! I thought that the certificate must be my SSL domain certificate. |
I'm getting the following error regularly in my logs:
2015/04/01 14:35:07 [warn] 9#0: [ngx_pagespeed 1.9.32.3-4448] Fetch failed to start: https://fonts.googleapis.com/css?family=Merriweather:400,700,900,300
That's the only url that it seems to have an issue with. Are there any recommendations for troubleshooting?
The text was updated successfully, but these errors were encountered: