I am running elasticdiagnostic tool and facing this issue ,Can someone help?
support-diagnostics-7.0.8]$ ./diagnostics.sh --host ***** --port 9200 -u elastic -p --ssl --noVerify
Using /usr/bin/java as Java Runtime
Using -Xms256m -Xmx2000m for options.
10:20:47 INFO Processing diagnosticInputs...
Password:
10:20:50 INFO Creating temp directory: /tmp/support-diagnostics-7.0.8/diagnostics
10:20:50 INFO Created temp directory: /tmp/support-diagnostics-7.0.8/diagnostics
10:20:50 INFO Configuring log file.
10:20:50 INFO Writing diagnostic manifest.
10:20:50 INFO Checking for diagnostic version updates.
10:20:50 INFO Getting Elasticsearch Version.
10:20:50 INFO Log close complete.
Exception in thread "main" java.lang.RuntimeException: DiagnosticService runtime error
at com.elastic.support.diagnostics.chain.DiagnosticChainExec.runDiagnostic(DiagnosticChainExec.java:22)
at com.elastic.support.diagnostics.DiagnosticService.exec(DiagnosticService.java:59)
at com.elastic.support.diagnostics.DiagnosticApp.main(DiagnosticApp.java:31)
The first thing the diagnostic does is attempt to get the Elasticsearch version, so that's also the first time it tries to connect. If it didn't get past that step, you had an issue with the connection to that host. It could be any of a number of things:
Incorrect or inaccessible host name or IP
Certificate issues
Failure to authenticate
As detailed in the Troubleshooting section, the place to look for this is the diagnostics.log. An archive is created every time whether it succeeds or fails, and that log will be present within it. You may want to take a look in there - the fix referred to above only pertains to an authentication failure, which may or may not be your issue. There will certainly be more extensive information in the log.
BTW, if you're a support customer you may want to just open an issue if and when you hit this. Most of our engineers have seen these before and they'll either know the answer or reach out to me pretty quickly.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.