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

[FEATURE]: When connect to cluster failed, the error message is confusing #2231

Open
1 task done
xiaofan-luan opened this issue Aug 16, 2024 · 2 comments
Open
1 task done
Labels

Comments

@xiaofan-luan
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

see milvus-io/milvus#28076

When we connect to the wrong port, you will still get GRPC unimplemented error and the error message of upgrade pymilvus version is a little confusing

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Anything else?

No response

@jfgrea27
Copy link

Hi @xiaofan-luan, happy to be assigned this one. Mind assigning me?

@jfgrea27
Copy link

jfgrea27 commented Aug 26, 2024

Have you been able to replicate the bug (=confusing log line)?

With the Docker Standalone running on port 19530 and the following

from pymilvus import MilvusClient

client = MilvusClient(
    uri="http://localhost:19531"
)

The following exception is raised after a timeout:

    raise MilvusException(
pymilvus.exceptions.MilvusException: <MilvusException: (code=2, message=Fail connecting to server on localhost:19531, illegal connection params or server unavailable)>

I believe this error is not confusing as it says the server at port 19531 is not available (which is true as it is on 19530).

The OP is pretty old; the error log from OP might have been resolved during the fix of `1455 - although this is older than the OP..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants