https://flyte.org logo
Title
v

varsha Parthasarathy

11/09/2022, 9:07 AM
Hi team, Can you help with this cryptic error while registering a workflow
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.RESOURCE_EXHAUSTED
	details = "received initial metadata size exceeds limit"
	debug_error_string = "{"created":"@1667984783.531503108","description":"Error received from peer ipv4:10.162.12.35:443","file":"src/core/lib/surface/call.cc","file_line":953,"grpc_message":"received initial metadata size exceeds limit","grpc_status":8}"
s

Samhita Alla

11/09/2022, 10:07 AM
Is it possible for you to share your workflow? I guess the data being sent between the tasks is larger than 1 MB.
v

varsha Parthasarathy

11/09/2022, 10:09 AM
Oh interesting. That could be it. i am downloading good chunk of data from s3
s

Samhita Alla

11/09/2022, 10:10 AM
If you could download the data within a task and send the s3 uri between the tasks, that should resolve the issue.
v

varsha Parthasarathy

11/09/2022, 10:11 AM
s3 uri between the task
Can i use Flytefile as the return type in that case?
Or if you have an example, i can look at that 🙏
s

Samhita Alla

11/09/2022, 10:15 AM
Can i use Flytefile as the return type in that case?
Of course! This should work:
FlyteFile(path="s3://...")
v

varsha Parthasarathy

11/09/2022, 10:26 AM
thanks, let me try it! 🙏
When’s the teams office hours btw?
s

Samhita Alla

11/09/2022, 10:30 AM
There are three slots on Wednesdays: 7:00 - 7:30 AM PT, 1:30 - 2:00 PM PT, & 9:00 - 9:30 PM PT
v

varsha Parthasarathy

11/09/2022, 3:44 PM
Ah just missed it! 😞 Let me try 130 🙂