-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: Milvus fails connecting to server, timeout #23128
Comments
I am also seeing this today. First time trying to connect.
Steps to reproduce:
`Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
@christy sounds like you are running on zilliz cloud, please try to add more timeout in connect() method. if it does not help, please try to contact cloud support for help. |
Thanks, I did that, contacted [email protected]. What finally worked for me was just to move to a different WiFi connection. Mine was behind a VPN, so I was not getting the correct IP Address to add to the white list. |
Same issue: ----> 5 connections.connect(host="localhost", port="19530") I have checked the server, it is OK, below: |
you should try to ping 19530 see if it can be connected. |
The root cause is I forgot to configure "no proxy 127.0.0.1 " in network proxy |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
My code is working fine yesterday evening but when I open it today it gives me "[WARNING] PyMilvus: |
What helped me was use Google's public DNS servers |
Is there an existing issue for this?
Environment
Current Behavior
Milvus doesn't connect to server. Everything worked two days ago, yesterday it wouldn't start. I tried updating it (from v. 2.2.3 to 2.2.4), which didn't help. I restarted my computer, Milvus started, but when I tried creating a collection I kept getting this error: Error: <MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:19530. Timeout)> or Error: <MilvusException: (code=2, message=Fail connecting to server on localhost:19530. Timeout)>
After running netstat -an | grep 19530:
tcp4 0 0 *.19530 . LISTEN
Expected Behavior
I get the error when running the following:
from pymilvus import connections
connections.connect("default", host="localhost", port="19530")
or
connections.connect("default", host="127.0.0.1", port="19530")
Steps To Reproduce
No response
Milvus Log
milvus.log
Anything else?
No response
The text was updated successfully, but these errors were encountered: