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
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
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.10 GA FB [ Includes Aspire 8.0.0 and SDK 8.0.300 ]
- Apply NuGet darc-pub-dotnet-aspire Feed
- Install Docker Desktop for Windows
- Install azd [1.10.0-beta.1-daily.3787247]
REPRO STEPS
- Clone aspire-samples repo, checkout the
release/8.0branch - Open samples\OrleansVoting.sln
- Build
- Running (F5 / Ctrl+F5) with http
- Click on endpoint of any peoject
ACTUAL
Workaround
- Just refresh the page and it will work
NOTE
- Running with https works fine.
EXPECTED
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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