Skip to content

Terminating a program that utilizes durable task without launching dapr causes the program to hang #249

Description

This issue stems from an issue reported by a user in the dapr .NET SDK repository here: dapr/dotnet-sdk#1191

To reproduce the issue:

Pull down the dapr dotnet-sdk and navigate to the following directory: https://github.com/dapr/dotnet-sdk/tree/master/examples/Workflow/WorkflowConsoleApp

Run dotnet run and observe that the program starts.

Attempt to cancel the program with CTRL+C

Notice that the program never actually closes and the following logs are displayed endlessly:

...
info: Microsoft.DurableTask[3]
      The gRPC server for Durable Task gRPC worker is unavailable. Will continue retrying.
info: Microsoft.DurableTask[3]
      The gRPC server for Durable Task gRPC worker is unavailable. Will continue retrying.
info: Microsoft.DurableTask[3]
      The gRPC server for Durable Task gRPC worker is unavailable. Will continue retrying.
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions