You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/06/20 06:41:02 UTC

[GitHub] [incubator-brpc] EAHITechnology opened a new issue, #1811: Go-grpc client get EOF error

EAHITechnology opened a new issue, #1811:
URL: https://github.com/apache/incubator-brpc/issues/1811

   # BUG report 
   I'm using the go-grpc client, it returns when the return body is too large. 
   I used the following configuration:
   ```
   InitialConnWindowSize = 1GB
   MaxRecvMsgSize = 32MB
   MaxSendMsgSize =32 MB
   ```
   
   But I got the result as below:
   ```
   rpc error: code = Internal desc = unexpected EOF
   ```
   
   # Reproduce
   When response is bigger. 1MB in my act.
   
   # Expected behavior
   Normal request according to my setup.
   
   


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] EAHITechnology closed issue #1811: Go-grpc client get EOF error

Posted by GitBox <gi...@apache.org>.
EAHITechnology closed issue #1811: Go-grpc client get EOF error
URL: https://github.com/apache/incubator-brpc/issues/1811


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] zyearn commented on issue #1811: Go-grpc client get EOF error

Posted by GitBox <gi...@apache.org>.
zyearn commented on issue #1811:
URL: https://github.com/apache/incubator-brpc/issues/1811#issuecomment-1160746690

   Currently you need to pass a big value to WithInitialConnWindowSize and WithInitialWindowSize as a workaround. This is because before brpc sends back response, it will check it the client's remaining window is enough. In your case, response was too big so the check failed.


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] EAHITechnology commented on issue #1811: Go-grpc client get EOF error

Posted by GitBox <gi...@apache.org>.
EAHITechnology commented on issue #1811:
URL: https://github.com/apache/incubator-brpc/issues/1811#issuecomment-1161346692

   > Currently you need to pass a big value to WithInitialConnWindowSize and WithInitialWindowSize as a workaround. This is because before brpc sends back response, it will check it the client's remaining window is enough. In your case, response was too big so the check failed.
   
   probably not.I have some new information such as:
   - brpc received RST.
   - grpc client executes closeStream Function. (As if the http/2 flow control implementations of brpc and grpc are different?) The data obtained by grpc is larger than its flow control size.The error just happened.


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] zyearn closed issue #1811: Go-grpc client get EOF error

Posted by GitBox <gi...@apache.org>.
zyearn closed issue #1811: Go-grpc client get EOF error
URL: https://github.com/apache/incubator-brpc/issues/1811


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] EAHITechnology commented on issue #1811: Go-grpc client get EOF error

Posted by GitBox <gi...@apache.org>.
EAHITechnology commented on issue #1811:
URL: https://github.com/apache/incubator-brpc/issues/1811#issuecomment-1160086041

   When we set WithInitialWindowSize and WithInitialConnWindowSize,it won't be wrong.This is so weird, it doesn't seem to fit the logic of grpc at the moment
   
   solution:
   
   grpc.WithInitialConnWindowSize(...)
   grpc.WithInitialWindowSize(...)


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org