[Bug]: RPC error: [__internal_register], <MilvusException: (code=1, message=Incorrect port or sdk is incompatible with server, please check your port or downgrade your sdk or upgrade your server)> #38255
Labels
kind/bug
Issues or changes related a bug
triage/needs-information
Indicates an issue needs more information in order to work on it.
Is there an existing issue for this?
Environment
Current Behavior
root@vpshost:~/milvus_compose# python3 ./hello_milvus.py
=== start connecting to Milvus ===
RPC error: [__internal_register], <MilvusException: (code=1, message=Incorrect port or sdk is incompatible with server, please check your port or downgrade your sdk or upgrade your server)>, <Time:{'RPC start': '2024-12-05 18:10:05.874863', 'RPC error': '2024-12-05 18:10:05.876054'}>
Traceback (most recent call last):
File "/root/milvus_compose/./hello_milvus.py", line 32, in
connections.connect("default", host="localhost", port="19530")
File "/usr/local/lib/python3.10/dist-packages/pymilvus/orm/connections.py", line 451, in connect
connect_milvus(**kwargs, user=user, password=password, token=token, db_name=db_name)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/orm/connections.py", line 402, in connect_milvus
gh._wait_for_channel_ready(timeout=timeout)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/client/grpc_handler.py", line 157, in _wait_for_channel_ready
raise e from e
File "/usr/local/lib/python3.10/dist-packages/pymilvus/client/grpc_handler.py", line 150, in _wait_for_channel_ready
self._setup_identifier_interceptor(self._user, timeout=timeout)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/client/grpc_handler.py", line 268, in _setup_identifier_interceptor
self._identifier = self.__internal_register(user, host, timeout=timeout)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 141, in handler
raise e from e
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 137, in handler
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 176, in handler
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 116, in handler
raise e from e
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 86, in handler
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pymilvus/decorators.py", line 213, in handler
raise MilvusException(message=msg) from e
pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=Incorrect port or sdk is incompatible with server, please check your port or downgrade your sdk or upgrade your server)>
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: