DEADLINE_EXCEEDED: deadline exceeded after 69.999963705s. [closed=[], open=[[remote_addr=

We are seeing

i

o.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 69.999963705s. [closed=[], open=[[remote_addr=<>]]]
	at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271)
	at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252)
	at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:165)
	at io.temporal.api.workflowservice.v1.WorkflowServiceGrpc$WorkflowServiceBlockingStub.pollActivityTaskQueue(WorkflowServiceGrpc.java:3801)
	at io.temporal.internal.worker.ActivityPollTask.poll(ActivityPollTask.java:100)
	at io.temporal.internal.worker.ActivityPollTask.poll(ActivityPollTask.java:40)
	at io.temporal.internal.worker.Poller$PollExecutionTask.run(Poller.java:298)
	at io.temporal.internal.worker.Poller$PollLoopTask.run(Poller.java:258)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Threa
d.run(Thread.java:833)

java 17
spring boot 3.1.0
temporal_version = ‘1.19.1’

Do you see associated frontend service logs like:

“msg”: “PollActivityTaskQueue failed.”,
“service”: “frontend”,

The error can happen when there are no tasks (in your case activity tasks) on the task queues your workers poll on, and the frontend service times out on a poll request after 70s (this is set by sdk as the poll timeout).
It should be benign and resolve itself. Are you experiencing performance issues when you get these logs?