When running the "cht_installer.sh" command on the Aggregator, you may encounter the following error message: "The downloaded lib/java/jruby-complete-1.7.25.jar file does not have the correct hash."
This message indicates that the file was not downloaded locally during the installation process. To resolve this, verify that the system has internet connectivity and you can download the file as part of the installation.
Troubleshooting steps:
1. Verify internet connectivity to the remote collector URL by running the following command:
curl -v https://remote-collector.s3.amazonaws.com:443
2. Try to manually download the file using the following command:
export http_proxy="http://${PROXY_USER}:${PROXY_PASS}@${PROXY_HOST}:${PROXY_PORT}"
curl -x $http_proxy -k -s "https://remote-collector.s3.amazonaws.com/lib/jruby-complete-1.7.25.jar" -o "jruby-complete-1.7.25.jar"
3. If the internet connectivity or the download fails, verify that your network firewall or proxy settings are not blocking the connection.
4. If the installation process took longer than 24 hours, the installation token may have expired. Generate a new token and re-register the Aggregator by following the steps described in the following article: How to re-register the Aggregator after the installation token expires