You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/27 09:37:14 UTC

[GitHub] [dubbo] szd1993 opened a new issue #8622: Packet len is out of range when starting

szd1993 opened a new issue #8622:
URL: https://github.com/apache/dubbo/issues/8622


   when consumer starting , it will get all dubbo node from zookeeper, then "Packet len is out of range"
   
   why not only get  node that with @DubboReference 
   
   just for less request ? 
   
   ```java
       void readLength() throws IOException {
           int len = this.incomingBuffer.getInt();
           if (len >= 0 && len < this.packetLen) {
               this.incomingBuffer = ByteBuffer.allocate(len);
           } else {
               throw new IOException("Packet len" + len + " is out of range!");
           }
       }
   ```
   
   ### Environment
   
   * Dubbo version:  2.7.8
   * Operating System version: xxx
   * Java version: 8
   
   ### Steps to reproduce this issue
   
   1. xxx
   2. xxx
   3. xxx
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   
   What do you expected from the above steps?
   
   ### Actual Result
   
   What actually happens?
   
   If there is an exception, please attach the exception trace:
   
   ```
   Just put your stack trace here!
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #8622: Packet len is out of range when starting

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #8622:
URL: https://github.com/apache/dubbo/issues/8622


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] xiaoheng1 commented on issue #8622: Packet len is out of range when starting

Posted by GitBox <gi...@apache.org>.
xiaoheng1 commented on issue #8622:
URL: https://github.com/apache/dubbo/issues/8622#issuecomment-907544538


   There are two solutions:
   1. You can increase the jute.maxbuffe parameter and try it
   2. Use application-level service registration and discovery


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #8622: Packet len is out of range when starting

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #8622:
URL: https://github.com/apache/dubbo/issues/8622#issuecomment-924779015


   @szd1993 You can refer to the above answer, temporarily close the issues, if there are other issues, you can reopen the issues.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org