Code Monkey home page Code Monkey logo

Comments (2)

OrezzerO avatar OrezzerO commented on June 18, 2024

Protocol Version is the first byte of your application layer network frame. Usually it is 1 (for BoltV1) and 2 for (BoltV2 protocol). If the first byte is 3 , bolt can not find the correspond protocol, so you will see this error .

There may be two common causes of this problem :

  1. Some unknown client send wrong packets to your port.
  2. Decoder did not consume all data in one packet, so some wrong data left in cache. The next time Decoder consume data, it read the wrong data.

from sofa-bolt.

kelseysunhaha avatar kelseysunhaha commented on June 18, 2024

协议版本是应用层网络帧的第一个字节。通常为 1(对于 BoltV1)和 2(对于 BoltV2 协议)。如果第一个字节是 3,bolt 找不到对应的协议,那么你会看到这个错误。

此问题可能有两个常见原因:

  1. 一些未知的客户端向您的端口发送错误的数据包。
  2. 解码器没有消耗掉一个数据包中的所有数据,因此存储器中留下了一些错误的数据。解码器接下来消耗数据时,读取到了错误的数据。

from sofa-bolt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.