Open strugc opened 2 hours ago
No response
Set common.security.authorizationEnabled to true in the Milvus configuration file milvus.yaml
Error code: raise _InactiveRpcError(state) # pytype: disable=not-instantiable grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAUTHENTICATED details = "auth check failure, please check username and password are correct" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"auth check failure, please check username and password are correct", grpc_status:16, created_time:"2024-11-15T07:55:36.6657145+00:00"}"
Try setting reset password common: security: superUsers: root, foo
Restart docker, Running the script still reports an error gRPC
from pymilvus import MilvusClient client = MilvusClient( uri='http://locahost:19530', token="root:Milvus" ) print(client.has_collection("test_collection"))
Which version of milvus and pymilvus are you using? Can you also show me all the values under common.security in the milvus yaml file?
common.security
Is there an existing issue for this?
Environment
No response
Current Behavior
Set common.security.authorizationEnabled to true in the Milvus configuration file milvus.yaml
Error code: raise _InactiveRpcError(state) # pytype: disable=not-instantiable grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAUTHENTICATED details = "auth check failure, please check username and password are correct" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"auth check failure, please check username and password are correct", grpc_status:16, created_time:"2024-11-15T07:55:36.6657145+00:00"}"
Try setting reset password common: security: superUsers: root, foo
Restart docker, Running the script still reports an error gRPC
from pymilvus import MilvusClient client = MilvusClient( uri='http://locahost:19530', token="root:Milvus" ) print(client.has_collection("test_collection"))
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response