# Azure Load balancer not working with elasticsearch 8.16.1

**URL:** <https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361>\
**Category:** Elasticsearch\
**Created:** [December 3, 2024, 8:39am UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361 "2024-12-03T08:39:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wajahat\_Iqbal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wajahat_iqbal/32/139609_2.png) [@Wajahat\_Iqbal](https://discuss.elastic.co/u/Wajahat_Iqbal)\
**Post date:** [December 3, 2024, 8:39am UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361/1 "2024-12-03T08:39:09Z")

</div>

I built Elasticsearch in my testing environment with the same configuration with a load balancer with Elasticsearch 7.10.0 and it was working fine.

now I am using 8.16.1 I am having trouble connecting to it when I check through Health prob. When hitting the internal IP 11.0.04:9200 to check node is up or not. give a successful response.

but I am unable to process requests through the public URL of the Azure load balancer.

I also tried with Nginx the same issue.

I know Elasticsearch has internal load balancing but I want a single endpoint for all of my nodes.

```auto
cluster.name: markaz-es-prod
node.name: node-1
network.host: 11.0.0.4
http.port: 9200

discovery.seed_hosts: ["11.0.0.4","11.0.0.5","11.0.0.6"]
cluster.initial_master_nodes: ["node-1","node-2","node-3"]

azure.client.default.timeout: 3s
azure.client.default.max_retries: 2
azure.client.default.endpoint_suffix: core.windows.net

logger.org.elasticsearch.repositories.azure: DEBUG
xpack.security.enabled: false

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch

xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.key: certs/transport.key
xpack.security.transport.ssl.certificate: certs/transport.crt
xpack.security.transport.ssl.verification_mode: certificate

```

---

<div class="post-metadata">

**Author:** ![Wajahat\_Iqbal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wajahat_iqbal/32/139609_2.png) [@Wajahat\_Iqbal](https://discuss.elastic.co/u/Wajahat_Iqbal)\
**Post date:** [December 3, 2024, 11:36am UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361/2 "2024-12-03T11:36:17Z")

</div>

Downgraded to 8.0.0 , its fixed the problem

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [December 3, 2024, 10:14pm UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361/3 "2024-12-03T22:14:02Z")

</div>

Thanks, @Wajahat_Iqbal for reaching out and sharing how you resloved this issue. Have you filed a [bug report](https://github.com/elastic/elasticsearch/issues/new?template=bug.yml) on this yet?

---

<div class="post-metadata">

**Author:** ![Wajahat\_Iqbal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wajahat_iqbal/32/139609_2.png) [@Wajahat\_Iqbal](https://discuss.elastic.co/u/Wajahat_Iqbal)\
**Post date:** [December 11, 2024, 8:02am UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361/4 "2024-12-11T08:02:50Z")

</div>

No, not yet, it's also working on 8.4.0. Should I?

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [December 11, 2024, 3:02pm UTC](https://discuss.elastic.co/t/azure-load-balancer-not-working-with-elasticsearch-8-16-1/371361/5 "2024-12-11T15:02:41Z")

</div>

Thanks, @Wajahat_Iqbal. I think would be a good next step. Thanks!
