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

MeilisearchCommunication Error SSL: WRONG_VERSION_NUMBER #958

Open
eznix86 opened this issue May 6, 2024 · 4 comments
Open

MeilisearchCommunication Error SSL: WRONG_VERSION_NUMBER #958

eznix86 opened this issue May 6, 2024 · 4 comments
Labels
needs more info This issue needs a minimal complete and verifiable example

Comments

@eznix86
Copy link

eznix86 commented May 6, 2024

Description
I use a dockerized version of meilisearch. When using the hostname to connect, it fails.

Expected behavior
Supposed to connect.

Current behavior
Getting an SSL WRONG VERSION

Screenshots or Logs
File "/opt/.venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 64, in send_request
raise MeilisearchCommunicationError(str(err)) from err
meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPSConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1000)')))

Environment (please complete the following information):

  • OS: Docker, python:3.12-bookworm
  • Meilisearch version: v1.7.6
  • meilisearch-python version: 0.31.0
@sanders41
Copy link
Collaborator

This is unlikely to be related to the SDK itself. Are you behind a proxy?

@sanders41
Copy link
Collaborator

Also, I don't think this is the problem because I would expect a different error message, but if you haven't already try apt-get installing ca-certificates.

@eznix86
Copy link
Author

eznix86 commented May 7, 2024

I tried, same issue!

@curquiza curquiza added the needs more info This issue needs a minimal complete and verifiable example label May 7, 2024
@sanders41
Copy link
Collaborator

Can you provide your Dockerfile and how you are running it? I just ran a test with python:3.12-bookworm and didn't have any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs a minimal complete and verifiable example
Projects
None yet
Development

No branches or pull requests

3 participants