Sniffer doesn't work because publish_address property is missing in json response

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

  "version" : {
    "distribution" : "opensearch",
    "number" : "1.3.2",
    "build_type" : "tar",
    "build_hash" : "unknown",
    "build_date" : "2022-11-15T05:29:22.155152Z",
    "build_snapshot" : false,
    "lucene_version" : "8.10.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  }

Describe the issue:
I’m using spring-data-opensearch in my project and every 5 minutes I see a Warning in my log:

2023-02-20T10:48:49.216+01:00 WARN 3354 --- [nt_sniffer[T#1]] org.opensearch.client.sniff.Sniffer : no nodes to set, nodes will be updated at the next sniffing round

I figured out that my opensearch cluster doesn’t return the public_address property in the response of the /_nodes/http endpoint.

Is there a way to include that property in the response or any other way to avoid this warning (Except for setting the log level to ERROR)?

Configuration:
The cluster is running as Amazon OpenSearch Service

Relevant Logs or Screenshots:
Response body of GET /_nodes/http request:

{
  "_nodes" : {
    "total" : 5,
    "successful" : 5,
    "failed" : 0
  },
  "cluster_name" : "xxx",
  "nodes" : {
    "KwG-74JLTuuFywGYSkRNYg" : {
      "name" : "452ed43bcbb48894313f978b178b2b4d",
      "version" : "1.3.2",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
       "vuo6GF7uSCmbiTW4lV-eJg" : {
      "name" : "b25de000c0301137b6eb68630ecac235",
      "version" : "1.3.2",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "ingest", "master", "remote_cluster_client" ]
    },
    ...
  }
}