Hi! I’m trying to sync an execution using `FlyteRe...
# flytekit
a
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
What’s your task input or output. A very large list with 10000+ elements?
a
it’s a workflow that launches many sub-workflows
a
ahh thanks, will try it now!
I’m actually not sure how to add this to my config exactly
k
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
186 Views