Title: Error Message: CDN Downtime
Last modified: March 31, 2019

---

# Error Message: CDN Downtime

 *  Resolved [Joy Ivory](https://wordpress.org/support/users/joy-ivory/)
 * (@joy-ivory)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/)
 * Hi Matt,
 * I’ve got this error message:
 * The plugin “Advanced Custom Fields: Font Awesome” has detected an error while
   retrieving the latest FontAwesome icons. This may be due to temporary CDN downtime.
   However if problems persist, please contact your hosting provider to ensure cURL
   is installed and up to date. Detected cURL version: (here’s nothing)
 * Is this a problem of the provider or a bug in the app?
 * Best regards
    Anya
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-cdn-downtime%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11379771)
 * Hello,
 * I just did some testing locally and all of the different endpoints used by this
   plugin to get the FontAwesome latest version and icons seem to be working as 
   expected.
 * So one of two things has/happened or is happening:
 * 1) There was a temporary downtime and things should be working not for you.
    
   or 2) There is a problem on your server that is preventing this plugin from working.
 * I suspect you are experiencing issue #2. I added the error that you are seeing
   after some users were experiencing issues with the plugin, and it was found that
   they had a very out of date version of cURL that was causing issues with https(
   SSL) urls.
 * Part of the error you see is supposed to show the version of cURL that you have
   installed to further help verify if you are on an outdated version. The fact 
   that your server is not able to retrieve any version number at all might mean
   that cURL isn’t working or is not configured properly.
 * Are you able to contact your hosting provider to inquire further about which 
   cURL you have installed and if it is working?
 *  Thread Starter [Joy Ivory](https://wordpress.org/support/users/joy-ivory/)
 * (@joy-ivory)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11380448)
 * Hi Matt,
 * first of all a big Thanks, that you’ve answered so quickly.
 * My Provider told me that cURL is installed in the version 7.60.0.
 * Best regards
    Anya
    -  This reply was modified 7 years, 1 month ago by [Joy Ivory](https://wordpress.org/support/users/joy-ivory/).
 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11380586)
 * That version is a little old, but not as old as the versions of cURL I’ve seen
   others have issues with. I’ve written up some debug code that you could test 
   with if you are comfortable doing so. This would require you to place some code
   in your themes functions.php file and you should only do so if you are comfortable
   making edits to this file.
 * Here is the code:
 *     ```
       function test_wp_remote_get() {
       	if ( ! isset( $_GET['test_fa'] ) ) {
       		return;
       	}
   
       	$free_manifest_url = 'http://cdn.jsdelivr.net/gh/mattkeys/FontAwesome-Free-Manifest/5.x/manifest.yml';
       	$remote_get	= wp_remote_get( $free_manifest_url );
   
       	// Log the results to a file called log_fontawesome.txt in the root of your website
       	file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/log_fontawesome.txt', print_r($remote_get, true));
   
       	// Alternatively print the results to the screen then end exit
       	// echo "<pre>";
       	// print_r( $remote_get );
       	// echo "</pre>";
   
       	// die( 'END' );
       }
       add_action( 'admin_init', 'test_wp_remote_get' );
       ```
   
 * To activate this test, you would navigate to: https://_yoursiteurlhere_.com/wp-
   admin/?test_fa
 * This would attempt to make the same call this plugin makes to get the fontawesome
   icons manifest, and then log the results of the attempt to a file called “log_fontawesome.
   txt” in the root of your site folder, eg: https://_yoursiteurlhere_.com/log_fontawesome.
   txt
 * If this function call is getting some kind of error, this would let us see what
   that error is.
 *  Thread Starter [Joy Ivory](https://wordpress.org/support/users/joy-ivory/)
 * (@joy-ivory)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11382424)
 * Hi Matt,
 * this is the error message of the log file:
 * WP_Error Object
    ( [errors] => Array ( [http_request_failed] => Array ( [0] =
   > cURL error 7: Failed to connect to cdn.jsdelivr.net port 80: No route to host)
 *  )
 *  [error_data] => Array
    ( )
 * )
 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11383925)
 * Great, I’m glad you were able to capture this error. Doing some googling it seems
   this is probably one of two things:
 * 1) A configuration issue or firewall on your web server that your hosting company
   can hopefully help you troubleshoot.
 * or
 * 2) Possibly some kind of WordPress firewall that you have installed? If you have
   any plugins that you think may be interfering with this you could see if they
   have a whitelist you can use. Or you can temporarily deactivate them to see if
   they are causing the problem.
 * Either way please report back with any findings that may help other users in 
   the same position.
 *  Thread Starter [Joy Ivory](https://wordpress.org/support/users/joy-ivory/)
 * (@joy-ivory)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11408179)
 * Hi Matt,
 * the problem is solved. I’m a little embarrassed, but it was my fault.
    The issue
   wasn’t a firewall. It was a lot easier. I have changed in the settings the version
   of Font Awesome from 5 to 4, but I’ve missed to renew the selection of the icons
   at the page. So at the page everything looks fine, but the website preview didn’t
   show the icons. But I want to thank you very much for your help. I appreciate
   this. Your plugin is great!
 * Best wishes
    Anya

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error Message: CDN Downtime’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-font-awesome/assets/icon-256x256.
   jpg?rev=3435775)
 * [Advanced Custom Fields: Font Awesome Field](https://wordpress.org/plugins/advanced-custom-fields-font-awesome/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-font-awesome/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [curl](https://wordpress.org/support/topic-tag/curl/)

 * 6 replies
 * 2 participants
 * Last reply from: [Joy Ivory](https://wordpress.org/support/users/joy-ivory/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-message-cdn-downtime/#post-11408179)
 * Status: resolved