Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prety16 opened this issue Jul 27, 2022 · 8 comments

Comments

@prety16
Copy link

prety16 commented Jul 27, 2022

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
@abratnap
Copy link

abratnap commented Dec 8, 2022

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}"

@zinzinhust96
Copy link

@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

@xiaofan-luan
Copy link
Contributor

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.

@stringk245
Copy link

stringk245 commented Feb 14, 2023

2.2.

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

@xiaofan-luan
Copy link
Contributor

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

@Pravesh22
Copy link

Pravesh22 commented May 4, 2023

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.

@SumeetSinha18
Copy link

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}"

@yhmo
Copy link
Contributor

yhmo commented Sep 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants