Failed to connect to Meilisearch: No connection adapters were found for 'localhost:7700/version' #4697
Labels
needs more info
This issue needs a minimal complete and verifiable example
support
Issues related to support questions
Bug description:
When I apply the semantic search following steps at https://www.meilisearch.com/docs/guides/ai/langchain#requirements, and failed at below codes:
Failed with error: "Failed to connect to Meilisearch: No connection adapters were found for 'localhost:7700/version'"
The problem was caused by requests.get(url) function if url doesn't start with 'http://'
My current workaround is to add one line to meilisearch.py within function "_create_client()":
I also tried to change MEILI_HTTP_ADDR="localhost:7700" to MEILI_HTTP_ADDR="http://localhost:7700", however, the meilisearch will fail to launch.
Meilisearch version:
1.8.1
Additional context
macOS: sonoma 14.1
chip: M3
The text was updated successfully, but these errors were encountered: