Skip to content

Sidecar GRPC response size is limited and cannot be set #8537

Description

@jbalmer89

In what area(s)?

/area runtime

What version of Dapr?

1.15.0-rc18

Expected Behavior

We want to send responses to the dapr sidecar > 4Mb

Actual Behavior

When receiving a message > 4 Mb we get an error as follows:

Error: An unexpected error occurred invoking 'CreateMethod' on the server. DaprApiException: error invoke actor method: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (9517075 vs. 4194304)

Steps to Reproduce the Problem

We are experiencing issues where the dapr sidecar receives grpc messages greater than 4Mb. Normally this can be set on the grpc channel by changing MaxReceiveMessageSize, but it looks like there is no option in the CLI to set the size. There is max-body-size but this doesn't seem to have any effect.

Release Note

RELEASE NOTE: ADD Set GRPC max recieve message size via CLI

RELEASE NOTE:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions