https://flyte.org logo
#flytekit
Title
# flytekit
a

Anna Cunningham

08/23/2022, 11:25 PM
Hi! I’m trying to sync an execution using
FlyteRemote.sync
but the response is too large:
Copy code
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.RESOURCE_EXHAUSTED
        details = "Received message larger than max (4762259 vs. 4194304)"
        debug_error_string = "UNKNOWN:Error received from peer ipv4:192.168.3.75:81 {grpc_message:"Received message larger than max (4762259 vs. 4194304)", grpc_status:8, created_time:"2022-08-23T23:23:18.247266112+00:00"}"
Is there a way for me to adjust the max amount or somehow still get my synced execution data?
k

Kevin Su

08/24/2022, 5:31 AM
What’s your task input or output. A very large list with 10000+ elements?
a

Anna Cunningham

08/24/2022, 4:16 PM
it’s a workflow that launches many sub-workflows
a

Anna Cunningham

08/24/2022, 4:39 PM
ahh thanks, will try it now!
I’m actually not sure how to add this to my config exactly
k

Kevin Su

08/24/2022, 4:47 PM
k edit cm flyte-admin-base-config -n flyte
Copy code
server:
      grpcPort: 8089
      httpPort: 8088
      grpc:
        maxMessageSizeBytes: 1000000000                                                          
      security:
        allowCors: true
        allowedHeaders:
        - Content-Type
        allowedOrigins:
🙏 1
100 Views