The reason about the errors might be the SignalR message size limit which is 32KB. It's easy to exceed it when attching any image. Try add `builder.Services.Configure<HubOptions>(option => option.MaximumReceiveMessageSize = null);` in program.cs