Title: wp_remote_post() failed
Last modified: August 7, 2021

---

# wp_remote_post() failed

 *  Resolved [herculesdesign](https://wordpress.org/support/users/herculesdesign/)
 * (@herculesdesign)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/)
 * Hi,
    I have another problem. Here are the details of the error:
 * wp_remote_post() failed. Many advanced features may not function. Contact your
   hosting provider. Error: cURL error 7: Failed to connect to api.redux.io port
   443 after 2041 ms: Connection refused
 * Please note that the cURL library works on the server.
    What could be the cause
   of this?

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

 *  Plugin Author [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/#post-14744779)
 * Most user who report this have experiences an issue on their server, usually 
   a setting in PHP module when post/get calls fail because of CURL. Between this
   and you sever acting as if a version below PHP 7.x in installed, I suspect something
   else is going on that is manifesting itself here. I would highly recommend contacting
   whomever does support for your website and tell them PHP 7 specific code is kicking
   back errors and that API with cURL calls are also failing, I, personally, am 
   unable to debug your server.
 * If you check [https://api.redux.io/gfonts](https://api.redux.io/gfonts) and see
   a JSON string of Google fonts, then the server is working
 *  Thread Starter [herculesdesign](https://wordpress.org/support/users/herculesdesign/)
 * (@herculesdesign)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/#post-14744817)
 * The site took 3-5 minutes to load. I fixed it by adding this filter:
 * if ( !function_exists( ‘google_field_path’ ) ):
    function google_field_path(){
   return ‘[https://raw.githubusercontent.com/reduxframework/google-fonts/master/google_fonts.json&#8217](https://raw.githubusercontent.com/reduxframework/google-fonts/master/google_fonts.json&#8217);;}
   endif;
 * add_filter( “redux/typography/google_fonts/url”, “google_field_path” );
 * This means that the server has a problem connecting to your API address:
 * [https://api.redux.io/gfonts](https://api.redux.io/gfonts)
 * Is my solution optimal or can it be done better?
 *  Plugin Author [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/#post-14744828)
 * I’m not seeing that kind of lag here. You are free to add that filter in your
   project if you like. If I tie the core to GitHub and something happen in the 
   future where GitHub isn’t available, then it means mass breakage. The redirect
   from the server saves that issue.
 * It may also be an internet traffic issue somewhere.
 *  Thread Starter [herculesdesign](https://wordpress.org/support/users/herculesdesign/)
 * (@herculesdesign)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/#post-14744946)
 * Okay thank you. If there is any problem, I will contact you, and in the meantime
   I am closing this thread.

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

The topic ‘wp_remote_post() failed’ is closed to new replies.

 * ![](https://ps.w.org/redux-framework/assets/icon.svg?rev=2889347)
 * [Redux Framework](https://wordpress.org/plugins/redux-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redux-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redux-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/redux-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redux-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redux-framework/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [herculesdesign](https://wordpress.org/support/users/herculesdesign/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/wp_remote_post-failed-2/#post-14744946)
 * Status: resolved