Hello Community, Is there a way to configure `maxM...
# flyte-support
p
Hello Community, Is there a way to configure
maxMessageSizeByte
? The max availability is of 4MB. We tried configuring it in config.yaml but doesn't seem to work with
FlyteRemote
on calling the
fetch_execution
with
sync_nodes
set to True. Instead it fails with following error:
Copy code
FlyteSystemException: SYSTEM:Unknown: error=None, cause=<_InactiveRpcError of RPC that terminated with: status = StatusCode.RESOURCE_EXHAUSTED details = "Received message larger than max (6257348 vs. 4194304)" debug_error_string = "UNKNOWN:Error received from peer ipv4:<http://xxx.xxx.xxx.xxx|xxx.xxx.xxx.xxx> {created_time:"2024-12-04T13:24:39.325706062+01:00", grpc_status:8, grpc_message:"Received message larger than max (6257348 vs. 4194304)"}"
Could we circumvent this through Remote API calls?
a
@polite-nightfall-39188 what Helm chart are you using?
p
@average-finland-92144, We are using the one defined here: https://github.com/flyteorg/flyte/tree/master/charts/flyte-core
any update regarding this?
a
@polite-nightfall-39188 it should work in the config.yaml but let's try it at the platform level It should be set in your values file on:
Copy code
configmap:
  adminServer:
    server:
      maxMessageSizeBytes: <insert-limit>
this is unfortunately a gRPC limitation in the client -> flyteadmin communication