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/09/08 02:15:07 UTC

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

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


   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!");
           }
       }
   ```


-- 
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 #8720: Packet len is out of range when starting

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


   repeat #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] CrazyHZM closed issue #8720: Packet len is out of range when starting

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


   


-- 
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