I have created a GCP cloud function (gen 1) in python, which connects to a Milvus deployment deployed on the same GCP project where the cloud function is created.
When connecting to the Milvus deployment from my local PC through telepresence I have no issues, but there seems to be a connection error when the cloud function is triggered and runs the same code.
connections.connect(alias="default", host='10.127.255.140', port='19530')
Specifically, when the above line is executed, it should connect to the Milvus server at the internal IP above. But the following timeout error occurs.
pymilvus.exceptions.MilvusException: <MilvusException: (code=2, message=Fail connecting to server on 10.127.255.140:19530. Timeout)
Has anyone had similar problems with Milvus and GCP cloud functions? I would much appreciate it if someone could help me out. Thank you!
P.S. Also it is the first time uploading a question here, so please let me know if you need more info about my situation. Thanks again!