# Why won’t my Solace Enterprise application reconnect after an HA failover?

**URL:** <https://community.solace.com/t/why-won-t-my-solace-enterprise-application-reconnect-after-an-ha-failover/882>\
**Category:** Training, Tips and Tricks\
**Created:** [August 10, 2021, 6:44pm UTC](https://community.solace.com/t/why-won-t-my-solace-enterprise-application-reconnect-after-an-ha-failover/882 "2021-08-10T18:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hong](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/hong/32/1613_2.png) [@hong](https://community.solace.com/u/hong)\
**Post date:** [August 10, 2021, 6:44pm UTC](https://community.solace.com/t/why-won-t-my-solace-enterprise-application-reconnect-after-an-ha-failover/882/1 "2021-08-10T18:44:35Z")

</div>

Make sure that your reconnect retry value is not set too low or too high. It is recommended that you have your application attempt to reconnect for at least 5 minutes as follows:

- connect retries: 1
- reconnect retries: 20
- reconnect retry wait: 3,000 ms
- connect retries per host: 5

Be careful with JMS! These settings should be configured at both the JNDI and data connection level.

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [August 11, 2021, 4:01pm UTC](https://community.solace.com/t/why-won-t-my-solace-enterprise-application-reconnect-after-an-ha-failover/882/2 "2021-08-11T16:01:59Z")

</div>

Thanks for the tip @hong. I’d also add to anyone reading this that a lot of projects have different requirements so be sure to take the time to understand how these parameters work and tune them to meet your needs 🙂
