dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 0.981473792s. [buffered_nanos=71961167, remote_addr=localhost/127.0.0.1:50051]

Open chaoyoung opened this issue 2 years ago • 8 comments

Environment

  • Dubbo version: 3.1.10
  • Operating System version: MacOS 13.4
  • Java version: zulu JDK 1.8.0_372

Steps to reproduce this issue

server use BIDIRECTIONAL_STREAM mode with triple protocol, client use grpc protocol

  1. git clone https://github.com/chaoyoung/dubbo-tri-bistream-test.git
  2. Run org.example.dubbo.DubboTripleVoiceChatProvider#main
  3. Run org.example.dubbo.DubboGrpcVoiceChatConsumer#main

Expected Behavior

No error

Actual Behavior

io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 0.981473792s. [buffered_nanos=71961167, remote_addr=localhost/127.0.0.1:50051]

[29/05/23 10:54:15:015 CST] grpc-default-executor-0 ERROR dubbo.DubboGrpcVoiceChatConsumer: voice chat onError
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 0.981473792s. [buffered_nanos=71961167, remote_addr=localhost/127.0.0.1:50051]
	at io.grpc.Status.asRuntimeException(Status.java:539)
	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:487)
	at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:489)
	at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:453)
	at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:486)
	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576)
	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:757)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:736)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
	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:750)

chaoyoung avatar May 29 '23 03:05 chaoyoung

@EarthChen @icodening PTAL

AlbumenJ avatar Jun 02 '23 07:06 AlbumenJ

Let me take up this issue.

yuvashreenarayanan3 avatar May 26 '24 04:05 yuvashreenarayanan3

@chaoyoung VoiceChat class does not exist image

sunheyi6 avatar Jun 24 '24 03:06 sunheyi6