Anna Cunningham

    Anna Cunningham

    1 month ago
    Hi! I’m trying to sync an execution using
    FlyteRemote.sync
    but the response is too large:
    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?
    Kevin Su

    Kevin Su

    1 month ago
    What’s your task input or output. A very large list with 10000+ elements?
    Anna Cunningham

    Anna Cunningham

    1 month ago
    it’s a workflow that launches many sub-workflows
    Anna Cunningham

    Anna Cunningham

    1 month ago
    ahh thanks, will try it now!
    I’m actually not sure how to add this to my config exactly
    Kevin Su

    Kevin Su

    1 month ago
    k edit cm flyte-admin-base-config -n flyte
    server:
          grpcPort: 8089
          httpPort: 8088
          grpc:
            maxMessageSizeBytes: 1000000000                                                          
          security:
            allowCors: true
            allowedHeaders:
            - Content-Type
            allowedOrigins: