# NoNodeAvailable Exception with TransportClient over NAT

**URL:** <https://discuss.elastic.co/t/nonodeavailable-exception-with-transportclient-over-nat/11078>\
**Category:** Elasticsearch\
**Created:** [March 8, 2013, 4:04pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-with-transportclient-over-nat/11078 "2013-03-08T16:04:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_3](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Andy\_3](https://discuss.elastic.co/u/Andy_3)\
**Post date:** [March 8, 2013, 4:04pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-with-transportclient-over-nat/11078/1 "2013-03-08T16:04:08Z")

</div>

I have a TransportClient connecting to a 2 node search cluster over NAT.  
The client starts up fine, over time I'm experiencing a  
NoNodeAvailableException though.

Are there any configuration changes recommended for clients over NAT. I've  
already discovered to turn sniff off, since that hung the launch. I'm  
using 0.19.8

Thanks,  
Andy

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Andy\_3](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Andy\_3](https://discuss.elastic.co/u/Andy_3)\
**Post date:** [March 8, 2013, 7:46pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-with-transportclient-over-nat/11078/2 "2013-03-08T19:46:18Z")

</div>

Heres the deal, I start the app and the client connects and works fine.  
After a certain amount of time, a search request fails and writes these  
logs. It writes disconnect and connect log almost immediately. The next  
requests fail.

2013-03-08 12:51:29,040 DEBUG (netty:94): [SearchClient] disconnected from  
[[#transport#-1][inet[searchserve1/39.162.203.38:9300]]]  
2013-03-08 12:51:31,993 DEBUG (netty:94): [SearchClient] connected to node  
[[#transport#-1][inet[searchserve1/39.162.203.38:9300]]]  
2013-03-08 12:51:47,994 DEBUG (netty:94): [SearchClient] disconnected from  
[[#transport#-2][inet[searchserve2/39.162.203.39:9300]]]  
2013-03-08 12:51:52,072 DEBUG (netty:94): [SearchClient] connected to node  
[[#transport#-2][inet[searchserve2/39.162.203.39:9300]]]  
2013-03-08 13:27:10,115 DEBUG (netty:94): [SearchClient] disconnected from  
[[#transport#-2][inet[searchserve2/39.162.203.39:9300]]]  
2013-03-08 13:27:14,272 DEBUG (netty:94): [SearchClient] connected to node  
[[#transport#-2][inet[searchserve2/39.162.203.39:9300]]]  
2013-03-08 13:27:20,975 DEBUG (netty:94): [SearchClient] disconnected from  
[[#transport#-1][inet[searchserve1/39.162.203.38:9300]]]  
2013-03-08 13:27:24,303 DEBUG (netty:94): [SearchClient] connected to node  
[[#transport#-1][inet[searchserve1/39.162.203.38:9300]]]

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:47am UTC](https://discuss.elastic.co/t/nonodeavailable-exception-with-transportclient-over-nat/11078/3 "2017-07-06T02:47:26Z")

</div>

Closed on July 6, 2017, 2:47am UTC


