Reputation: 31
When I try to check if an index exist in opensearch cluster using this code:
self.opensearch_db.indices.exists(index = index_name)
I get the following error:
ConnectionError: ConnectionError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))) caused by: ProtocolError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
I try connecting to opensearch cluster via postman and everything was fine.
Upvotes: 1
Views: 2592
Reputation: 78
As Yassine has commented under the original question, adding the following fixes this issue:
use_ssl=True, verify_certs=False
Upvotes: 1