dotnet / dotnet/aspnetcore

SignalR: Reconnecting event sends a null Exception object inside the handler.

Open
#29,447 4 comments 0 reactions 0 assignees View on GitHub
area-signalr
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Describe the bug
Hello,
I'm using Microsoft.AspNetCore.SignalR.Client 3.1.
I found the following Reconnecting event behavior:
in some cases, the Exception argument of the handler for this event is null.

### To Reproduce
When I reproduced this error, I stopped the server in VS and after that the Reconnecting event handler on the Client had an Exception object = null.
I've seen this several times, but in most cases the Exception object is not null, so it's hard to write exact steps to reproduce.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.