Elasticsearch master node constantly connecting and disconnecting Elasticsearch master node constantly connecting and disconnecting elasticsearch elasticsearch

Elasticsearch master node constantly connecting and disconnecting


I was able to find what was the issue. Elasticsearch doesn't tolerate TCP Offloading.

TCP offload engine is a function used in network interface cards (NIC) to offload processing of the entire TCP/IP stack to the network controller. By moving some or all of the processing to dedicated hardware, a TCP offload engine frees the system's main CPU for other tasks. However, TCP offloading has been known to cause some issues, and disabling it can help avoid these issues.

Disable TCP Offloading

  1. In the Windows server, open the Control Panel and select NetworkSettings > Change Adapter Settings.

Screenshot

  1. Right-click on each of the adapters (private and public), selectConfigure from the Networking menu, and then click the Advanced tab.The TCP offload settings are listed for the Citrix adapter.

Screenshot

  1. Disable each of the following TCP offload options, and then clickOK:
    • IPv4 Checksum Offload
    • Large Receive Offload
    • Large Send Offload
    • TCP Checksum Offload

This solved my issue.