It doesn't work of GrpcChannelOptions.MaxReceiveMessageSize #1965
Unanswered
karlwang1983
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@ karlwang1983 I'm not well versed on dotnet, so I don't comment on any specifics of the generated SDK, but I would like to know which API request are you triggering to hit this. Can you reproduce this if you use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We build a dotnet client following the page's guide -- https://medium.com/kpmg-uk-engineering/getting-started-with-spicedb-in-net-741e353a4d83. It works very well except GrpcChannelOptions.MaxReceiveMessageSize.
We noticed that there are some grpc error "grpc: received message after decompression larger than max (4194305 vs. 4194304)". We know it caused by default size is 4M for grpc. Then we set GrpcChannelOptions.MaxReceiveMessageSize as below to 50M, but it still doesn't work. Anyone know how to make it works?
`
void ConfigureSpiceDbGrpcClient(GrpcClientFactoryOptions options)
{
options.Address = new Uri(settings.SpiceDbServer);
}
Beta Was this translation helpful? Give feedback.
All reactions