microsoft / microsoft/aspire

[AzureTools][Aspire] Succeed to start the Azure Function container with an error

Open
#7,557 5 comments 0 reactions 0 assignees View on GitHub
area-integrations azure azure-functions
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**Regression:** It is not a regression, this issue also reproduce on VS 17.13.2 with Aspire 9.0.0

**Clean machine:** Win11 x64 23h2 ENU
**VS Version:** VS 17.14.0 Preview 1.0 [35811.91.d17.14]
**Aspire Version:** 9.1.0
Apply NuGet Feeds
**Podman Desktop:** 1.16.1
**Podman CLI:** 5.3.2

**Repro Steps:**

1. Create a .NET 9 Azure Function project with Aspire 9.1.
2. F5 -> Click the stop button to stop **container** -> Click the start button to start container.
3. Check whether succeeds to start the container without any error.

**Expect:**
Succeed to start the container without any error.

**Actual:**
Succeed to start the container with an error.
Singleton lock renewal failed for blob 'vmenga1-1339047347/host' with error code 404: ContainerNotFound. The last successful renewal completed at 2025-02-12T07:56:52.235Z (18333 milliseconds ago) with a duration of 13 milliseconds. The lease period was 15000 milliseconds.
![Image](https://github.com/user-attachments/assets/91aa3e92-460f-4b2b-8aa3-8dfbeedc9d35)
![Image](https://github.com/user-attachments/assets/b52f948e-8f8d-4e70-93d3-4b1baaa06c6c)

**More Info:**
This issue also **reproduces** for .NET 8 isolated Azure Function project with Aspire 9.1.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.