开发者社区 > 云原生 > 正文

升级3.2.0-beta.5 后,无法使用postman 调试Triple 协议定义的接口

3.2.0 之前的版本,使用triple 协议,都可以正常使用postman 中的gRPC接口进行调试,升级到3.2.0-beta.5 之后,postman就无法调用调试了; 版本回退到3.1.5 可以正常调试,3.2.0-beta.5(.4.3)都不可以,都是报同样的错

//报错信息如下

2023-02-20 16:27:50.226 ERROR 30215 --- [rverWorker-15-1] .r.t.n.NettyPortUnificationServerHandler : [DUBBO] Can not recognize protocol from downstream=/127.0.0.1:52323 . preface=1603010200010001fc0303525e048a915ba2da048c4de775ae6e82d33bbce77080dd73993d2c094b4abad82073a2ed3e7dd5b5cb0a7c432ac5c1cedbe01b04659fb241bf06167a2b03555c490024130113021303c02fc02bc030c02ccca9cca8c009c013c00ac014009c009d002f0035000a0100018f0000000e000c0000096c6f63616c686f737400170000ff01000100000a00080006001d00170018000b0002010000230000001000050003026832000d00140012040308040401050308050501080606010201003300260024001d0020a6ec4472dae54e83841777195741537cbbf6ec1c6d06f28f5cc0e8f9bbf66a65002d00020101002b0009080304030303020301001500fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 protocols=[dubbo, qos, tri], dubbo version: 3.2.0-beta.5, current host: 172.16.103.66, error code: 99-0. This may be caused by unknown error in remoting module, go to https://dubbo.apache.org/faq/99/0 to find instructions.

// 服务端就是用的普通的一元 RPC 模式

@DubboService public class DubboUserCenterServiceImpl extends DubboUserCenterServiceTriple.UserCenterServiceImplBase {

原提问者GitHub用户gebizhuxiaowang

展开
收起
大圣东游 2023-05-11 15:54:15 330 0
1 条回答
写回答
取消 提交回答
  • proto的 package 改成com.example.dubbo.interfaces.user是可以正常使用的

    回答6.png

    原回答者GitHub用户icodening

    2023-05-12 10:21:01
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载