[Fixed] Child failed to make LIVEAPI connection to cPanel error

Category : cPanel/WHM

While accessing Cloudflare plugin under the software heading in the cPanel, you might be getting error “Child failed to make LIVEAPI connection to cPanel”.

For fix, you will be needing

  • Root access to the server
  • Cloudflare API key

Reason for error :

This is probably due to old version of Cloudflare plugin present in your cPanel based server which has now got conflicted with the cPanel latest version.

Cloudflare Plugin doesn’t updates own its on as of now. So to update the same , we will be running the following command :

bash <(curl -s https://raw.githubusercontent.com/cloudflare/cloudflare-CPanel/master/cloudflare.install.sh) -k API_KEY -n ‘Company Name’

 

Replace the API_KEY with your cloudflare API keywhich can be found in your cloudflare account dashboard. Company name can be a string inside the single inverted commas.

API_KEY looks like 109985d89ea458ab1c762d2e3851p973

Upon succesful run of the command, you will get output like :

Starting CloudFlare CPanel Installation…

Downloading and unpacking latest version v7.0.1…

info [install_plugin] Installing to paper_lantern

info [install_plugin] Scheduling task to update sprites

info [install_plugin] Scheduling task to update API spec files

Plugin installed ok

Cleaning up

 

Voila ! Try accessing your cloudflare plugin now :

 

cloudflare-api