skip to Main Content
(31) 98739-9637

Error: Server returned an error on close: Connection closed with an error Blazor

I have increased the size for Singal R and that fixed the issue for now but this is not a proper solution.
services.AddSignalR(e => {
                e.MaximumReceiveMessageSize = 102400000;
            });

The proper solution is to implement your own hub between client and server and process in chunks and stick it together.

refer to : https://learn.microsoft.com/en-us/aspnet/core/signalr/streaming?view=aspnetcore-3.1

Fonte: https://stackoverflow.com/questions/60311852/error-connection-disconnected-with-error-error-server-returned-an-error-on-cl

Back To Top