milvus-sdk-java icon indicating copy to clipboard operation
milvus-sdk-java copied to clipboard

status -3 io.grpc.StatusRuntimeException: UNIMPLEMENTED: unknown service milvus.proto.milvus.MilvusService

Open prety16 opened this issue 3 years ago • 9 comments

final MilvusServiceClient milvusClient = new MilvusServiceClient( ConnectParam.newBuilder() .withHost("...") .withPort(19531) .build()); boolean exist = milvusClient.hasCollection( HasCollectionParam.newBuilder().withCollectionName(tableName).build() ).getData();

when i execute this code,the response have a exception : status -3 io.grpc.StatusRuntimeException: UNIMPLEMENTED: unknown service milvus.proto.milvus.MilvusService

SDK versions these two sdk version i had tried ,both response have these exception

io.milvus milvus-sdk-java 2.0.4 io.milvus milvus-sdk-java 2.0.2 milvus version 2.0.2

prety16 avatar Jul 27 '22 08:07 prety16

I get this on linux with version 2.2.0. This happens in linux and works well in Mac.

pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=<_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNIMPLEMENTED
	details = "unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService"
	debug_error_string = "{"created":"@","description":"Error received from peer ipv4:*****:19530","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService","grpc_status":12}"

abratnap avatar Dec 08 '22 09:12 abratnap

@abratnap please check if there is a mismatch between Milvus and Milvus SDK version. This also happens to me with Milvus and PyMilvus in Python, as specified in https://github.com/milvus-io/pymilvus

zinzinhust96 avatar Jan 13 '23 11:01 zinzinhust96

Check the release note here https://milvus.io/docs/release_notes.md. It's better to match Milvus version and SDK version in each release.

xiaofan-luan avatar Jan 14 '23 03:01 xiaofan-luan

2.2.

Did you solve this problem(unknown method GetLoadingProgress for service)? What solved it? @abratnap

un-human avatar Feb 14 '23 02:02 un-human

@yhmo could you help on that? Might be work for java SDK?

xiaofan-luan avatar Feb 14 '23 02:02 xiaofan-luan

I think this error is raised from CheckHealth interface. This CheckHealth interface was added lately in milvus which might not be available in old version of Milvus. Since you are using older version of milvus, i think upgrading Milvus to latest version will solve this issue.

Pravesh22 avatar May 04 '23 08:05 Pravesh22

Facing the same issue when I load the data into collection using collection.load() pymilvus-2.2.1 milvus-cli-0.3.2

I have tried upgrading and downgrading them but any other combination results in compatiblity issue I am able to create the collection but unable to load data into it. collection.insert(df) shows success but collection.is_empty results in True.

Error:

pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.UNIMPLEMENTED details = "unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService" debug_error_string = "{"created":"@1687865173.588569389","description":"Error received from peer ipv4:127.0.0.1:19530","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService","grpc_status":12}"

SumeetSinha18 avatar Jun 27 '23 12:06 SumeetSinha18

Facing the same issue when I load the data into collection using collection.load() pymilvus-2.2.1 milvus-cli-0.3.2

I have tried upgrading and downgrading them but any other combination results in compatiblity issue I am able to create the collection but unable to load data into it. collection.insert(df) shows success but collection.is_empty results in True.

Error:

pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.UNIMPLEMENTED details = "unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService" debug_error_string = "{"created":"@1687865173.588569389","description":"Error received from peer ipv4:127.0.0.1:19530","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"unknown method GetLoadingProgress for service milvus.proto.milvus.MilvusService","grpc_status":12}"

The GetLoadingProgress API is available from Milvus v2.2.1. You will get this error if you are using Milvus 2.1.x.

yhmo avatar Sep 13 '23 10:09 yhmo