components-contrib icon indicating copy to clipboard operation
components-contrib copied to clipboard

bindings.azure.blobstorage{ grpc: received message larger than max (13981148 vs. 4194304) }

Open kou-h opened this issue 2 years ago • 9 comments

Hello, I have this problem here. How can I solve it. thank you image

kou-h avatar Jul 06 '22 04:07 kou-h

What operation are you executing?

ItalyPaleAle avatar Jul 06 '22 20:07 ItalyPaleAle

Did you try to set this flag?

yaron2 avatar Jul 06 '22 20:07 yaron2

Did you try to set this flag?

Hello, where does this flag need to be set. Is azure blob storage binding spec set in this file? https://docs.dapr.io/reference/components-reference/supported-bindings/blobstorage/

kou-h avatar Jul 07 '22 00:07 kou-h

What operation are you executing?

Hello, I'm trying to use bindings azure. blobstorage. This error occurs when uploading files of more than 10MB

kou-h avatar Jul 07 '22 00:07 kou-h

What we suspected is correct then. As @yaron2 said, you need to enable support for larger bodies.

That flag must be passed to the dapr CLI: https://docs.dapr.io/operations/configuration/increase-request-size/

ItalyPaleAle avatar Jul 07 '22 15:07 ItalyPaleAle

@ItalyPaleAle @yaron2 By setting this flag, a large file was successfully uploaded. thank. However, received message exceeded the maximum configured message size Which flag does this need to be set through?

kou-h avatar Jul 08 '22 00:07 kou-h

@ItalyPaleAle @yaron2 By setting this flag, a large file was successfully uploaded. thank. However, received message exceeded the maximum configured message size Which flag does this need to be set through?

This setting should probably be set on your app, as Dapr tries to deliver the file over HTTP/gRPC

yaron2 avatar Jul 08 '22 02:07 yaron2

@yaron2 Thank you for your reply. Now I am using the dapr SDK for Net. It seems that the attribute of response size is not set. Do I need to contact the dapr SDK for Net author? https://github.com/dapr/dotnet-sdk/blob/master/src/Dapr.Client/DaprClientGrpc.cs#L207

kou-h avatar Jul 08 '22 05:07 kou-h

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

dapr-bot avatar Aug 07 '22 05:08 dapr-bot

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

dapr-bot avatar Aug 14 '22 05:08 dapr-bot