I have a very simple python code that attempts to connect to a managed Milvus cluster on GCP:
client = MilvusClient(
uri=MY_URI,
token=MY_API_KEY)
Though I keep getting this exception:
pymilvus.exceptions.MilvusException: <MilvusException: (code=2, message=Fail connecting to server on MY_URI:443. Timeout)>
I am however able to ping this instance from the terminal and see it as running on the Milvus dashboard. Any ideas or hints on what might be going on?
Thanks!
Are you using free serverless Zilliz cloud? It uses GCP by default. See this bootcamp for a RAG example using Zilliz. https://github.com/milvus-io/bootcamp/blob/master/bootcamp/RAG/readthedocs_zilliz_langchain.ipynb > Cell#4