I just came across an interesting issue, I had a bug in my code that generated an invalid value for the Authorization header. This caused a very hard-to-debug issue where ConnectAsync would just block forever. Here's a minimum repro:
var client = new SocketIOClient.SocketIO("http://localhost:8080/", new SocketIOOptions
{
ExtraHeaders = new()
{
{ "Authorization", ":" }
}
});
await client.ConnectAsync();
Edit: this sounds a lot like #300 however I'm using .NET 9.0