Skip to content

ClientWebSocket.ConnectAsync crashes on .NET 6  #5801

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

Activity

  1. added this to the One .NET milestone on Mar 30, 2021
  2. ghost locked as resolved and limited conversation to collaborators on Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions