-
Notifications
You must be signed in to change notification settings - Fork 13k
【2.5.1】gRPC message exceeds maximum size #13273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
2.5.1版本 |
客户端服务端都需要设置 |
如果是数据同步时遇到此问题,需要集群中所有节点均设置之后才会生效 |
@KomachiSion 我是集群间同步报错的,DistroDataRequest 集群里面所有机器都加了那两个配置逐台重启后还是会报错。 |
@KomachiSion 集群间同步ClusterRpcClientProxy.buldRpcClient方法中构建RpcClient的时候通过RpcClientFactory.createClusterClient创建这里面并没有用到那两个参数,这里是不是有点问题 |
@KomachiSion GrpcClusterServer中才用到了那两个参数 |
如果用这种方式服务端也需要配置nacos.remote.client.grpc.maxinbound.message.size |
参考了之前的issues,将nacos.remote.service.grpc.sdk.max-inbound-message-size和nacos.remote.service.grpc.cluster.max-inbound-message-size都调整到了20971520还是会报错
报错如下gRPC message exceeds maximum size 10485760 : 13704618
是参数不生效吗?我本地debug看那拿到的参数是设置后的
The text was updated successfully, but these errors were encountered: