Task processing failed with error Error="context deadline exceeded" WorkerType=ActivityWorker

Hi,

I’m playing around with sending large compressed results from an activity to a workflow.

I suspect decompressing the data is causing a timeout somewhere as I’m seeing the following:

Task processing failed with error Error="context deadline exceeded"  ...  WorkerType=ActivityWorker

I’ve increased to WorkflowTaskTimeout to a very large timeout, but that does not help. What should I be setting to allow the data converter more time to work?

Thanks!

Albert

I did a bit of digging. It turns out that the gRPC response call from the worker to Temporal Cloud was taking too long.

In internal/internal_utils.go, I can see that the defaultRPCTimeout and maxRPCTimeout are both 10s. Is it possible to change those? I’m not seeing a way in the code, but maybe I missed something.

This might not be an issue in production as this really means that my home ISP is having problems uploading 4MB within 10s.