gRPC - GetStatusAsync throws DeadlineExceeded exception after cleaning EventStore #3761
Labels
action/requires more info
More information needs to be provided or the issue will be closed
kind/bug
Issues which are a software defect
subsystem/projections
Issues relating to the projections framework
Describe the bug
After cleaning and restarting the EventStore service (with 3 nodes) the calls to EventStore fails with DeadlineExceeded. Even with multiple retries, increasing the timeout for each call and waiting 30 seconds after EventStore is started does not resolve this issue.
To Reproduce
Steps to reproduce the behavior:
The line which makes this call is:
var projectionDetails = await _client.GetStatusAsync(name, userCredentials: new UserCredentials(userCredentials.UserName, userCredentials.Password), deadline: TimeSpan.FromMinutes(1)).ConfigureAwait(false);
Expected behavior
The status is returned so we can verify if the projections should be started/stopped.
Actual behavior
Sometimes an exception is thrown. The exception client side is DeadlineExceeded. See screenshot for the exception on the server side.
Config/Logs/Screenshots
The error log:
EventStore details
Additional context
Our final goal is to start with EventStore from scratch. And after EventStore has been started the system projection 'by_category' should be enabled. The other system projections should be disabled.
We've also tried to just make the call to disable/enable the projections without receiving the status first. This however resulted in the same exception.
The stacktrace on client side:
The text was updated successfully, but these errors were encountered: