Daprd 1.5.0 does not respond to shutdown API command down in a timely fashion on Windows. #3930
Labels
good first issue
Good for newcomers
kind/bug
Something isn't working
P1
size/XS
2 days work
triaged/resolved
Indicates that this issue has been triaged
Milestone
In what area(s)?
/area runtime
What version of Dapr?
1.5.0
Expected Behavior
On Windows 10 sending the POST HTTP shutdown command to
/v1.0/shutdown
should shut down thedaprd.exe
process in around 5 seconds.Actual Behavior
The sidecar does not shut down in a timely fashion unless the same command is re-executed and then it forcibly shuts down after 5 seconds.
Steps to Reproduce the Problem
With a clean installation of dapr 1.5.0 using
dapr init
on Windows 10, run the following command (assuming port 80 is an open HTTP port on the machine):Once it has started make an empty HTTP POST call to http://localhost:3500/v1.0/shutdown, wait 60 seconds then send the same call again to actually shut it down. The following log messages should be observed (with comments added prefixed by ##):
When doing exactly the same approach using dapr 1.4.3, the second POST call is not required and the following log messages are observed:
Release Note
RELEASE NOTE: FIX Bug in runtime. daprd does not respond to
shutdown
API command down in a timely fashion.The text was updated successfully, but these errors were encountered: