aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Api service and Web App fail to start

Open Monte-Christo opened this issue 1 year ago • 6 comments

Type of issue

Code doesn't work

Description

[Enter feedback here] After completing the deployment, API service and Web App crash. The logs on Azure reveal for both components the error message:

You must install or update .NET to run this application.

It is not obvious which of the 100 steps must be adjusted to fix this failure.

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment?tabs=visual-studio%2Cinstall-az-windows%2Cpowershell&pivots=azure-bicep

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/deployment/azure/aca-deployment.md

Document Version Independent Id

1362fc62-686d-2b3f-c139-7725fc8dca5f

Article author

@IEvangelist

Monte-Christo avatar Jan 29 '24 22:01 Monte-Christo

Tagging @bradygaster on this one.

IEvangelist avatar Feb 01 '24 00:02 IEvangelist

@alexwolfmsft - do you know what this might be related to? Have you experienced it before?

IEvangelist avatar Feb 18 '24 12:02 IEvangelist

Hi @Monte-Christo - could you try to upgrade to preview-3 and report back if you're able to reproduce this.

IEvangelist avatar Feb 20 '24 16:02 IEvangelist

This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.

github-actions[bot] avatar Mar 03 '24 13:03 github-actions[bot]

Well, it took some time (I have a day job) but I was able to update all components and try again: no joy. This is my version of the Aspire SDK:

aspire 8.0.0-preview.4.24156.9/8.0.100 VS 17.10.34707.107

After deploying to Azure, I am getting the same error as before (see log entry attached). Maybe it is time to do some real investigating?

2024-03-20_13-03-41

Monte-Christo avatar Mar 20 '24 12:03 Monte-Christo

Hi again @Monte-Christo - if you're still seeing this issue, I don't believe it's a docs issue, but rather a product issue. Preview 7 just released last week, and the product officially goes GA next week with //build. That means support too. Curious if you're still seeing the issue, if so, I'll transfer this to dotnet/aspire.

IEvangelist avatar May 13 '24 16:05 IEvangelist