Repository navigation
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Using aspire --version:
13.0.0-preview.1.25531.6+cadf5105da69cf971d6ff46972be98e0c7ed3108
Expected Behavior
The dashboard should load, and work like it always has.
Steps To Reproduce
Get latest daily builds, then:
aspire new aspire-py-starter -n AspireApp -o AspireAppcd .\AspireAppaspire run
Half the time it works, half the time it doesn't.
Exceptions (if any)
No response
.NET Version info
.NET SDK:
Version: 10.0.100-rc.2.25502.107
Commit: 89c8f6a112
Workload version: 10.0.100-manifests.4d32cd9e
MSBuild version: 18.0.0-preview-25502-107+89c8f6a11
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-rc.2.25502.107\
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.0-rc.2.25502.107
Architecture: x64
Commit: 89c8f6a112
.NET SDKs installed:
8.0.415 [C:\Program Files\dotnet\sdk]
9.0.306 [C:\Program Files\dotnet\sdk]
10.0.100-rc.2.25502.107 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-rc.2.25502.107 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25502.107 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.0-rc.2.25502.107 [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
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Anything else?
Here's the apphost.cs:
#:sdk Aspire.AppHost.Sdk@13.0.0-preview.1.25531.6
#:package Aspire.Hosting.NodeJs@13.0.0-preview.1.25531.6
#:package Aspire.Hosting.Python@13.0.0-preview.1.25531.6
var builder = DistributedApplication.CreateBuilder(args);
var app = builder.AddUvicornApp("app", "./app", "app:app")
.WithUvEnvironment()
.WithExternalHttpEndpoints()
.WithHttpHealthCheck("/health");
var frontend = builder.AddViteApp("frontend", "./frontend")
.WithReference(app)
.WaitFor(app);
app.PublishWithContainerFiles(frontend, "./static");
builder.Build().Run();
Browser console logs
blazor.web.js:1 [2025-10-31T21:14:49.794Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 [2025-10-31T21:14:49.808Z] Information: WebSocket connected to wss://localhost:17088/_blazor?id=FqjeUs8O2sQarragpQBf7A.
blazor.web.js:1 [2025-10-31T21:14:53.202Z] Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 (no reason given).'.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:53.206Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:14:55.533Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.533Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.534Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.534Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.534Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.534Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:55.813Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
blazor.web.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at xn.send (blazor.web.js:1:85718)
at _n._sendMessage (blazor.web.js:1:63346)
at _n._sendWithProtocol (blazor.web.js:1:63436)
at _n.send (blazor.web.js:1:63544)
at $o.beginInvokeDotNetFromJS (blazor.web.js:1:139676)
at w.invokeDotNetMethodAsync (blazor.web.js:1:5270)
at I.invokeMethodAsync (blazor.web.js:1:7059)
at app.js:353:22
at later (app.js:345:22)
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:57.890Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:14:58.167Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:58.167Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:58.168Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:58.168Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:58.168Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:14:58.168Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:15:00.208Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.208Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.208Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.208Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.209Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.209Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:00.506Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
:17088/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
blazor.web.js:1 [2025-10-31T21:15:04.895Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
send @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:04.895Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:04.895Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_startInternal @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:04.895Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
unhandledError @ blazor.web.js:1
startConnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:04.895Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:04.896Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 POST https://localhost:17088/_blazor/negotiate?negotiateVersion=1 net::ERR_CONNECTION_REFUSED
send @ blazor.web.js:1
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.211Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
send @ blazor.web.js:1
await in send
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.211Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
await in _getNegotiationResponse
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.211Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_startInternal @ blazor.web.js:1
await in _startInternal
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.212Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
unhandledError @ blazor.web.js:1
startConnection @ blazor.web.js:1
await in startConnection
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.212Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.212Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 POST https://localhost:17088/_blazor/negotiate?negotiateVersion=1 net::ERR_CONNECTION_REFUSED
send @ blazor.web.js:1
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
send @ blazor.web.js:1
await in send
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
await in _getNegotiationResponse
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_startInternal @ blazor.web.js:1
await in _startInternal
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
unhandledError @ blazor.web.js:1
startConnection @ blazor.web.js:1
await in startConnection
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:05.646Z] Information: Normalizing '_blazor' to 'https://localhost:17088/_blazor'.
blazor.web.js:1 POST https://localhost:17088/_blazor/negotiate?negotiateVersion=1 net::ERR_CONNECTION_REFUSED
send @ blazor.web.js:1
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:07.259Z] Warning: Error from HTTP request. TypeError: Failed to fetch.
log @ blazor.web.js:1
send @ blazor.web.js:1
await in send
send @ blazor.web.js:1
send @ blazor.web.js:1
post @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:07.260Z] Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_getNegotiationResponse @ blazor.web.js:1
await in _getNegotiationResponse
_startInternal @ blazor.web.js:1
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:07.260Z] Error: Failed to start the connection: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
_startInternal @ blazor.web.js:1
await in _startInternal
start @ blazor.web.js:1
_startInternal @ blazor.web.js:1
_startWithStateTransitions @ blazor.web.js:1
start @ blazor.web.js:1
startConnection @ blazor.web.js:1
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:07.260Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
unhandledError @ blazor.web.js:1
startConnection @ blazor.web.js:1
await in startConnection
reconnect @ blazor.web.js:1
_t.reconnect @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
blazor.web.js:1 [2025-10-31T21:15:07.260Z] Error: Error: Failed to complete negotiation with the server: TypeError: Failed to fetch
log @ blazor.web.js:1
attemptPeriodicReconnection @ blazor.web.js:1
Activity
eerhardt commentedon Oct 31, 2025
David Negstad (@danegsta) Karol Zadora-Przylecki (@karolz-ms) and I debugged this and it isn't a dashboard crash. The dashboard shuts down because DCP tells it to shut down. DCP tells it to shut down because DCP is gracefully shutting down, but we don't know why.
David Negstad (@danegsta) and Karol Zadora-Przylecki (@karolz-ms) are continuing to dig in to see why DCP shuts down, but the apphost and the aspire CLI stay running.
danegsta commentedon Nov 2, 2025
This was ultimately caused by uvicorn (a Python web server) sending a Ctrl+Break interrupt to the entire console group (which includes the dcp process) to indicate an app should restart instead of only to the child process group.
We’ve implemented a workaround by acknowledging, but ignoring Ctrl+Break interrupts in DCP on Windows. DCP runs forked in its own (hidden) console group, so there’s no meaningful way for a user to send it an interrupt on Windows anyway.
A new DCP build with the fix has been inserted into main and a backport to release/13.0 is in progress.
davidfowl commentedon Nov 2, 2025
Maybe we should also send a PR to uvicorn 😄