Hello Team ,
We are using Elasticsearch 7.17.5 docker image and connecting our own java springboot application using IPv4 in docker swarm & Kubernetes.
While deploying the same stack in Openshift, We are getting the following error
Caused by: ElasticsearchException[java.util.concurrent.ExecutionException: java.net.UnknownHostException: elasticsearch:tcp://172.30.161.181:9200: invalid IPv6 address]; nested: ExecutionException[java.net.UnknownHostException: elasticsearch:tcp://172.30.161.181:9200: invalid IPv6 address]; nested: UnknownHostException[elasticsearch:tcp://172.30.161.181:9200: invalid IPv6 address];
We didnt mention/configure anything related to IPv6 but the query constructing itself for IPv6
But the same stack is working fine in Docker Swarm & Kubernetes, Need to know whether this issue is related to Elasticsearch or with Openshift, also looking for the fixes