Skip to content

grpc: received message larger than max #943

Closed
@Lyafei

Description

@Lyafei

help!

{
    "error": "grpc: received message larger than max (4870953 vs. 4194304)",
    "message": "grpc: received message larger than max (4870953 vs. 4194304)",
    "code": 8
}

I have modified the grpc configuration:

grpc.NewServer(grpc.MaxRecvMsgSize(52428800), grpc.MaxSendMsgSize(52428800))

But that doesn't help, right

How do I set the return value size in the grpc-gateway

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

    Issue actions