Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Console will be stuck in workflow sample #1191

Closed
MregXN opened this issue Nov 24, 2023 · 3 comments
Closed

[Bug] Console will be stuck in workflow sample #1191

MregXN opened this issue Nov 24, 2023 · 3 comments
Labels
area/workflow kind/bug Something isn't working
Milestone

Comments

@MregXN
Copy link
Member

MregXN commented Nov 24, 2023

Expected Behavior

The program exits gracefully when I press Ctrl + C.

Actual Behavior

Unable to terminate the generation of these logs

...
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.
...

Steps to Reproduce the Problem

dotnet run in ./examples/Workflow/WorkflowConsoleApp without dapr sidecar start.
Or terminate the dapr sidecar when the program is running.

@MregXN MregXN added the kind/bug Something isn't working label Nov 24, 2023
@cgillum
Copy link
Contributor

cgillum commented Nov 27, 2023

Which process are you killing with Ctrl+C? The dapr sidecar? If so, I think this behavior is expected. Here you can see that the app waits for the sidecar to become available. Even after this, the app is designed to run continuously.

@MregXN
Copy link
Member Author

MregXN commented Nov 28, 2023

Which process are you killing with Ctrl+C? The dapr sidecar? If so, I think this behavior is expected. Here you can see that the app waits for the sidecar to become available. Even after this, the app is designed to run continuously.

I cant exit the WorkflowConsoleApp even I press ctrl + C as long as I exit the dapr sidecar first. It gets stuck in my command line so I can't do anything else, which I'm sure isn't a great experience for other users either.

@halspang
Copy link
Contributor

Fixed with #1194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants