milvus_cli icon indicating copy to clipboard operation
milvus_cli copied to clipboard

Connection Issue with Milvus Standalone v2.4.10 after Reconnecting

Open HungryFour opened this issue 1 year ago • 1 comments

I've deployed Milvus v2.4.10 standalone using Docker and installed milvus-cli-1.0.0 and pymilvus-2.4.3 via pip3. The first connection to the Milvus server was successful, but subsequent attempts to reconnect result in a connection error.

Reproduction Steps:

  1. Deploy Milvus v2.4.10 standalone using Docker.
  2. Install milvus-cli-1.0.0 and pymilvus-2.4.3 via pip3.
  3. Successfully connect to the Milvus server for the first time.
  4. After disconnecting, attempt to reconnect and encounter the following error: Connect to Milvus error!<MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:19530, illegal connection params or server unavailable)>.
  5. Uninstalling and reinstalling milvus-cli-1.0.0 temporarily resolves the issue.

Expected Behavior: The ability to reconnect to the Milvus server after disconnecting without encountering errors. Actual Behavior: Encountering the aforementioned error upon attempting to reconnect.

Environment Information: Operating System: Centos7.6 Milvus Version: v2.4.10 milvus-cli Version: 1.0.0 pymilvus Version: 2.4.3

I have tried reinstalling milvus-cli as a workaround, but I am seeking a more permanent solution.

HungryFour avatar Nov 25 '24 10:11 HungryFour

How did you disconnect Milvus ? Is restart milvus cli solve it? @HungryFour

nameczz avatar Dec 11 '24 07:12 nameczz