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

server exception for gupaoedu-vip-netty-rpc project #8

Open
dongluyang opened this issue Aug 23, 2021 · 2 comments
Open

server exception for gupaoedu-vip-netty-rpc project #8

dongluyang opened this issue Aug 23, 2021 · 2 comments

Comments

@dongluyang
Copy link

Caused by: java.io.StreamCorruptedException: Unsupported version: 0
at io.netty.handler.codec.serialization.CompactObjectInputStream.readStreamHeader(CompactObjectInputStream.java:38)
at java.io.ObjectInputStream.(ObjectInputStream.java:375)
at io.netty.handler.codec.serialization.CompactObjectInputStream.(CompactObjectInputStream.java:30)
at io.netty.handler.codec.serialization.ObjectDecoder.decode(ObjectDecoder.java:74)
at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:343)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
... 16 more

@niufwshd
Copy link

@dongluyang ,请问你解决了吗,我也遇到了。

@niufwshd
Copy link

@dongluyang ,已经解决。把RpcRegistry.java中的第44-46行的注释放开就可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants