dify icon indicating copy to clipboard operation
dify copied to clipboard

<MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:19530, illegal connection params or server unavailable)>

Open HanCat-1996 opened this issue 9 months ago • 3 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

i'm using diify to create my personal knowledge base. The vector database I chose is milvus. In the .env file, I made only the following changes:

# that default setting
VECTOR_STORE=milvus
MILVUS_URI=http://127.0.0.1:19530
MILVUS_TOKEN=
MILVUS_USER=root
MILVUS_PASSWORD=Milvus
MILVUS_ENABLE_HYBRID_SEARCH=False

Nothing elsewhere has changed After the changes were completed, I regenerated docker-compose.yaml using the generate_docker_compose.py script in the diify/docker directory and performed the docker compose up -d operation。

Then when I upload the file and prepare to create the knowledge base, the following error occurred.

In addition, enter http://localhost:19530/ in the browser and the result is {"code":1800,"message":"user hasn't authenticated"}.

Image

I referred to this issue to handle it, but in fact, none of them are usable : issue13240

✔️ Expected Behavior

working

❌ Actual Behavior

not working

HanCat-1996 avatar Mar 03 '25 08:03 HanCat-1996

I had the same problem, this is how I dealt with it

Image

Image

PaddleOCRCore avatar Mar 04 '25 23:03 PaddleOCRCore

I had the same problem, this is how I dealt with it

Image

Image

it doesn't work. it happend the same. "error": "<MilvusException: (code=2, message=Fail connecting to server on milvus-standalone:19530, illegal connection params or server unavailable)>",

Image

ChenYiGeEr avatar Mar 07 '25 02:03 ChenYiGeEr

I had the same problem, this is how I dealt with it Image Image

it doesn't work. it happend the same. "error": "<MilvusException: (code=2, message=Fail connecting to server on milvus-standalone:19530, illegal connection params or server unavailable)>",

Image

You need to delete the knowledge base and create a new one

ShawnXsw avatar Apr 02 '25 14:04 ShawnXsw

I had the same problem, this is how I dealt with it

Image

Image

Thanks,this works very well on my dify.

fz007-hhh avatar May 29 '25 02:05 fz007-hhh