Skip to content

ClientWebSocket.ConnectAsync crashes on .NET 6  #5801

@pjcollins

Description

@pjcollins

Our ClientWebSocket test is failing on .NET 6. I'm not sure if this is an issue for dotnet/runtime or us to address, so I'll file it here now for further investigation.

Steps to Reproduce

var clientWebSocket = new ClientWebSocket();
clientWebSocket.ConnectAsync(new Uri("ws://echo.websocket.org"), CancellationToken.None).GetAwaiter().GetResult();
Console.WriteLine("WS State: " + clientWebSocket.State);

Log File

https://gist.githubusercontent.com/pjcollins/6e08f0e3b1681dd7a4fbc93e26443a6a/raw/e084f740cd487776832d0908cf08280f1daae26b/gistfile1.txt

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions