Closed askintution closed 2 years ago
@askintution thank you for the issue. Could you please refer this script to export the whole Milvus logs for investigation?
/assign @askintution /unassign
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
@shanghaikid We encountered a similar issue, has this issue been fixed?
@shanghaikid We encountered a similar issue, has this issue been fixed?
do you have the setup? so we can reproduce it.
@shanghaikid We encountered a similar issue, has this issue been fixed?
do you have the setup? so we can reproduce it.
Thanks, but we have not reproduced it again, but it may have something to do with the python environment. We are testing the environment of python>=3.7. If there are still problems, I will post the relevant environment information and code.
Is there an existing issue for this?
Environment
Current Behavior
I used gunicorn + flask as front service, the index is 512 nlist. the collection dataset size is around 60000. when send request, sometimes error occured,but sometimes not.
code:
` search_params = {"metric_type": "IP", "params": {"nprobe": 256}}
topK = 5
results = collection.search( [query_vector], "vector", param=search_params, limit=topK, expr=None ) `
the error is like:
` [966] [[2022-09-06 23:49:52 +0700]] ERROR [main.py:209] Image BlackList Service Error UUID:20220906234951_o2YVdAqFNcPeHn62UKWhcP_similarity Error:<MilvusException: (code=1, message=<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.INTERNAL details = "Received RST_STREAM with error code 1" debug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:19530 {grpc_message:"Received RST_STREAM with error code 1", grpc_status:13, created_time:"2022-09-06T23:49:52.577653206+07:00"}"
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/data/FaceBlacklist/main.py", line 187, in similarity results = call_milvus_search(collection,input_data,query_vector,search_params,topK,try_counts) File "/data/FaceBlacklist/main.py", line 160, in call_milvus_search raise e File "/data/FaceBlacklist/main.py", line 151, in call_milvus_search results = collection.search( File "/data/.env/lib/python3.8/site-packages/pymilvus/orm/collection.py", line 712, in search res = conn.search(self._name, data, anns_field, param, limit, expr, File "/data/.env/lib/python3.8/site-packages/pymilvus/decorators.py", line 96, in handler raise e File "/data/.env/lib/python3.8/site-packages/pymilvus/decorators.py", line 92, in handler return func(*args, **kwargs) File "/data/.env/lib/python3.8/site-packages/pymilvus/decorators.py", line 54, in handler raise MilvusException(Status.UNEXPECTED_ERROR, str(e)) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.INTERNAL details = "Received RST_STREAM with error code 1" debug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:19530 {grpc_message:"Received RST_STREAM with error code 1", grpc_status:13, created_time:"2022-09-06T23:49:52.577653206+07:00"}" `
Expected Behavior
when send request, no grpc error occured .
Steps To Reproduce
Milvus Log
Sep 06 23:04:54 p-wdf-face01 milvus-server[17668]: [2022/09/06 23:04:54.154 +07:00] [WARN] [grpclog/grpclog.go:46] ["[transport]transport: http2Server.HandleStreams encountered http2.StreamError: stream error: stream ID 1179; PROTOCOL_ERROR; pseudo header field after regular"] Sep 06 23:04:54 p-wdf-face01 milvus-server[17668]: [2022/09/06 23:04:54.155 +07:00] [WARN] [grpclog/grpclog.go:46] ["[transport]transport: http2Server.HandleStreams encountered http2.StreamError: stream error: stream ID 1181; PROTOCOL_ERROR; pseudo header field after regular"] Sep 06 23:04:54 p-wdf-face01 milvus-server[17668]: [2022/09/06 23:04:54.156 +07:00] [WARN] [grpclog/grpclog.go:46] ["[transport]transport: http2Server.HandleStreams encountered http2.StreamError: stream error: stream ID 1183; PROTOCOL_ERROR; pseudo header field after regular"]
Anything else?
No response