Not sure if I am missing anything but I have a code block like this
ManagedChannel channel = getManagedChannel(serverId);
var responseObject = ArtifactsGrpc.newBlockingStub(channel).
.withDeadlineAfter(5, TimeUnit.MINUTES)
.myGrpcOperation(requestObject);
But I am getting an error
“io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 4.991833115s. [closed=[], open=[[wait_for_ready, buffered_nanos=24207140, remote_addr=backend1/10.0.2.61:6565]]]
The weird part is the 5s (with jitter) in message, eveb uf U set tge deadkube to 5 minutes.