On Sun, May 21, 2017 at 2:45 PM, <[email protected]> wrote:

> Grpc.Core.RpcException Status(StatusCode=Unimplemented, Detail="Method
> tourism.RemoteService/Login is unimplemented"). The server receives the
> request but does not have time to respond and throws:
>
> INFO: Request from [email protected] 22, 2017 12:28:58 AM 
> io.grpc.internal.SerializingExecutor run
> SEVERE: Exception while executing runnable 
> io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$2@4be43082
> java.lang.IllegalStateException: call is closed
>     at com.google.common.base.Preconditions.checkState(Preconditions.java:174)
>     at io.grpc.internal.ServerCallImpl.sendHeaders(ServerCallImpl.java:103)
>     at 
> io.grpc.stub.ServerCalls$ServerCallStreamObserverImpl.onNext(ServerCalls.java:282)
>     at ServiceImp.login(ServiceImp.java:20)
>     at 
> tourism.RemoteServiceGrpc$MethodHandlers.invoke(RemoteServiceGrpc.java:187)
>     at io.grpc.stub.ServerCalls$1$1.onHalfClose(ServerCalls.java:148)
>     at 
> io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:262)
>     at 
> io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$2.runInContext(ServerImpl.java:572)
>     at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52)
>     at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:117)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
>
> I'm surprised to see Unimplemented while your service implementation (I
assume ServiceImp) is running. Are you calling onNext after calling
onError? If you could show/describe your calls to the StreamObserver in
login that may help in figuring out what is wrong.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CA%2B4M1oP01yw4%2BQfKDxJ15dFgmhszXP2%2BBJmgLCz2K9bQUd1Z%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to