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

Error in Connecting to Milvus service #6

Open
ChrissHu opened this issue May 23, 2024 · 1 comment
Open

Error in Connecting to Milvus service #6

ChrissHu opened this issue May 23, 2024 · 1 comment

Comments

@ChrissHu
Copy link

First it should be specified in the documentation, that grcp host and port are needed. The Milvus DB instance provides to hostnames and ports, one for grcp and one for https. This causes confusion.

Second there is an error in the code snippet: servername="localhost" causes the command to fail. When I deleted servername from the code, it worked and I got the connection running.

The code snippet with the error:
image

The code which worked succesfully:

connections.connect(host="<grcp_host>", port="grcp_port", secure=True, user="ibmlhapikey", password="<my_apikey>")

@piotrwlazlo
Copy link

You're right - documentation looks really bad in this place.
Your command worked for me :)

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

No branches or pull requests

2 participants