# Getting disconnecting "TimeoutTransportException" exception in java client API

**URL:** <https://discuss.elastic.co/t/getting-disconnecting-timeouttransportexception-exception-in-java-client-api/131451>\
**Category:** Elasticsearch\
**Created:** [May 11, 2018, 9:47am UTC](https://discuss.elastic.co/t/getting-disconnecting-timeouttransportexception-exception-in-java-client-api/131451 "2018-05-11T09:47:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurali](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Balamurali](https://discuss.elastic.co/u/Balamurali)\
**Post date:** [May 11, 2018, 9:47am UTC](https://discuss.elastic.co/t/getting-disconnecting-timeouttransportexception-exception-in-java-client-api/131451/1 "2018-05-11T09:47:06Z")

</div>

Hi All.

Currently, we are using elasticsearch 1.3.7 version and working very hard on ES upgrade.

**Getting below exception in application logs due to java client API every frequently.**

```
2018-05-11 02:31:34,739 INFO [org.elasticsearch.client.transport] (elasticsearch[Cable][generic][T#5]) [Cable] failed to get local cluster state for [node name][9MueIg67SuOseberepebP1Gwg][server][inet[/IPPORT]]{master=false}, disconnecting...: org.elasticsearch.transport.ReceiveTimeoutTransportException: [nodename[inet[/IP:PORT]][cluster/state] request_id [759] timed out after [5000ms]
at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:356)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

```

**Is it is normal message or error causing messages?**

As I said, we are working very hard on ES upgrade so need a temporary solution for this exception in current version.

Looking forward for good suggestions.

Thanks in advance 😉

---

<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:** [June 8, 2018, 9:47am UTC](https://discuss.elastic.co/t/getting-disconnecting-timeouttransportexception-exception-in-java-client-api/131451/2 "2018-06-08T09:47:13Z")

</div>

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