Hi,
I setup an opensearch cluster to the point where I am able to write data to the cluster and reading using curl commands from my VM.
However, when using a client like python, I am unable to connect to the opensearch cluster.
I have no unusual security settings, just basic auth setup based on this doc - https://docs.oracle.com/en-us/iaas/Content/search-opensearch/Tasks/ingestingociopensearchdata.htm
A simple ping to my opensearch cluster via python library API will timeout..
es_client = OpenSearch(
hosts = [{'host': host, 'port': port}],
http_compress = True, # enables gzip compression for request bodies
http_auth=("username", "pwd"),
use_ssl = False,
verify_certs = False,
ssl_assert_hostname = False,
ssl_show_warn = True,
)
es_client.ping()
However, curl command works properly from the same VM.
Let me know if I am missing something in my setup to use a client.
Thanks,
Meet