Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo: heart beat response error #17996

Closed
wbpcode opened this issue Sep 6, 2021 · 1 comment
Closed

dubbo: heart beat response error #17996

wbpcode opened this issue Sep 6, 2021 · 1 comment
Labels
bug triage Issue requires triage

Comments

@wbpcode
Copy link
Member

wbpcode commented Sep 6, 2021

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)
@wbpcode wbpcode added bug triage Issue requires triage labels Sep 6, 2021
@wbpcode
Copy link
Member Author

wbpcode commented Sep 6, 2021

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.

zuercher pushed a commit that referenced this issue Sep 7, 2021
Risk Level: low
Testing: Added.
Fixes Issue: #17996
Docs Changes: N/A.
Release Notes: N/A.
Platform Specific Features: N/A.

Signed-off-by: wbpcode <wbphub@live.com>
@wbpcode wbpcode closed this as completed Sep 8, 2021
tyxia pushed a commit to tyxia/envoy that referenced this issue Sep 21, 2021
Risk Level: low
Testing: Added.
Fixes Issue: envoyproxy#17996
Docs Changes: N/A.
Release Notes: N/A.
Platform Specific Features: N/A.

Signed-off-by: wbpcode <wbphub@live.com>

Signed-off-by: code <wbpcode@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issue requires triage
Projects
None yet
Development

No branches or pull requests

1 participant