Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opensearch ssl_version #199

Closed
jamesfisher-geo opened this issue Feb 23, 2024 · 0 comments · Fixed by #200
Closed

Opensearch ssl_version #199

jamesfisher-geo opened this issue Feb 23, 2024 · 0 comments · Fixed by #200

Comments

@jamesfisher-geo
Copy link
Collaborator

jamesfisher-geo commented Feb 23, 2024

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:

  1. Connect to a secure OpenSearch instance
  2. 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
@jamesfisher-geo jamesfisher-geo linked a pull request Feb 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant