java.util.concurrent.ExecutionException: org.apache.dubbo.rpc.StatusRpcException: CANCELLED : Canceled by remote peer, errorCode=8 #15166
Unanswered
eamanc-lab
asked this question in
Question
Replies: 1 comment 1 reply
-
|
Can you please provide a demo? If the attribute of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-check
Apache Dubbo Component
Java SDK (apache/dubbo)
Details
Server configuration:
dubbo.application.name=fenxiang-aigc
dubbo.protocol.name=tri
dubbo.protocol.ext-protocol=dubbo
dubbo.provider.timeout=10000
dubbo.consumer.timeout=10000
dubbo.application.register-mode=instance
dubbo.application.service-discovery.migration=FORCE_APPLICATION
Client configuration:
dubbo.application.name=feima-chat
dubbo.protocol.name=tri
dubbo.application.register-mode=instance
dubbo.application.service-discovery.migration=FORCE_APPLICATION
dubbo.provider.timeout=10000
dubbo.consumer.timeout=10000
dubbo.provider.filter=DubboAccessLogFilter
dubbo.consumer.check=false
Server API:
Client call:
Call error:
java.util.concurrent.ExecutionException: org.apache.dubbo.rpc.StatusRpcException: CANCELLED : Canceled by remote peer, errorCode=8
If the attribute configuration protocol={"tri"} of the DubboService annotation on the server is removed,api:ChatGPTApiService.chat can be called normally
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions