Skip to content

gRPC error: RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (4563651 vs. 4194304) #382

@bxq2011hust

Description

@bxq2011hust

Is there a way to solve this problem?

Activity

bxq2011hust

bxq2011hust commented on Dec 14, 2022

@bxq2011hust
Author

tikv/grpc-rs#602

set it to -1(unlimit) can fix this issue, If you are ok with this fix I can create a PR, @ekexium

        let cb = ChannelBuilder::new(env)
            .keepalive_time(Duration::from_secs(10))
            .keepalive_timeout(Duration::from_secs(3))
            .max_receive_message_len(-1)
            .use_local_subchannel_pool(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bxq2011hust

        Issue actions

          gRPC error: RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (4563651 vs. 4194304) · Issue #382 · tikv/client-rust