# X-pack exception | failed to load plugin

**URL:** <https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104>\
**Category:** Elasticsearch\
**Created:** [August 15, 2017, 1:37pm UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104 "2017-08-15T13:37:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![groot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groot/32/20933_2.png) [@groot](https://discuss.elastic.co/u/groot)\
**Post date:** [August 15, 2017, 1:37pm UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/1 "2017-08-15T13:37:36Z")

</div>

Hi ,

I have installed a new elasticsearch from scratch and configured and running .  
after the configuration I have installed the x-pack when it finished I've tried to run it but I got this exception :

[2017-08-15T16:14:44,012][ERROR][o.e.b.Bootstrap] Exception  
org.elasticsearch.ElasticsearchException: Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:434) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:387) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:140) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.node.Node.(Node.java:312) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.node.Node.(Node.java:244) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:232) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.Command.main(Command.java:88) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) [elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) [elasticsearch-5.5.1.jar:5.5.1]  
Caused by: java.lang.reflect.InvocationTargetException  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88) ~[?:?]  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57) ~[?:?]  
at java.lang.reflect.Constructor.newInstance(Constructor.java:437) ~[?:1.8.0]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:423) ~[elasticsearch-5.5.1.jar:5.5.1]  
... 14 more  
Caused by: java.lang.IllegalArgumentException: none of the ciphers [TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256, TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256, TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA, TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA, TLS\_RSA\_WITH\_AE  
S\_128\_CBC\_SHA256, TLS\_RSA\_WITH\_AES\_128\_CBC\_SHA] are supported by this JVM  
at org.elasticsearch.xpack.ssl.SSLService.supportedCiphers(SSLService.java:355) ~[?:?]  
at org.elasticsearch.xpack.ssl.SSLService.createSslContext(SSLService.java:388) ~[?:?]  
at org.elasticsearch.xpack.ssl.SSLService.loadSSLConfigurations(SSLService.java:401) ~[?:?]  
at org.elasticsearch.xpack.ssl.SSLService.(SSLService.java:79) ~[?:?]  
at org.elasticsearch.xpack.XPackPlugin.(XPackPlugin.java:205) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88) ~[?:?]  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57) ~[?:?]  
at java.lang.reflect.Constructor.newInstance(Constructor.java:437) ~[?:1.8.0]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:423) ~[elasticsearch-5.5.1.jar:5.5.1]  
... 14 more  
[2017-08-15T16:14:44,031][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [STG\_ELK\_TEST01] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]]; nested: InvocationTargetException; nested: IllegalArgumentException[none of the ciphers [TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256, TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256, TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA, TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA, TLS\_RSA\_WITH\_AES\_128\_CBC\_SHA256, TLS\_RSA\_WITH\_AES\_128\_CBC\_SHA] are supported by this JVM];  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.5.1.jar:5.5.1]  
Caused by: org.elasticsearch.ElasticsearchException: Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]  
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:434) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:387) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:140) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.node.Node.(Node.java:312) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.node.Node.(Node.java:244) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:232) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.1.jar:5.5.1]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.1.jar:5.5.1]  
... 6 more

this is my elasticsearch.yml file

[cluster.name](http://cluster.name): central\_test  
[node.name](http://node.name): TEST01  
path.data: /elk/data  
path.logs: /elk/logs  
action.auto\_create\_index: +.watches,+.triggered\_watches,+.watcher-history-_,+.monitoring-_,+logstash\*,+performance\*,-\*  
network.host: localhost  
http.port: 9200

Thanks,  
Meir.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 15, 2017, 2:20pm UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/2 "2017-08-15T14:20:36Z")

</div>

See this message in your stack trace.

```auto
none of the ciphers [TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AE
S_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA] are supported by this JVM

```

What JVM are you running on? Please paste the output of `java -version`

You can also just try with the oracle JDK and check if the error message stays. Make sure you are also exporting `JAVA_HOME` when switching JVMs.

---

<div class="post-metadata">

**Author:** ![groot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groot/32/20933_2.png) [@groot](https://discuss.elastic.co/u/groot)\
**Post date:** [August 16, 2017, 6:01am UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/3 "2017-08-16T06:01:55Z")

</div>

Hi,

I thought that the issue , so I have removed the default java that was installed with OS and download a new version from oracle site and issue have been solve.

Thanks,

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 16, 2017, 6:56am UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/4 "2017-08-16T06:56:19Z")

</div>

Out of curiosity, which JVM were you using before that? Was it a package from the operating system? And on which distribution/which version?

---

<div class="post-metadata">

**Author:** ![groot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groot/32/20933_2.png) [@groot](https://discuss.elastic.co/u/groot)\
**Post date:** [August 16, 2017, 7:23pm UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/5 "2017-08-16T19:23:21Z")

</div>

I have used this version java-1.8.0-ibm from our local yum repository.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 17, 2017, 7:06am UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/6 "2017-08-17T07:06:22Z")

</div>

Is this suse? Can you paste the output of `java -version` before you installed another JVM? That would help tremendously to figure out if we should add some notes to our documentation for a certain linux distribution.

Thanks so much!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 14, 2017, 7:06am UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104/7 "2017-09-14T07:06:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
