-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor-browser connection disconnected, While upload the file above 1MB #11643
Comments
Generally allocating large buffers is not a good idea but the defaults can be overridden. https://docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1#buffer-management |
Hi @DAllanCarr , Thanks for your update, I have resolved the issue while increase the buffer size in startup.cs page. But this is not working in client side project.
Any other way to resolve the issue, without increase buffer size into startup.cs page ? Regards, |
Nulling this property will get around the artificial limit. But to be honest consider reducing message size which I understand may not be possible. |
Thanks for helping out here, folks. |
You can take a look at streaming and split the files into multiple payloads then stitch them back together on the other end |
Bug Description
I have upload the file more than 1MB into file uploader and i have facing browser server disconnected issue. please find the error details.
DOTNET Info
Regards,
Gopi G.
The text was updated successfully, but these errors were encountered: