Azure Load balancer not working with elasticsearch 8.16.1

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.

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

Downgraded to 8.0.0 , its fixed the problem

Thanks, @Wajahat_Iqbal for reaching out and sharing how you resloved this issue. Have you filed a bug report on this yet?

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

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