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服务版本是否正确

  • 相关阅读:
    BZOJ4327 : JSOI2012 玄武密码
    BZOJ4303 : 数列
    BZOJ1077 : [SCOI2008]天平
    BZOJ1829 : [Usaco2010 Mar]starc星际争霸
    BZOJ1770 : [Usaco2009 Nov]lights 燈
    BZOJ3012 : [Usaco2012 Dec]First!
    BZOJ4320 : ShangHai2006 Homework
    BZOJ4311 : 向量
    BZOJ3075 : [Usaco2013]Necklace
    BZOJ4304 : 道路改建
  • 原文地址:https://www.cnblogs.com/andrew-chen/p/15179485.html
Copyright © 2011-2022 走看看