Deadline exceeded exception. What does it mean?


So I am getting an exception, and I dont understand what it means. Could some help please ?

2021-08-25 11:52:33.219  WARN 23801 --- [ault-executor-0] io.camunda.zeebe.client.job.poller       : Failed to activated jobs for worker temp-worker and job type pac

io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 19.997781469s. [remote_addr=/]
	at io.grpc.Status.asRuntimeException( ~[grpc-api-1.38.1.jar:1.38.1]
	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose( ~[grpc-stub-1.38.1.jar:1.38.1]
	at io.grpc.internal.ClientCallImpl.closeObserver( ~[grpc-core-1.38.1.jar:1.38.1]
	at io.grpc.internal.ClientCallImpl.access$300( ~[grpc-core-1.38.1.jar:1.38.1]
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal( ~[grpc-core-1.38.1.jar:1.38.1]
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext( ~[grpc-core-1.38.1.jar:1.38.1]
	at ~[grpc-core-1.38.1.jar:1.38.1]
	at ~[grpc-core-1.38.1.jar:1.38.1]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$ ~[na:na]
	at java.base/ ~[na:na]

Hmm I do not see any affect on the working of the worker though . so is it just the behavior of long polling that it throws an exception if nothing found ?

1 Like

Yes, this is the meaning of DEADLINE_EXCEPTION.

Alright! Stupid question why its an uncaught exception and why not just a normal INFO log about it ? :slight_smile:

Also just a small nit: it should be ‘Failed to activate jobs’ not ‘ Failed to activated jobs’ I think :slightly_smiling_face:

1 Like