Open
Description
In Blazor Server, when a JSInterop response is larger than the SignalR payload size, no information is available by default that indicates the invocation failed. You have to turn up the SignalR logs up to to Debug to see the actual error:
dbug: Microsoft.AspNetCore.SignalR.HubConnectionHandler[2]
Error when processing requests.
System.IO.InvalidDataException: The maximum message size of 32768B was exceeded. The message size can be configured in AddHubOptions.
SignalR calls Hub.OnDisconnectedAsync with this exception but Blazor does not do anything with the exception. Perhaps logging the exception with a higher log level would be helpful.
Metadata
Metadata
Assignees
Labels
This issue is related to the experience of Signal R and Blazor working togetherWork that is important, but not critical for the releaseThis issue impacts approximately half of our customersIncludes: SignalR clients and serversWill take up to half a day to completeThis issue represents an ask for new feature or an enhancement to an existing oneThis issue is related to JSInterop in BlazorThis label is used by an internal tool