Problem accessing gRPC services provided by TensorRT Inference Server from Java client

I got the proto files from ‘’ and generated the java stubs for gRPC client. The proto files are using proto3. When my client is trying to access the health or status endpoint I am getting the following error.

io.grpc.StatusRuntimeException: UNIMPLEMENTED
io.grpc.StatusRuntimeException: UNIMPLEMENTED
at io.grpc.stub.ClientCalls.toStatusRuntimeException(
at io.grpc.stub.ClientCalls.getUnchecked(
at io.grpc.stub.ClientCalls.blockingUnaryCall(
at com.aexp.cas.variable.clientstub.GRPCServiceGrpc$GRPCServiceBlockingStub.status(
at com.aexp.cas.variable.client.Client.main(

I am using the following docker image for tensorrt inference server.


Has it something to do with the version of the tensorrt inference server not supporting proto 3?

Client code snippet:

   try {
        HealthRequest healthRequest;
        HealthResponse healthResponse;
        StatusRequest statusRequest;
        StatusResponse statusResponse;

        Client client = new Client("localhost:8001");

        healthRequest = HealthRequest.newBuilder().setMode("live").build();
        healthResponse =;

        statusRequest = StatusRequest.newBuilder().build();
        statusResponse = blockingStub.status(statusRequest);

    }catch(Exception e){
    finally {
        // A Channel should be shutdown before stopping the process.

I was able to finally make it work. I changed the package in the proto files to reflect my project structure which was causing it. I reverted to the original package and it worked.