You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Joker-zc (via GitHub)" <gi...@apache.org> on 2025/06/29 10:47:47 UTC
[I] [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED [dubbo]
Joker-zc opened a new issue, #15501:
URL: https://github.com/apache/dubbo/issues/15501
### Pre-check
- [x] I am sure that all the content I provide is in English.
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues.
### Apache Dubbo Component
Java Samples (apache/dubbo-samples)
### Dubbo Version
dubbo 3.3.1 jdk 17 windows/mac/centos7.9
### Steps to reproduce this issue
modify demo dubbo-samples-triple-http3 GreeterServiceImpl to this
` @Override
public HelloReply sayHello(HelloRequest request) {
LOGGER.info("Received sayHello request: {}", request.getName());
StringBuffer finalString = new StringBuffer();
IntStream.range(0,10000).forEach(
i-> finalString.append("Hello")
);
return toReply(finalString + request.getName());
}
`
then run test
` @Test
public void sayHello() {
HelloReply reply = greeterService.sayHello(buildRequest("world"));
Assert.assertEquals("Hello world", reply.getMessage());
}`
```then test log
[fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [subscribe] dubbo-springboot-triple-http3.MESHAPPRULE+dubbo+42d43ca6-be10-4210-837d-7b50aadbfa45
18:37:33.598 |-INFO [main] ibaba.nacos.client.config.impl.CacheData:236 -| [fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [add-listener] ok, tenant=42d43ca6-be10-4210-837d-7b50aadbfa45, dataId=dubbo-springboot-triple-http3.MESHAPPRULE, group=dubbo, cnt=1
18:37:33.598 |-INFO [main] ba.nacos.client.config.impl.ClientWorker:418 -| [fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [subscribe] dubbo-springboot-triple-http3.tag-router+dubbo+42d43ca6-be10-4210-837d-7b50aadbfa45
18:37:33.598 |-INFO [main] ibaba.nacos.client.config.impl.CacheData:236 -| [fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [add-listener] ok, tenant=42d43ca6-be10-4210-837d-7b50aadbfa45, dataId=dubbo-springboot-triple-http3.tag-router, group=dubbo, cnt=1
18:37:33.613 |-INFO [main] ba.nacos.client.config.impl.ClientWorker:418 -| [fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [subscribe] dubbo-springboot-triple-http3.script-router+dubbo+42d43ca6-be10-4210-837d-7b50aadbfa45
18:37:33.613 |-INFO [main] ibaba.nacos.client.config.impl.CacheData:236 -| [fixed-42d43ca6-be10-4210-837d-7b50aadbfa45-172.16.57.34_8848] [add-listener] ok, tenant=42d43ca6-be10-4210-837d-7b50aadbfa45, dataId=dubbo-springboot-triple-http3.script-router, group=dubbo, cnt=1
18:37:33.626 |-INFO [main] client.ServiceDiscoveryRegistryDirectory:71 -| [DUBBO] Received invokers changed event from registry. Registry type: instance. Service Key: org.apache.dubbo.demo.GreeterService. Urls Size : 1. Invokers Size : 1. Available Size: 1. Available Invokers : 192.168.3.46:50052, dubbo version: 3.3.1, current host: 192.168.3.46
18:37:33.626 |-INFO [main] com.alibaba.nacos.client.naming:164 -| [SUBSCRIBE-SERVICE] service:dubbo-springboot-triple-http3, group:dubbo-mxde, clusters:
18:37:33.631 |-INFO [main] ration.DefaultMigrationAddressComparator:71 -| [DUBBO] No interface address available, stop compare., dubbo version: 3.3.1, current host: 192.168.3.46
18:37:33.631 |-INFO [main] ry.client.migration.MigrationRuleHandler:71 -| [DUBBO] Succeed Migrated to APPLICATION_FIRST mode. Service Name: org.apache.dubbo.demo.GreeterService, dubbo version: 3.3.1, current host: 192.168.3.46
18:37:33.633 |-INFO [DubboSaveMetadataReport-thread-1] metadata.store.nacos.NacosMetadataReport:71 -| [DUBBO] store consumer metadata. Identifier : MetadataIdentifier{application='dubbo-springboot-triple-http3', serviceInterface='org.apache.dubbo.demo.GreeterService', version='', group='', side='consumer'}; definition: {side=consumer, application=dubbo-springboot-triple-http3, pid=22856, interface=org.apache.dubbo.demo.GreeterService, release=3.3.1, dubbo=2.0.2, executor-management-mode=isolation, file-cache=false, register.ip=192.168.3.46, methods=sayHello,sayHelloAsync,sayHelloBiStream,sayHelloServerStream, background=false, sticky=false, qos.enable=false, unloadClusterRelated=false, timestamp=1751193451703}, dubbo version: 3.3.1, current host: 192.168.3.46
18:37:33.663 |-ERROR [main] ChainBuilder$CallbackRegistrationInvoker:111 -| [DUBBO] Exception occurred while executing the 0 filter named RpcExceptionFilter., dubbo version: 3.3.1, current host: 192.168.3.46, error code: 2-19. This may be caused by the custom filter is abnormal, go to https://dubbo.apache.org/faq/2/19 to find instructions.
18:37:33.663 |-ERROR [main] org.apache.dubbo.rpc.AsyncRpcResult:111 -| [DUBBO] Got exception when trying to fetch the underlying result from AsyncRpcResult., dubbo version: 3.3.1, current host: 192.168.3.46, error code: 3-5. This may be caused by , go to https://dubbo.apache.org/faq/3/5 to find instructions.
org.apache.dubbo.rpc.RpcException: java.util.concurrent.ExecutionException: org.apache.dubbo.rpc.StatusRpcException: CANCELLED
at org.apache.dubbo.rpc.AsyncRpcResult.getAppResponse(AsyncRpcResult.java:181)
at org.apache.dubbo.rpc.AsyncRpcResult.recreate(AsyncRpcResult.java:246)
at org.apache.dubbo.rpc.proxy.InvocationUtil.invoke(InvocationUtil.java:64)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:81)
at org.apache.dubbo.demo.GreeterServiceDubboProxy0.sayHello(GreeterServiceDubboProxy0.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.dubbo.config.spring.util.LazyTargetInvocationHandler.invoke(LazyTargetInvocationHandler.java:54)
at org.apache.dubbo.demo.GreeterServiceDubboProxy0.sayHello(GreeterServiceDubboProxy0.java)
at org.apache.dubbo.demo.ConsumerIT.sayHello(ConsumerIT.java:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:76)
at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: java.util.concurrent.ExecutionException: org.apache.dubbo.rpc.StatusRpcException: CANCELLED
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at org.apache.dubbo.rpc.AsyncRpcResult.getAppResponse(AsyncRpcResult.java:172)
... 44 more
Caused by: org.apache.dubbo.rpc.StatusRpcException: CANCELLED
at org.apache.dubbo.rpc.TriRpcStatus.asException(TriRpcStatus.java:260)
at org.apache.dubbo.rpc.protocol.tri.call.UnaryClientCallListener.onClose(UnaryClientCallListener.java:53)
at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.onComplete(TripleClientCall.java:126)
at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.onCancelByRemote(TripleClientCall.java:112)
at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.onClose(TripleClientCall.java:143)
at org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:105)
at org.apache.dubbo.common.threadpool.ThreadlessExecutor$RunnableWrapper.run(ThreadlessExecutor.java:151)
at org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:77)
at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:220)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.waitForResultIfSync(AbstractInvoker.java:293)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:195)
at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:71)
at org.apache.dubbo.rpc.filter.RpcExceptionFilter.invoke(RpcExceptionFilter.java:40)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CallbackRegistrationInvoker.invoke(FilterChainBuilder.java:197)
at org.apache.dubbo.rpc.protocol.ReferenceCountInvokerWrapper.invoke(ReferenceCountInvokerWrapper.java:106)
at org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory$InstanceWrappedInvoker.invoke(ServiceDiscoveryRegistryDirectory.java:800)
at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invokeWithContext(AbstractClusterInvoker.java:412)
at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)
at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:366)
at org.apache.dubbo.rpc.cluster.router.RouterSnapshotFilter.invoke(RouterSnapshotFilter.java:46)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:109)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.cluster.filter.support.MetricsClusterFilter.invoke(MetricsClusterFilter.java:57)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.spring.security.filter.ContextHolderParametersSelectedTransferFilter.invoke(ContextHolderParametersSelectedTransferFilter.java:40)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.metrics.filter.MetricsFilter.invoke(MetricsFilter.java:86)
at org.apache.dubbo.rpc.cluster.filter.support.MetricsConsumerFilter.invoke(MetricsConsumerFilter.java:38)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.cluster.filter.support.ConsumerClassLoaderFilter.invoke(ConsumerClassLoaderFilter.java:40)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.tracing.filter.ObservationSenderFilter.invoke(ObservationSenderFilter.java:60)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.cluster.filter.support.ConsumerContextFilter.invoke(ConsumerContextFilter.java:119)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)
at org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CallbackRegistrationInvoker.invoke(FilterChainBuilder.java:197)
at org.apache.dubbo.rpc.cluster.support.wrapper.AbstractCluster$ClusterFilterInvoker.invoke(AbstractCluster.java:101)
at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:107)
at org.apache.dubbo.rpc.cluster.support.wrapper.ScopeClusterInvoker.invoke(ScopeClusterInvoker.java:171)
at org.apache.dubbo.registry.client.migration.MigrationInvoker.invoke(MigrationInvoker.java:294)
... 43 more
```
### What you expected to happen
may by some config not correct?
### Anything else
when only send Say hello , it run success ,but if send too much data , it will throw exception , how to send much data by http3? please help me
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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
Re: [I] [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED [dubbo]
Posted by "Stellar1999 (via GitHub)" <gi...@apache.org>.
Stellar1999 commented on issue #15501:
URL: https://github.com/apache/dubbo/issues/15501#issuecomment-3022308802
This seems to be a bug. We'll look into it.
--
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
Re: [I] [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED [dubbo]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on issue #15501:
URL: https://github.com/apache/dubbo/issues/15501#issuecomment-3018208500
try dubbo 3.3.5 or the lastes codes (build 3.3.6-SNAPSHOT by your self)
--
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
Re: [I] [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED [dubbo]
Posted by "little-kid-an (via GitHub)" <gi...@apache.org>.
little-kid-an commented on issue #15501:
URL: https://github.com/apache/dubbo/issues/15501#issuecomment-3040842742
This bug seems to affect the pass rate of the unit tests.
--
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
Re: [I] [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED [dubbo]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw closed issue #15501: [Bug] Demo dubbo-samples-triple-http3 consumer print org.apache.dubbo.rpc.StatusRpcException: CANCELLED
URL: https://github.com/apache/dubbo/issues/15501
--
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