We have a problem connecting to our App Search engine from python using the elastic_app_search library. After creating a client instance with our proper credentials the server is rejecting to output anything. For illustration I am using the get_schema method.
from elastic_app_search import Client client = Client(base_endpoint=base_endpoint,api_key=api_key, use_https=False) engine_name = "our_engine" client.get_schema(engine_name)
We get the following error:
HTTPConnectionPool(host='https', port=...): Max retries exceeded with url: //... /our_engine/schema (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at ...>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Is there anything we need to adjust in the App search settings to allow it? We should definitely not exceed any limit as we were not connected never before.