bitplatform icon indicating copy to clipboard operation
bitplatform copied to clipboard

Reading another users log through User management causes SignalR message size error.

Open Kyemate opened this issue 3 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Describe the bug

More often then not when trying to read a remote log through user management it crashes with the message:

Microsoft.AspNetCore.SignalR.HubException: The server closed the connection with the following error: Connection closed with an error. InvalidDataException: The maximum message size of 32768B was exceeded. The message size can be configured in AddHubOptions.

Increasing the message size would be a temporary fix but I have gotten this error on a browser session less then 10s old.

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Kyemate avatar Oct 12 '25 20:10 Kyemate

Hello there! I'm a wiki 🤖.

Based on the content of this thread, I've found a potentially relevant wiki page for you!

View Wiki Page

I hope this helps!

github-actions[bot] avatar Oct 12 '25 20:10 github-actions[bot]

How many messages did it have?

ysmoradi avatar Oct 13 '25 06:10 ysmoradi

How many messages did it have?

It can be a varying amount of messages depending on the size of each message. Would a possible solution be to stream the response instead?

Kyemate avatar Oct 21 '25 11:10 Kyemate

It should be possible, using IAsyncEnumerable, let me check

ysmoradi avatar Oct 21 '25 13:10 ysmoradi