Skip to content

dubbo: heart beat response error #17996

Closed

Description

@wbpcode

Title: dubbo heart beat response error

Description:

Dubbo Proxy will return an incorrect heart beat response when received a heart beat request and causing client-side parsing error.

[DUBBO] Decode response failed: Decode dubbo protocol event failed.
java.io.EOFException: readObject: unexpected end of file
        at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2792)
        at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2308)
        at org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectInput.readObject(Hessian2ObjectInput.java:94)
        at org.apache.dubbo.common.serialize.ObjectInput.readEvent(ObjectInput.java:83)
        at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decodeEventData(ExchangeCodec.java:400)
        at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:83)
        at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:122)
        at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:82)
        at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:48)

Activity

  1. added
    triage
    on Sep 6, 2021
  2. wbpcode commented on Sep 6, 2021

    @wbpcode
    MemberAuthor

    It seems that the root cause is that the heat beat response generated by the dubbo proxy is missing one byte.

    I will try to verity and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions