We found the solution ourselves. It was because of wrong package scan path

On Wednesday, 14 February 2018 01:22:41 UTC+8, Hrishi Joshi wrote:
>
>
> We have a java based gRPC server and client. Both using version 1.8.0.
> After verifying both client and the server have the same proto file and 
> java lib generated from the same proto, while client sending the request to 
> server is getting 
> ```io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method not found: 
> package.Servicename/method
>     at io.grpc.Status.asRuntimeException(Status.java:526)
>     at 
> io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:418)
>     at 
> io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:41)
>     at 
> io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:663)
>     at 
> io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:41)
>     at 
> io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:392)
>     at 
> io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:443)
>     at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:63)
>     at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:525)
>     at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$600(ClientCallImpl.java:446)
>     at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:557)
>     at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
>     at 
> io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)```
>
> What may be happening wrong ? We checked almost everything that could be 
> checked
>
> 1. gRPC version
> 2. protobuff version
> 3. proto file
> 4. Java lib from proto file
> on both client and server and also
>
> 5. Server listening on the port after startup
>
> We are currently clueless on what should be done next. Any pointers are 
> appreciated.
>
> Rishi
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/1c04f0be-4635-447a-8bd1-5bf8126a3bbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to