Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

(CHAT) SignalR in scaleout environment #5427


User avatar
0
kyckradmin created

When the Portal is running with a single instance the SignalR can keep the connection normally because just there 1 node, but when the Portal is running in with multiple instances there is a problem with SignalR because we have more than one node. So a single instance of the portal works fine, but multiple instances of the portal do not work correctly, the chat feature becomes unresponsive as connections are being dropped.

Connections to SignalR start to drop as you can see in this screen shot. Scroll down to see the errors. [attachment=0:1e5qwp3r]SignalR_Issue_Cropped.png[/attachment:1e5qwp3r]


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You need to scale-out SignalR. Default version is not suitable for scale-out environment. I couldn't find a documentation for ASP.NET Core SignalR but there are some issues on GitHub related to this. You can check this one <a class="postlink" href="https://github.com/aspnet/SignalR/issues/991">https://github.com/aspnet/SignalR/issues/991</a>.