zilliztech / milvus_cli

Milvus Command Line
Apache License 2.0
87 stars 13 forks source link

milvus_cli failed to connect milvus server #73

Open SuperAspen opened 8 months ago

SuperAspen commented 8 months ago

I‘ve installed Milvus Standalone with Docker on Oracle Linux 8.9 successfully and the hello_milvus.py runs successfully as well.
pymilvus-2.3.6 is installed. I installed milvus_cli-0.2.0b2.tar.gz. When execute connect command in milvus_cli, I got error like blow:


$ milvus_cli milvus_cli > connect free(): invalid pointer Aborted (core dumped)

Seems this is a memory leak error, but I don't know why I got this error. Could you help to fix out how to resolve this issue?

And I also installed milvus-cli base on docker image [docker run -it zilliz/milvus_cli:latest], I got following error, kindly help on this. Thanks.

$ sudo docker run -it zilliz/milvus_cli:latest


| \/ () | __ / | | | | | |\/| | | \ \ / / | | / | | | | | | | | | | | | |\ V /| || _ \ | |_| | | | || |||| _/ _,_|/ ____||___|

Milvus cli version: 0.4.0 Pymilvus version: 2.3.0

Learn more: https://github.com/zilliztech/milvus_cli.

milvus_cli > connect -uri http://127.0.0.1:19530 Connect to Milvus error!<MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:19530. Timeout)> milvus_cli >

nameczz commented 7 months ago

@SuperAspen Can you try to use your Milvus host ip like 172.16.20.xx:19530? Like MILVUS_URL in attu