When you start skedler-alerts and if you see the following error in the console or in alert log (alert.log):
root@41911f656327:/opt/alert/# bin/alert LD_LIBRARY_PATH configured LD_LIBRARY_PATH = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server { err: { [Error: Request Timeout after 1500ms] status: undefined, displayName: 'RequestTimeout', message: 'Request Timeout after 1500ms', body: false } } Some error occured, exiting.
Please do the following to resolve this issue:
- Check whether elasticsearch_url has been configured correctly in <alert_home>/config/alertconfig.yml
- Run the following command on the server where Skedler-Alerts runs and check whether you are able to connect Elasticsearch server
sudo curl -XGET <Elasticsearch URL>
If you are not able to connect to Elasticsearch server check for the connectivity and then configure the Elasticsearch URL that connects to the Elasticsearch server in <alert_home>/config/alertconfig.yml.