microsoft / microsoft/aspire

Go AppHost Fails To Start

Open
#20,056 1 comment 1 reaction 3 assignees Claimed by @davidfowl View on GitHub
area-cli area-polyglot needs-area-label triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Attempting to start a Go AppHost fails when connecting through the backchannel with a timeout error.

### Expected Behavior

The apphost starts up.

### Steps To Reproduce

1. Create a new apphost using `aspire init` and selecting go
2. Run `aspire run` on that apphost, it will timeout on connecting.

### Exceptions (if any)

[cli_20260911T002854_dfadb61a.log](https://github.com/user-attachments/files/32081671/cli_20260911T002854_dfadb61a.log)

A log file, no exceptions however.

### Aspire doctor output

```plain
Aspire Environment Check
========================

Aspire
✅ Aspire CLI version 13.5.3 (channel: stable)
✅ Developer Control Plane (DCP) connection health checks succeeded

AppHost
✅ AppHost version 13.5.3 (apphost.go)

Container Runtime
✅ Docker: running (auto-detected (default)) ← active

Environment
✅ Operating system: Windows 10.0.26200.0
✅ HTTPS development certificate is trusted

Development Tools
⚠️ VS Code is installed, but the Aspire extension is not installed
Install the Aspire extension from the VS Code Marketplace for an integrated Aspire experience.
See: https://aka.ms/aspire/vscode-extension

Summary: 6 passed, 1 warnings, 0 failed
For detailed prerequisites: https://aka.ms/aspire-prerequisites

Aspire CLI Installations
========================

╭───────────────────────────────────────────────────────────────────────────┬─────────────────────────────────────────────────┬─────────┬───────────┬─────────────╮
│ Path │ Version │ Channel │ Route │ PATH status │
├───────────────────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────┼─────────┼───────────┼─────────────┤
│ C:\Users\Andrew\AppData\Local\Microsoft\WinGet\Links\aspire.exe (current) │ 13.5.3+b5f143315ffb6968ea939a9978797a5b20e4c688 │ stable │ (unknown) │ active │
╰───────────────────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────┴─────────┴───────────┴─────────────╯
```

### Anything else?

Go 1.26

I did test Python as well, and it starts up every time. No matter how many times I try with Go it fails with the same error. So this does seem like its exclusively a problem with Go app hosts.

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.