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/12/21 03:56:46 UTC

[GitHub] [dubbo] songxiaosheng opened a new issue, #11184: Dubbo3调用配置了提供者path属性的服务提供者出现找不到提供者的报错

songxiaosheng opened a new issue, #11184:
URL: https://github.com/apache/dubbo/issues/11184

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.1.0 -> 2.7.5.x
   * Operating System version: linux,windows
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 配置了path属性的服务提供者启动 dubbo老版本
   2. 消费者启动订阅服务失败 dubbo3.1.0这个版本
    
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   <!-- What do you expect from the above steps?-->
   感觉是dubbo3的服务消费者没有兼容path这个配置与dubbo低版本表现得行为不一样,导致序列化检查时候失败了
   
   ### Actual Behavior
   
   <!-- What actually happens? -->
   
   If there is an exception, please attach the exception trace:
   
    
   
   


-- 
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] songxiaosheng commented on issue #11184: Dubbo3调用配置了提供者path属性的服务提供者出现找不到提供者的报错

Posted by GitBox <gi...@apache.org>.
songxiaosheng commented on issue #11184:
URL: https://github.com/apache/dubbo/issues/11184#issuecomment-1365562514

   > path 这个属性是给 rest 协议使用的,对于 dubbo 协议如果以前是兼容的话得看下差异点在哪
   
   dubbo2缓存的key是path和版本号组成的
   dubbo3缓存的key是接口和版本号组成的
   
   如果dubbo3配置了path dubbo2调用dubbo3的时候  dubbo3内部就会找不到这个提供者导致调用失败  估计兼容比较麻烦 可以看下CodeSupport这个类型的checkSerialzation方法


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


[GitHub] [dubbo] AlbumenJ commented on issue #11184: Dubbo3调用配置了提供者path属性的服务提供者出现找不到提供者的报错

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11184:
URL: https://github.com/apache/dubbo/issues/11184#issuecomment-1361471161

   path 这个属性是给 rest 协议使用的,对于 dubbo 协议如果以前是兼容的话得看下差异点在哪


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


[GitHub] [dubbo] songxiaosheng commented on issue #11184: Dubbo3调用配置了提供者path属性的服务提供者出现找不到提供者的报错

Posted by GitBox <gi...@apache.org>.
songxiaosheng commented on issue #11184:
URL: https://github.com/apache/dubbo/issues/11184#issuecomment-1363563951

   > path 这个属性是给 rest 协议使用的,对于 dubbo 协议如果以前是兼容的话得看下差异点在哪
   
   https://github.com/apache/dubbo/issues/6138 这个问题修复了之后 dubbo协议 提供者拿到的低版本消费者和高版本消费者的第二个字段path是不一样的 ,高版本只会取interface 低版本如果存在path则会取path  稍等先等我确认下安全校验的代码的版本


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