Troubleshooting Failed Communication with Update Server Error
You may encounter a Network Issue - Failed Communication with Update Server error when updating WHMCS using the Auto Update tool.
This error means your server was unable to connect to our update server. Follow these steps to troubleshoot:
Using your Server's SSH Command Line, run the following two commands:
curl -v https://releases.whmcs.com/v2/packages.json
curl -v https://pki.whmcs.com/
The expected return is a StatusCode: 200. If any other results is returned please work with your server admin or hosting provider to investigate the connectivity problem between your server and the WHMCS update server.
Error code meanings are explained in the libcurl error codes documentation. An explanation of select error codes is provided below:
Curl 77 Error
CURL77 errors may manifest as the following in the tblupdatelog
table:
[WHMCS\Installer\Composer\ComposerUpdateException] Failed to get certificate metadata from keyserver.
Error: Unable to download file from URL:
Message cURL error 77: Problem with the SSL CA cert (path? access rights?)
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] []...
This error indicates that the server was unable to connect to the WHMCS update server because the security of the connection could not be verified. The connection is secured using SSL certificates and to verify the certificate your server needs up-to-date root certificates to know which to trust.
Please work with your server administrator or hosting provider to ensure the root CA bundles are fully updated on your server.