microsoft / microsoft/aspire-samples

[WebToolsE2E][Aspire] After successfully deploying the StandaloneDashboard solution, the status of the ca-consoleapp container app is Failed: mainContainerCrashing.

Open
#219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-samples
Dominant language
C#
Stars
1.2k
Forks
345
Avg merge
3d 13h
Merged PRs (30d)
30

Description

REGRESSION INFO: Also repro on main + azd 1.8.0

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 5 [ Includes Aspire 8.0.0-preview.6.24214.1 ]
  3. Apply NuGet dotnet-tools Feeds
  4. Install Docker Desktop for Windows
  5. Install the latest azd [1.9.0-beta.1-daily.3712265]

REPRO STEPS

  1. Clone aspire-samples repo, checkout preview.6 branch
  2. Deploy using azd
    • Open the samples\StandaloneDashboard solution folder in a Command Prompt
    • Runing azd init, select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment name, press enter.
    • Run azd up to deploy to Azure
  3. Open the resource group, the ca-consoleapp container apps status is failed:mainContainerCrashing.

ACTUAL:
After deployment successful, go to resource group, the ca-consoleapp container apps status is failed:mainContainerCrashing
image
image

EXPECTED
The ca-consoleapp container apps status is successful.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the samples\StandaloneDashboard solution folder and reproduce the deployment with azd init followed by azd up on the preview.6 branch. Inspect the Azure resource group and the ca-consoleapp container app after deployment; done means its status is successful rather than Failed: mainContainerCrashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, docker
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.