zoukankan      html  css  js  c++  java
  • cause: Fail to decode request due to: RpcInvocation

    Stack:

    com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getRefundDetail in the service com.raycloud.zdtrade.api.IRefundService. Tried 6 times of the providers [39.100.56.187:31000] (1/1) from the registry ali-zk.superboss.cc:2181 on the consumer 172.16.30.53 using the dubbo version 2.6.2. Last error is: Failed to invoke remote method: getRefundDetail, provider: dubbo://39.100.56.187:31000/com.raycloud.zdtrade.api.IRefundService?anyhost=false&application=zd-marketing-schedule-dev&check=false&default.check=false&default.init=false&default.retries=0&default.timeout=60000&dubbo=2.6.0&generic=false&interface=com.raycloud.zdtrade.api.IRefundService&logger=slf4j&methods=getRefundDetail&pid=50045&pln=zd-dubbo-gateway&register.ip=172.16.30.53&remote.timestamp=1629730138908&retries=5&revision=1.0.1-20210820.055213-8&serialization=hessian2&side=consumer&timeout=4000&timestamp=1629773331155&version=1.0.0-dev-out, cause: Fail to decode request due to: RpcInvocation [methodName=getRefundDetail, parameterTypes=[class com.raycloud.zdtrade.api.request.RefundRequest], arguments=null, attachments={path=com.raycloud.zdtrade.api.IRefundService, input=458, dubbo=2.6.2, version=1.0.0-dev-out}]

    解决:

    jar包从1.0.0升级到1.0.1导致。

    排查思路:

    1. 传递参数是否实现 Serializable

    2. 两边jar包版本是否一致

    3. dubbo服务版本是否正确

  • 相关阅读:
    linux下解压命令大全
    位运算的技巧
    逆元
    asp.net core 教程(五)
    day7--面向对象进阶(内含反射和item系列)
    day6--面向对象初识
    day6--二分查找法
    day6--递归函数
    day5--装饰器函数的信息打印,迭代器,生成器,列表推导式,内置函数
    python零散补充与总结
  • 原文地址:https://www.cnblogs.com/andrew-chen/p/15179485.html
Copyright © 2011-2022 走看看