You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chaoyoung (via GitHub)" <gi...@apache.org> on 2023/08/07 08:11:40 UTC
[GitHub] [dubbo] chaoyoung opened a new issue, #12859: The server onError method callback CANCELLED when client is disconnected
chaoyoung opened a new issue, #12859:
URL: https://github.com/apache/dubbo/issues/12859
### Environment
* Dubbo version: 3.2.5-SNAPSHOT
* Operating System version: CentOS 7
* Java version: 1.8.0_201
### Steps
client 连接 Triple server,client关闭后,server在onError回调方法返回了CANCELLED.
### Expected Behavior
No ERROR
### Actual Behavior
org.apache.dubbo.common.stream.StreamObserver#onError
```
org.apache.dubbo.rpc.StatusRpcException: CANCELLED : Canceled by client ,errorCode=8
at org.apache.dubbo.rpc.TriRpcStatus.asException(TriRpcStatus.java:214) ~[dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at org.apache.dubbo.rpc.protocol.tri.call.BiStreamServerCallListener.onCancel(BiStreamServerCallListener.java:55) [dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at org.apache.dubbo.rpc.protocol.tri.call.AbstractServerCall.onCancelByRemote(AbstractServerCall.java:233) [dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver.lambda$cancelByRemote$3(TripleServerStream.java:458) [dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:102) ~[dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_201]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41) ~[dubbo-3.2.5-SNAPSHOT.jar:3.2.5-SNAPSHOT]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_201]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] chaoyoung closed issue #12859: dubbo:3.2.5-SNAPSHOT server return CANCELLED rpc status through the onError method
Posted by "chaoyoung (via GitHub)" <gi...@apache.org>.
chaoyoung closed issue #12859: dubbo:3.2.5-SNAPSHOT server return CANCELLED rpc status through the onError method
URL: https://github.com/apache/dubbo/issues/12859
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org