Skip to content

Randomly getting "Could not verify network state" in Aspire console log #10018

@marius-codez

Description

@marius-codez

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Getting this logged in the console output:

info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 9.3.0+f76a033601ade4a17a422d5d1e4d004ab85e5179
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: C:\Users\MKvamm\source\repos\RIS\src\Ris.AppHost
info: Aspire.Hosting.DistributedApplication[0]
      Now listening on: https://localhost:17247
info: Aspire.Hosting.DistributedApplication[0]
      Login to the dashboard at https://localhost:17247/login?t=d07b8242977751a85acd0ce520547edb
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
fail: Aspire.Hosting.Dcp.dcpctrl.NetworkReconciler[0]
      could not verify network state    {"NetworkName": {"name":"default-aspire-network"}, "Reconciliation": 208, "Network": "default-aspire-network-ggnt42itbc", "error": "object not found\nnetwork not found"}

No actual problems as far as I can tell when running, it doesn't crash anything, but figured I'd report it anyway.

Setup: Latest versions of Aspire libraries, several project resources as well as a few other resources running in Docker such as ElasticSearch, SQL Server, RabbitMQ and Storage emulator.

Expected Behavior

No response

Steps To Reproduce

Not sure. I can't consistently reproduce the errors myself. It occurs occasionally.

Exceptions (if any)

No response

.NET Version info

PS C:\Users\MKvamm\source\repos\RIS\src> dotnet --info
.NET SDK:
Version: 9.0.301
Commit: a596cd22e2
Workload version: 9.0.300-manifests.07067f5b
MSBuild version: 17.14.5+edd3bbf37

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.301\

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.6
Architecture: x64
Commit: 3875b54e7b

.NET SDKs installed:
9.0.205 [C:\Program Files\dotnet\sdk]
9.0.301 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Anything else?

Visual Studio 2022 Professional 17.14.5

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions