microsoft / microsoft/aspire-samples

[WebToolsE2E][Aspire] When running OrleansVoting using http, and then clicking the endpoint of any project, an unhandled exception occurs on the page: "Failed to start the transport 'WebSockets'".

Open
#277 2 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 branch (Aspire 8.0 P7)

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 GA FB [ Includes Aspire 8.0.0 and SDK 8.0.300 ]
  3. Apply NuGet darc-pub-dotnet-aspire Feed
  4. Install Docker Desktop for Windows
  5. Install azd [1.10.0-beta.1-daily.3787247]

REPRO STEPS

  1. Clone aspire-samples repo, checkout the release/8.0 branch
  2. Open samples\OrleansVoting.sln
  3. Build
  4. Running (F5 / Ctrl+F5) with http
  5. Click on endpoint of any peoject

ACTUAL

image

Workaround

  • Just refresh the page and it will work

NOTE

  • Running with https works fine.

EXPECTED

image

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 with samples\OrleansVoting.sln on the release/8.0 branch and reproduce the failure by running with HTTP and opening a project endpoint. Compare the HTTP and HTTPS behavior while inspecting the sample's startup and endpoint configuration. Done means HTTP endpoints load without the WebSockets transport exception or requiring a refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.