[Bug]: Connecting to Milvus with authentication, receiving gRPC error #37714
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
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
The text was updated successfully, but these errors were encountered: