You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/10/13 07:06:26 UTC

[GitHub] [dubbo] lphu commented on issue #10739: 配置多个不同的ProtocolConfig,调用服务报Not found exported service。

lphu commented on issue #10739:
URL: https://github.com/apache/dubbo/issues/10739#issuecomment-1277127513

   > > dubbo version: 3.0.10
   > > 由于业务场景在部分二方包内手动初始化了Registry, Application以及Protocol等, 并且编程式的暴露服务 serviceConfig.export();
   > > 当业务引用了二方包, 并且自己配置了一份 Protocol。在调用我们提供的二方包时就会报Not found exported service ... may be version or group mismatch
   > > 看着是应用级注册时进行了覆盖, org.apache.dubbo.registry.client.metadata.ServiceInstanceHostPortCustomizer#customize 该方法在选取host与port的时候只过滤了第一个protocol相同的地址, 但是不同Protocol的会放在同一个Metadata内, 导致应用级暴露时只暴露了一个Protocol地址
   > 
   > 升级到 3.1.1 看一下
   
   试了一下 还是一样的表现. 
   Not found exported service, service in [..] , may be version or group mismatch


-- 
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