Skip to content

The service works well, but WebSockets seems to have a problem #1

@genifycom

Description

@genifycom

I took the service code and changed it to use WebSockets instead of a HubConnection.

The service starts up fine, and on the startup creates the Websocket

ClientWebSocket client = new();

In the OnStartCommand I try connecting the Socket to a wss endpoint

await client.ConnectAsync(new Uri("wss://mywssendpoint/"), cts.Token);

Interestingly, this line sits indefinitely. It does not appear to timeout or fail (e.g. in try-catch block).

This is with MAUI Blazor using .Net 7

Does anyone have any idea what might be wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions