-
Notifications
You must be signed in to change notification settings - Fork 496
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
Aspire 9 preview 1 processes take long time to shut down #6437
Comments
See #6221 (comment), this should be fixed in later builds. |
Sounds good. The only thing different from that ticket is that I am also getting this for project resources and the dashboard as well. |
Can you reproduce this with a new started project? |
I just gave it a go on a new project by doing Shutting down the project worked fine there. I then added a node project and after that it caused the project resources to not stop correctly. My test repo is here, though it sounds like this problem is pretty well understood at this point https://github.com/jack775544/AspireStopBug |
Seems like the same problem. If you want to try out a newer build, you can try:
You'll get new templates with the fix. |
You should be able to switch back to the RC1 templates easily as well |
@jack775544 Can you confirm that using newer templates fixed the issue for you? |
@jsheetzmt Do you have the right feeds set up? https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md |
I have this for my nuget.config. Also tried https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json (updated dotnet8 to dotnet9) <?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="aspire" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
<packageSource key="aspire">
<package pattern="Aspire.*" />
<package pattern="Microsoft.Extensions.ServiceDiscovery*" />
</packageSource>
</packageSourceMapping>
</configuration> |
dotnet new install Aspire.ProjectTemplates::9.0.0-rc2* --force command isn't working but with the feeds setup, I can at least upgrade the packages using However, still have this error when attempting to build: |
I am out of town without a computer right now but I will be able to test it out next week. |
I have attempted to confirm this but I can't upgrade to the rc2 version as described, similar to the others in the thread. To rule out any local config I tried downloading the templates into a dotnet sdk docker container and got the same error.
|
Try out 9.1.0-* |
The instructions have been updated https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md |
Thanks for the help. I just tried it using version |
Thanks for confirming. Closing. |
Is there an existing issue for this?
Describe the bug
I have an Aspire project that contains a mix of container resources, executable resources (all running node) and project resources. After testing Aspire 9 preview 1, I have noticed that on shutting down the app host, the non container resources take a considerable time to shut down or in some cases, do not shut down at all. This also includes the dashboard process not shutting down as well.
In my project, I have no persistent resources.
Expected Behavior
After shutting down the app host, all services should be shut down.
Steps To Reproduce
Get-Process *dashboard*
(or the name of any other process being run by AspireGet-Process
again, some of the resources will be stopped but some will remain.Exceptions (if any)
No response
.NET Version info
Anything else?
I have seen this behaviour from running the AppHost from the command line and from Rider.
The text was updated successfully, but these errors were encountered: