One more exception I got in my application is as follows:
SEVERE [grpc-server-app-9] io.grpc.internal.SerializingExecutor.run
Exception while executing runnable
io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed@35683b78
java.lang.IllegalStateException: call already closed
at
com.google.common.base.Preconditions.checkState(Preconditions.java:444)
at io.grpc.internal.ServerCallImpl.close(ServerCallImpl.java:172)
at
io.grpc.stub.ServerCalls$ServerCallStreamObserverImpl.onCompleted(ServerCalls.java:358)
at test.example.observer.TestObserver.onCompleted(TestObserver.java:67)
at
io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onHalfClose(ServerCalls.java:259)
at
io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:283)
at
io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:707)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at
io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
at
java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
at
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Above exception was thrown while closing stream after successful completion
of rpc at server side. But, how to debug for above behavior since the
thrown exception isn't seen everytime on stream close action? What could
have caused this issue?
On Friday, October 5, 2018 at 12:09:18 PM UTC+5:30, qplc wrote:
>
> Hi,
>
> Can anyone tell me where to look for all possible exceptions thrown by
> grpc server/client?
>
> Maximum time I have seen below exception:
> io.grpc.StatusRuntimeException: INTERNAL: HTTP/2 error code: INTERNAL_ERROR
> Received Goaway
>
> Above exception doesn't give clarity about what could have happened when
> it was being thrown.
>
>
> Regards,
> qplc
>
--
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/0d7249c9-5e2c-42a9-abd5-367f873ea448%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.