API error after OS X 10.10 Yosemite/Server 4.0 upgrade
-
I’m getting an API error after upgrading to OS X 10.10 Yosemite/Server 4.0: Cannot access the Google Webfonts API. Check your API key. The fallback font list is being used instead. Error fetching Google font: SSLRead() return error -9806
This seems to be related to the error I had with WordPress.com’s Jetpack authentication. That was resolved by adding
define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );
to the wp-config.php file.Similarly, Jetpack’s Related Posts module was failing until I changed a https:// reference to https:// in the code.
That seems to be what’s happening with Google Webfonts for Woo Framework. Line 179 of your google-webfonts-for-woo-framework calls for an https connection (https://www.googleapis.com/webfonts/v1/webfonts?key=). I’m pretty sure this is the bit that’s throwing the error for me.
When I edit that bit of your code, changing the https:// reference to https://, Google complains, throwing an error.
I’m also pretty sure this is limited to OS X 10.10.x Yosemite/Server 4.x and is Apple’s bug not yours.
When I open a VPN session to the server, open a browser and open https://www.googleapis.com/webfonts/v1/webfonts?key=xxx [where xxx is my API key] it returns current font information, as expected.
Any idea what could be causing this?
https://www.ads-software.com/plugins/google-fonts-for-woo-framework/
- The topic ‘API error after OS X 10.10 Yosemite/Server 4.0 upgrade’ is closed to new replies.