Skip to content

SignalR: The server disconnected before sending a handshake response #26032

@mhardy

Description

@mhardy

I have a Blazor Server app that has been working perfect with a small group of 10 users. I'm hosting it on a B1 App Service Plan and using an Azure SignalR Standard Service with 1 Unit. I just rolled it out 200 people, and it only took a few dozen to cause hundreds of exceptions.
Memory never exceeds 60%, SignalR service has 120 max client connections, 16 max server connections.

I have SignalR debug logging enabled. Digging through the exceptions I'm seeing hundreds of these:

The server disconnected before sending a handshake response

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I can't reproduce the issue locally because it only occurs under load.

.NET Core 3.1
"Microsoft.AspNetCore.SignalR.Client" Version="3.1.8"
"Microsoft.Azure.SignalR" Version="1.5.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-signalrIncludes: SignalR clients and servers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions