Closed
Description
Describe the bug
It appears that ssl.TLSVersion.TLSv1_3
is not supported in OpenSearch. When connecting to a secured OpenSearch instance, I get an error like
ValueError: invalid or unsupported protocol version 772
Changing config["ssl_version"]
to the default, ssl.PROTOCOL_SSLv23
, in stac_fastapi/opensearch/stac_fastapi/opensearch/config.py
resolves the issue.
To Reproduce
Steps to reproduce the behavior:
- Connect to a secure OpenSearch instance
- See error
Expected behavior
Connection to OpenSearch client with no errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OpenSearch Version: 7.10.2
Metadata
Metadata
Assignees
Labels
No labels