# What does it mean java node client with secured cluster is not supported?

**URL:** <https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894>\
**Category:** Elasticsearch\
**Created:** [November 13, 2016, 5:43am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894 "2016-11-13T05:43:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunileman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunileman/32/13128_2.png) [@sunileman](https://discuss.elastic.co/u/sunileman)\
**Post date:** [November 13, 2016, 5:43am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894/1 "2016-11-13T05:43:03Z")

</div>

I am slightly a newbie to elastic. I need to create a new coordinating only node to use transport client with x-pack security. I am reading here ([https://www.elastic.co/guide/en/x-pack/current/java-clients.html](https://www.elastic.co/guide/en/x-pack/current/java-clients.html)) "Using the Java Node Client with secured clusters is not recommended or supported." can anyone provide details on what that means?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 13, 2016, 9:08am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894/2 "2016-11-13T09:08:26Z")

</div>

It just means that you should use a Transport Client or the REST client.  
The old fashion Node Client is not supported anymore.

---

<div class="post-metadata">

**Author:** ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)\
**Post date:** [November 14, 2016, 4:37am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894/3 "2016-11-14T04:37:22Z")

</div>

I am using `node v4.5.0` & `npm 1.4.21`. When I am using ES 2.4.0 my node is connecting fine to ES. After upgrading it to 5 its showing ES is down. In my package.json I am seeing `"elasticsearch": "^11.0.1",` this version. In the documentation (5.0 API) I am seeing every thing same as 2.4.0 API. Can you explain how Transport Client or the REST client is used in node to connect to ES 5??? I am not using X-pack in my node.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 14, 2016, 5:34am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894/4 "2016-11-14T05:34:10Z")

</div>

You are using JavaScript. It's not related to Tranport or REST Java client.  
Open a new thread and explain what your problem is. I actually don't understand what you wrote. May be it's because I'm not a JS dev?

---

<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:** [December 12, 2016, 5:34am UTC](https://discuss.elastic.co/t/what-does-it-mean-java-node-client-with-secured-cluster-is-not-supported/65894/5 "2016-12-12T05:34:25Z")

</div>

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