Closed bnowakow closed 4 years ago
I'm sorry it's not a bug, it was my poor debug.
I was using 2 clients:
How can I change label from bug to question?
io.github.lognet.grpc-spring-boot-starter
That is a different library, or was that a typo?
I was using "yours" server and "theirs" client previously. So it wasn't a bug or configuration issue in "yours" server but a configuration in "theirs" client.
Btw. I've already migrated from "their" client to "yours" one, it's much more usable, thank you.
I was using "yours" server and "theirs" client previously. So it wasn't a bug or configuration issue in "yours" server but a configuration in "theirs" client.
Btw. I've already migrated from "their" client to "yours" one, it's much more usable, thank you.
I'm still confused. Which library do you use:
net.devh:grpc-spring-boot-starter
(this library)io.github.lognet:grpc-spring-boot-starter
(a different library)Both, I was using
net.devh:grpc-server-spring-boot-starter
on serverio.github.lognet:grpc-spring-boot-starter
on clientThanks for the clarification.
Do you have any questions? How can we help you?
I'd like to increase maxInboundMessageSize on server.
You can use grpc.server.maxInboundMessageSize=15MB
in your config.
No, other than congrats for very good library and very useful FAQ
Thanks!
The context
I'd like to increase maxInboundMessageSize on server.
The bug
As suggested in #163 (if I understood it right) in application.properties I'm setting
grpc.server.max-inbound-message-size: 5983493
but this variable isn't read/used. This variable is exposed to be set: InteliJ screenshot. Smaller messages are sent fine.Steps to Reproduce
When I request bigger gRPC message than 4MB default value I get
{ "error": "8 RESOURCE_EXHAUSTED: Received message larger than max (5983493 vs. 4194304)" }
gRPC message from server.The application's environment
Exception