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: Failed to connect to Milvus #718

Open
Anmol-Sharma21 opened this issue Dec 17, 2024 · 7 comments
Open

Error: Failed to connect to Milvus #718

Anmol-Sharma21 opened this issue Dec 17, 2024 · 7 comments

Comments

@Anmol-Sharma21
Copy link

Anmol-Sharma21 commented Dec 17, 2024

Describe the bug:
After starting the milvus as well as attu , when i click on connect it take a while to load and then give me error "Error: Failed to connect to Milvus: Error: 4 DEADLINE_EXCEEDED: Deadline exceeded"

Attu version:
2.4.12

@shanghaikid
Copy link
Collaborator

is your network working?

@Anmol-Sharma21
Copy link
Author

yes

@shanghaikid
Copy link
Collaborator

yes

can you describe your attu setup and milvus setup and their networking?

@Rakesh-46-VR
Copy link

Even I got the same error while connecting to the database. I had used this command to run the docker container :
docker run -p 5173:3000 -e MILVUS_URL=<server_ip>:19530 zilliz/attu:v2.4

@shanghaikid
Copy link
Collaborator

Even I got the same error while connecting to the database. I had used this command to run the docker container : docker run -p 5173:3000 -e MILVUS_URL=<server_ip>:19530 zilliz/attu:v2.4

please make sure you attu docker container can access your milvus server.

@Rakesh-46-VR
Copy link

Let me describe the setup in more detail , milvus and attu are running on the same server. The default port is 19530 as usual for milvus, and the attu is running on the port 5173. Is the same ip causing the issue or is it something else ? I have used pymilvus to access the database and it works, i created collections, indexes , and also ran some queries. Didn't face any issue using pymilvus.

@shanghaikid
Copy link
Collaborator

Let me describe the setup in more detail , milvus and attu are running on the same server. The default port is 19530 as usual for milvus, and the attu is running on the port 5173. Is the same ip causing the issue or is it something else ? I have used pymilvus to access the database and it works, i created collections, indexes , and also ran some queries. Didn't face any issue using pymilvus.

Yes, they are on the same server, but if you are using docker, it can be different networks. all the operations you do is on the host level, you need to confirm the networking from docker to docker is ok.

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

3 participants