GitHub user wangdechong created a discussion: [General][Java SDK (Component)] 
org.apache.dubbo.remoting.http12.exception.HttpStatusException: Invoker for 
gRPC not found

### Pre-check

- [X] I am sure that all the content I provide is in English.


### Apache Dubbo Component

Java SDK (apache/dubbo)

### Details

启动消费者之后,每秒拉取元数据时触发消费端:org.apache.dubbo.rpc.StatusRpcException: UNIMPLEMENTED : 
Invoker for gRPC not found;提供端 “Invoker for gRPC not found” 异常,请问如何解决?

复现版本:
dubbo提供者:3.3.5 + springboot:2.7.17 + JDK17
dubbo消费者:3.1.11 + springboot:2.7.17 + JDK 17
提供者配置:
dubbo:
  registry:
    address: nacos://127.0.0.1:8848?username=nacos&password=nacos
    register-mode: instance
  protocols:
    tri:
      name: tri
      port: 8080
    dubbo:
      name: dubbo
      port: 20880
提供者:用 Triple+JAX-RS 提供 REST 服务:
<img width="414" height="87" alt="image" 
src="https://github.com/user-attachments/assets/6c225322-330e-48a2-854a-0ea557bc379f";
 />


提供者异常:
2025-08-19 15:22:02.272 [DubboServerHandler-192.168.14.12:8080-thread-190] INFO 
 o.a.d.r.p.tri.h12.AbstractServerTransportListener - traceId: -  [DUBBO] An 
error occurred while processing the http request with 
GrpcHttp2ServerTransportListener, Http2MetadataFrame{method='POST', 
path='/org.apache.dubbo.metadata.MetadataService/getMetadataInfo', 
contentType='application/grpc+proto', streamId=3, endStream=false}, dubbo 
version: 3.3.5, current host: 192.168.14.12
org.apache.dubbo.remoting.http12.exception.HttpStatusException: Invoker for 
gRPC not found
        at 
org.apache.dubbo.rpc.protocol.tri.h12.grpc.GrpcRequestHandlerMapping.notFound(GrpcRequestHandlerMapping.java:79)
        at 
org.apache.dubbo.rpc.protocol.tri.h12.grpc.GrpcRequestHandlerMapping.getRequestHandler(GrpcRequestHandlerMapping.java:64)
        at 
org.apache.dubbo.rpc.protocol.tri.route.DefaultRequestRouter.route(DefaultRequestRouter.java:50)
        at 
org.apache.dubbo.rpc.protocol.tri.h12.AbstractServerTransportListener.doRoute(AbstractServerTransportListener.java:122)
        at 
org.apache.dubbo.rpc.protocol.tri.h12.grpc.GrpcHttp2ServerTransportListener.onPrepareMetadata(GrpcHttp2ServerTransportListener.java:69)
        at 
org.apache.dubbo.rpc.protocol.tri.h12.grpc.GrpcHttp2ServerTransportListener.onPrepareMetadata(GrpcHttp2ServerTransportListener.java:49)
        at 
org.apache.dubbo.rpc.protocol.tri.h12.AbstractServerTransportListener.lambda$onMetadata$0(AbstractServerTransportListener.java:107)
        at 
org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:111)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at 
org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:39)
        at java.base/java.lang.Thread.run(Thread.java:842)

异常断点:
<img width="1381" height="884" alt="image" 
src="https://github.com/user-attachments/assets/7c1251ca-a5c6-4cb6-83e5-bba498d6f1f7";
 />


消费端异常:

2025-08-19 15:25:43.306 [Dubbo-framework-metadata-retry-thread-1] WARN  
o.a.d.r.c.e.l.ServiceInstancesChangedListener - traceId: -  [DUBBO] Received 
address refresh retry event, 1755588333304, dubbo version: 3.1.11, current 
host: 192.168.14.12, error code: 99-0. This may be caused by unknown error in 
registry module, go to https://dubbo.apache.org/faq/99/0 to find instructions. 
2025-08-19 15:25:43.306 [Dubbo-framework-metadata-retry-thread-1] WARN  
o.a.d.r.c.e.l.ServiceInstancesChangedListener - traceId: -  [DUBBO] Retrying 
address notification..., dubbo version: 3.1.11, current host: 192.168.14.12, 
error code: 99-0. This may be caused by unknown error in registry module, go to 
https://dubbo.apache.org/faq/99/0 to find instructions. 
2025-08-19 15:25:43.306 [Dubbo-framework-metadata-retry-thread-1] WARN  
o.a.d.r.c.e.l.ServiceInstancesChangedListener - traceId: -  [DUBBO] Received 
address refresh retry event, 1755588333304, dubbo version: 3.1.11, current 
host: 192.168.14.12, error code: 99-0. This may be caused by unknown error in 
registry module, go to https://dubbo.apache.org/faq/99/0 to find instructions. 
2025-08-19 15:25:43.306 [Dubbo-framework-metadata-retry-thread-1] WARN  
o.a.d.r.c.e.l.ServiceInstancesChangedListener - traceId: -  [DUBBO] Retrying 
address notification..., dubbo version: 3.1.11, current host: 192.168.14.12, 
error code: 99-0. This may be caused by unknown error in registry module, go to 
https://dubbo.apache.org/faq/99/0 to find instructions. 
2025-08-19 15:25:43.307 [Dubbo-framework-metadata-retry-thread-1] INFO  
org.apache.dubbo.rpc.model.ModuleModel - traceId: -  [DUBBO] Dynamically 
registering consumer model 
uupt-middle-ackdemo-service/org.apache.dubbo.metadata.MetadataService:2.0.0 
into model Dubbo Module[1.1.0], dubbo version: 3.1.11, current host: 
192.168.14.12
2025-08-19 15:25:43.317 [Dubbo-framework-metadata-retry-thread-1] ERROR 
o.a.dubbo.registry.client.metadata.MetadataUtils - traceId: -  [DUBBO] Failed 
to get app metadata for revision ac086b2ccffbf5ebef12482977fe76ab for type 
local from instance 192.168.14.12:20880, dubbo version: 3.1.11, current host: 
192.168.14.12, error code: 1-39. This may be caused by , go to 
https://dubbo.apache.org/faq/1/39 to find instructions. 
org.apache.dubbo.rpc.StatusRpcException: UNIMPLEMENTED : Invoker for gRPC not 
found
        at org.apache.dubbo.rpc.TriRpcStatus.asException(TriRpcStatus.java:214)
        at 
org.apache.dubbo.rpc.protocol.tri.call.UnaryClientCallListener.onClose(UnaryClientCallListener.java:47)
        at 
org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.onComplete(TripleClientCall.java:106)
        at 
org.apache.dubbo.rpc.protocol.tri.stream.TripleClientStream$ClientTransportListener.finishProcess(TripleClientStream.java:216)
        at 
org.apache.dubbo.rpc.protocol.tri.stream.TripleClientStream$ClientTransportListener.onTrailersReceived(TripleClientStream.java:295)
        at 
org.apache.dubbo.rpc.protocol.tri.stream.TripleClientStream$ClientTransportListener.lambda$onHeader$1(TripleClientStream.java:398)
        at 
org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:102)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at 
org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41)
        at java.base/java.lang.Thread.run(Thread.java:842)

### Code of Conduct

- [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


GitHub link: https://github.com/apache/dubbo/discussions/15640

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to