# How does Fess auto reconnect to remote ES cluster?

**URL:** <https://discuss.codelibs.org/t/how-does-fess-auto-reconnect-to-remote-es-cluster/1858>\
**Category:** English:Fess\
**Created:** [May 2, 2022, 11:16pm UTC](https://discuss.codelibs.org/t/how-does-fess-auto-reconnect-to-remote-es-cluster/1858 "2022-05-02T23:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TungTNg](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/tungtng/32/477_2.png) [@TungTNg](https://discuss.codelibs.org/u/TungTNg)\
**Post date:** [May 2, 2022, 11:16pm UTC](https://discuss.codelibs.org/t/how-does-fess-auto-reconnect-to-remote-es-cluster/1858/1 "2022-05-02T23:16:50Z")

</div>

I have a remote ES cluster with 5 connected nodes/servers:

- Node A/B are coordinating nodes/servers
- Node C/D/E are master nodes/servers

My 6th server is Fess. In my “bin/fess.in.sh”, I’ve put:  
`ES_HTTP_URL = NodeA_URL_at_port_9200`

This works, but I wonder what happens when Node A got shut down, does fess connection to my cluster also got shut down? Is there a way:

1. for fess to keep trying to reconnect to Node A in case Node A got shut down. I’m talking like forever polling… since if Node A got shut down on Friday and got restarted on next week’s Tuesday, I hardly doubt Fess will keep trying to reconnect to Node A from this week’s Friday to next week’s Tuesday.

2. for fess to auto switch to Node B (the other coordinating node) in case Node A got shut down?

---

<div class="post-metadata">

**Author:** ![shinsuke](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/shinsuke/32/6_2.png) [@shinsuke](https://discuss.codelibs.org/u/shinsuke)\
**Post date:** [May 3, 2022, 12:36pm UTC](https://discuss.codelibs.org/t/how-does-fess-auto-reconnect-to-remote-es-cluster/1858/2 "2022-05-03T12:36:55Z")

</div>

In the current version, Fess does not switch to other nodes.  
We’ll fix it in the next release to support the node switching.
